Hi!
> i need to write a little RMI server which will be used
> by some entity beans. i wonder how the RMI server
> can register with the JNDI of jBoss?
> the problem is when to start the RMI server.
> i guess the starup sequence should look something like this:
>
> start the JNDI service
> start the RMI servers
> start jBoss.
>
> is this support by jBoss?
Absolutely. Make an MBean wrapper of your RMI server (use the
org.jboss.util.Info MBean as template). Then, in preRegister you simply do
your RMI server creation and registration code. Add your MBean to jboss.conf
(see other MBeans for examples on how this works). Done.
/Rickard
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]