Hi All,
I want to test a simple EJB on SAP J2EE Engine.
I have three files
a)HelloRemote ==>Remote interface
b)Hello ==>Business Logic
c)HelloHome ==>Home interface
Can you tell me how many deployment descriptors are required for this.
My deployment descriptor is ejb-jar.xml
The contents are as follows:
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar>
<enterprise-beans>
<session>
<ejb-name>Hello</ejb-name>
<home>HelloHome</home>
<remote>HelloObject</remote>
<ejb-class>HelloBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>Hello</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
Can i get the steps which are required to deploy this bean.
Also i want to test this bean with client (Standalone java program).
Here how should i feel the Properties
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY, "com.inqmy.services.jndi.InitialContextFactoryImpl");
Please advise.
Regards
Manoj