Hi,

I have simple question. I write a standalone client app with Swing GUI and it 
uses heavily the methods of session bean via RMI. No wanting to lookup in JNDI 
for remote interface to bean every time a need a method invocation I will try 
to store reference to interface in global class and just use it everytime I 
want to use bean. Is it good idea or not? Is it common pracitce in J2EE apps?

Could the live reference to bean on the server time out?

Should I "close" or "dispose" the reference or object created by home 
interface? I want to use bean. Is it good idea or not? Is it common practice in 
J2EE apps?


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862210#3862210

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862210


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to