Is there any way to register a JSP-invoked bean (or other class) with
the rmiregistry so that its methods can be invoked via RMI?

Since the bean runs under the web server's JVM, I don't see how to do
this, and perhaps it isn't possible; but it seems a shame.

My situation is that I have the JSP-invoked bean call an application
server (in a different JVM) via RMI.  That works fine.  However, sometimes
I need the application server to initiate the communication.

Of course, I can have the application-server call the bean via http and the
web server, but the asymmetry strikes me as ugly.  There are other
possible hacks too, one of which I will use unless someone here takes me
out of my misery.

BTW, there are good reasons for my running the application server
in a separate JVM, rather than as a JSP web application.  I won't
go into the reasons, but they exist.

Cheers,
Sidney Bailin
Knowledge Evolution, Inc.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to