What sequence of calls is actually slow? loop---- 1. home = jndi.lookup(..) 2. Bean bean = home.create() 3. bean.executeSomeMethod() endloop
If you're doing steps 1-3 continuously, RMI is establishing a connection twice, and establishing a connection is very slow. Everytime RMI gets a new proxy from the server, it must establish a new connection. RMI seems to only cache the connection per proxy instance. Try the PooledInvoker. (search jboss-dev emails...) Bill > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Emerson > Cargnin - SICREDI Serviços > Sent: Monday, November 18, 2002 4:41 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] any case of jboss using satellite lines? > > > Is there anyone that used client going through satellite line (with > delay of 1.2 seconds round-trip) ???? > -- > 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: 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/rd524.html > _______________________________________________ > 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/rd524.html _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user