Giter Site home page Giter Site logo

study14's Introduction

Study14 README Contents

Research JAX-WS and JAX-RS


The flowchart with the WildFly application.

Java API for XML-Based Web Services (JAX-WS)
Jakarta RESTful Web Services (JAX-RS)

The sections of this project:

  1. WildFly Application Deploy
  2. XML-Based Web Services
  3. RESTful Web Services

Java source code. Packages in modules 'common', 'ejb', 'web':

module 'common' application sources: kp
module 'ejb' application sources: kp
module 'web' application sources: kp


Java API Documentation

Back to the top of the page


❶ WildFly Application Deploy

Action:

1. With the batch file "01 WildFly DeleteLog Startup.bat" start the WildFly server.
2. With the batch file "02 MVN clean install deploy WildFly.bat" build and deploy the application
on the WildFly server.
3. With the URL http://localhost:8080/Study14/ open in the web browser the 'home page'.

1.1. The 'home page' file index.html: HTML code, HTML preview


The screenshot of the home page.

1.2. The link to the WildFly Application Server Administration Console.

Back to the top of the page


❷ XML-Based Web Services

Action:

1. Go to page http://localhost:8080/Study14/
2. Select the link 'Web Services'.
3. On this 'Web Services' page push the button "Web Service".


Screenshot from 'Web Services' page controls.

The JSF page on the screenshot 'w_s.xhtml' uses the bean 'WsManagedBean'.

2.1. On the 'Web Services' page there are three links to the WSDL files:

2.2. The button "Web Service" executes the method 'WsManagedBean::researchWebService'.

The web service endpoint 'WebSe' is implemented as a stateless session bean:

The web service implementation is created from the WSDL document in the method Tools::createWebSeImpl.


Screenshot from 'Web Service' action.

Back to the top of the page


❸ RESTful Web Services

Action:

1. Go to page http://localhost:8080/Study14/
2. Select the link 'RESTful Web Services'.
3. On this 'RESTful Web Services' page push the button "RESTful Web Service".
4. On this 'RESTful Web Services' page click the link 'RESTful Web Service'.


Screenshot from "RESTful Web Services" page controls.

The JSF page on the screenshot 'r_s.xhtml' uses the bean 'RsManagedBean'.

3.1. The button "RESTful Web Service" executes the method 'RsManagedBean::researchRestfulWebService'.
The stateless session bean 'ReSe'.
The GET method 'ReSe::getText' for the service endpoint 'http://localhost:8080/Study14/rs/text/'.


Screenshot from 'RESTful Web Service' button action.


Screenshot from 'RESTful Web Service' link action.

Back to the top of the page


study14's People

Contributors

k1729p avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.