NonStop SOAP for Java User's Manual

Using the Administration Tools
NonStop SOAP for Java User’s Manual523860-001
5-17
Deploying a Stateless Session Bean
Deploying a Stateless Session Bean
Table 5-1 deploys a stateless session bean called TranslatorBean which is a sample
provided with the NSEJB product. Type the following information in the form (refer to
the Apache SOAP Admin Screen on page 5-12.
The ID must be unique, see the Service Deployment Information on page 5-12.
The Scope should be set to Application.
The Methods in the NSEJB that need to be exposed are listed in the Methods field.
The Provider Type must always be User-Defined.
Since the TranslatorBean is a Stateless Session bean, the value of the FULL Class
Name field must be com.tandem.soap.providers.StatelessNSEJBProvider.
The Number of Options while deploying NSEJBs as Web services MUST be 4.
Option 1: Key : FullHomeInterfaceName
Value: TranslatorHome (This must be the Home class of the NSEJB)
Option 2: Key : JNDIName
Value : TranslatorSample (This must be the JNDI name specified at EJB
deployment)
Table 5-1. Deploying Stateless Session Bean
ID urn:Translator
Scope Application
Methods translate
Provider
Type
User-Defined
FULL
Class
Name
com.tandem.soap.providers.StatelessNSEJBProvider
Number
of
Options
4
Key Value
FullHomeInterfaceName TranslatorHome
JNDIName TranslatorSample
ContextProviderURL corbaloc://ip-address-of-NSK-system:ILSD_port
FullContextFactoryName com.tandem.nsdom.jndi.CosNaming.CNContextFactory
Java
Provider
Provider Class
Translator
Static No
Note. The order in which the options are entered have no significance.