not sure how safe it is to cache. Not sure if RMI would handle it well if server went down and came back up. That's the only issue. Try it out.
Bill > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:jboss-user-admin@;lists.sourceforge.net]On Behalf Of Emerson > Cargnin - SICREDI Serviços > Sent: Wednesday, October 23, 2002 4:14 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] [JBoss-dev] question about caching session beans > in the web layer > > > 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-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > ------------------------------------------------------- > 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 ------------------------------------------------------- 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