The WebSphere Application Server Liberty Profile jaxws-2.2 feature, included in the extended content for the Liberty Profile, enables you to use EJB as a Web Services programming model. With this functionality, it is easy to develop web services applications based on EJB technologies on the Liberty profile.
This sample contains a server definition that includes the jaxws-2.2, ejbLite-3.1 and other necessary features. It also contains a demo application JAXWSEJBSample.ear, which demonstrates EJB as Web Services features supported by the Liberty profile.
This sample can be installed onto runtime versions 184.108.40.206 and later.
Online installation (requires 220.127.116.11 or later):
installUtility install JAXWSEJBSample
Any missing features required by the server will be installed for you.
JAXWSEJBSample.jarusing the download button at the top of the page and place it in the root of your server installation.
java -jar JAXWSEJBSample.jar
Any missing features required by the server will need to be installed separately.
To run the JAXWSEJBSample application:
bindirectory in the Liberty profile installation:
server run JAXWSEJBSample
CWWKZ0001I: Application JAXWSEJBSample started in XX.XX seconds.
This sample requires a Liberty Profile installation that includes the jaxws-2.2 feature. The jaxws-2.2 feature is available as part of the Liberty Profile extended content.
JAXWSEJBSample.ear file contains the source and binaries for the application, and can be used to import it to Eclipse.