----- Original Message ----- From: "Sven A" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Sunday, October 26, 2008 2:40 PM
Subject: Tomcat 5.5 and RMI



Hi,

I'm looking at options in running our standalone RMI application within a
servlet container since we're planning to build support for http. I'm
currently testing our app on Tomcat 5.5 and my question is if Tomcat by
default actually dispatch incoming RMI calls to different threads. Looking
at the server stats in Tomcat manager it doesn't seem to be the case in
terms of active number of threads etc.

My second question is if there are servlet containers out there that has
support for RMI connectivity and can dispatch incoming requests.

Thanks
S

Been there, done that ;)
Look at the link below...

eg I drop library (jar) into (harbor) "servlet" repository...

remote apps call it like this... in this case the class is called Factory, could be anything...

i_Factory = (I_Factory)vessel.loadRemoteClassInst(I_Factory.class,"net.uitestapp.Factory");//load a class instance ON the harbor

i_Factory.DoSomeThing("Hello World"); // etc etc local call against remote class

The calls are HTTP based...  no firewall problems...
Because HTTP every call is on its own thread...

If you want to share the class on multiple http threads... do the above with this call... loadRemoteSingleton

... combining remote apps with servlets and web services etc is all possible and easy.

And if you want to launch Swing apps or just the UI side of swing apps from tomcat and then make that talk to classes in tomcat, also very easy.
Its like Flex on steroids ;)

In the mailing lists we blabbing on about the financial crisis, ignore that.... Harbor hasnt fixed that yet ;)

Enjoy...

---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---------------------------------------------------------------------------
If you cant pay in gold... get lost...
http://coolharbor.100free.com/debt/usadebt.htm



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to