I have a stateless session bean. Inside this bean, I have multiple ejb methods
that the client app can invoke. The client invokes my ejb methods by doing a
i) JNDI lookup of the EJB
ii) EJBHome.create
iii) invoke the ejb method on the remote
The client does not call the EJBObject.remove() method explicitely. I have a
couple of questions:
1) Should my client explicitely call the EJBObject.remove() method as a (iv)th
step above.
2) Can my client do the steps (i) and (ii) above once in the initialize() part
of my client class and use the remote object through out the class instead of
doing all the above 3 steps everytime?
It is not very clear from looking at the EJB 2.0 spec to me.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915429#3915429
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915429
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user