hi!
thanx for your respond Rickard!
uhm, i just wonder how to access the service in the ejb?
what for a JNDI name do i have to use?
whould the following be correct:
InitialContext ctx = new InitialContext();
Object ref = ctx.lookup(":service=LCSingleton");
thanx for your help in advance.
yours,
lars
Am Sonntag 12 November 2000 13:47 schrieben Sie:
> 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]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]