J2EEC — Utility for Creating Stubs and Ties for a JAX-RPC Web Service
Availability
J2EE 1.4 reference implementation.
Synopsis
j2eec [-keep | -keepgenerated ] [-o output] module
Description
j2eec is a command-line utility that is part of the J2EE reference implementation. It accepts a deployable J2EE module and creates a JAR file containing some or all of the following:
Client-side stubs for EJBs that have a remote interface
Client-side stubs for web services
Server-side ties for web services
A
sun-j2ee-ri.xmlfile containing information that can be used by containers into which the original module is deployed
The newly created JAR file can be used as follows:
To deploy the original module to a J2EE RI application server using the
-deployGeneratedModuleoption of the deploytool command (discussed later), without incurring the overhead of stub and tie generation. This technique may be useful if you need to deploy the same module to more than one server.As the stubs file when running a J2EE application client using the
runclientutility, as described in Section 6.4. If the client JAR file containsservice-refelements referring to web services deployed in the server, thesun-j2ee-ri.xmlfile contains the information that the client container needs to bind a generatedServiceobject that can be used to access the service in the application’s JNDI environment at runtime.
Options
The behavior of the j2eec command is determined primarily by the deployment descriptors provided in the J2EE module supplied ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access