Bean methods are synchronized as per the spec, that's why containers usually pool multiple bean instances in order to deal with simultaneous requests.
----- Original Message ----- From: "Emerson Cargnin - SICREDI Servi�os" <> To: <[EMAIL PROTECTED]> Sent: quarta-feira, 23 de outubro de 2002 19:23 Subject: Re: [JBoss-user] [JBoss-dev] question about caching session beans in the web layer > > > Bill Burke wrote: > > 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. > > the main issue is about making the client invocations to be serialized > through the session bean. are the methods of the proxy sinchronized ? > > > > > > 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 > > > > > -- > 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 > ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd522.html _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
