Chapter 3. Create a SOAP based web service implemented by an EJB component
3.1.
Create a web service starting from a WSDL file using JAX-WS
3.1.1.
Use wsimport
tool to generate artifacts and use customization files for wsimports if needed
blah-blah
3.1.2.
Create an EJB web service implementations using annotations (@Stateless
or @Singleton
)
blah-blah
3.1.3.
Configure deployment descriptors (ejb-jar.xml
, webservices.xml
) for transactions, etc.
blah-blah
3.1.4.
Configure container role based access control via method-permissions in ejb-jar.xml
or via access
control annotations on EJB.
blah-blah
3.1.5.
Configure caller authentication and message protection; either by Servlet Container via web.xml
, and/or
by JAX-WS message processing runtime.
blah-blah
3.1.6.
Compile and package the web service into a EAR/WAR file (Java EE 6 - WAR can also have EJBs).
blah-blah
3.1.7.
Deploy the web service into a Java EE container.
blah-blah