background image
<< Generating Stubs | Templates for Stub Generation - COM/VB >>
<< Generating Stubs | Templates for Stub Generation - COM/VB >>

Templates for Stub Generation - EJB

Stubs
21
Templates for Stub Generation
EJB
The following table lists the templates used to generate stubs for the home interface,
remote interface, and implementation class.
The following table lists the templates used to build the method body in the EJB's
implementation class. The template that is used depends on the particular method.
Template
Description
Session_Home.template
Template used to generate the stub for an EJB
home interface.
Session_Remote.template
Template used to generate the stub for an EJB
remote interface.
Session_Bean.template
Template used to generate the stub for an EJB
implementation class.
Template
Description
MethodBodyWithoutLookUp.template
Template used when lookup code cannot be
generated, either because:
s
The method has no parameters
s
The method has no return value or
exceptions
s
The method contains at least one complex
parameter and lookup code cannot be
generated automatically.
MethodBodyWithoutExceptions.template
Template used when the method throws no
exceptions.
MethodBodyWithoutReturnValue.template
Template used when the method has no return
value (for example, returns void).
MethodBody.template
Template used for all other methods.