Forums Register Login

InitialContext

+Pie Number of slices to send: Send
Hi...
I am trying to create a statefull session bean. Now I am confused how to define initial context property for the bean... as i am using InitialContext. I am using JBoss and EJB3.0.
And also I am confused whether ho i can use this session bean in different classes in a project...

Thanks In Advance...!!!


+Pie Number of slices to send: Send
Hi,
You must be using InitialContext to lookup for an existing object that is bound in JNDI tree.
If your JNDI lookup is going to be on the same server where you have deployed your Stateful bean then you just need to create an object of InitialContext.



Regards,
Amit
+Pie Number of slices to send: Send
Can anyone send me a link or a proper tutorial
how to get started with EJB3.0
which define to how to create xml and jndi.properties files

I am completely new to this thing........

thanks
I knew that guy would be trouble! Thanks tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 948 times.
Similar Threads
jndi settings for statefull session bean
Accessin a stateless session bean from a java client using WSAD
Back to front Entity bean generation in WebSphere 5.1
invoking ejb from jsp in websphere
Weblogic & CLOB
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 05:27:51.