I have some questions regarding to caching homes and session beans in the remote client :

1- I already cache initicalcontext and homes in businness delegate, is it secure to cache the real session object as a static attribute in business delegate and reuse it across a long time ?

2- If i call the same session object instance simultaneously from two different threads it will serialize the business method calls?

I made this question because we use a satellite line between web and ejb layers (bank office and central bank site) and it takes 1,5 seconds to the cached home to just create the session facade bean.

if someone has any better approache, i'd appreciate.

Thanks in advance


xxxxxxxxxxxxxxxxxxxxxxxxxxxx
| Emerson Cargnin |
| Analista de Sistemas Sr. |
| Tel : (051) 3358-4959 |
| SICREDI Servi�os |
| Porto Alegre - Brasil |
|xxxxxxxxxxxxxxxxxxxxxxxxxx|



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to