Re: Registering EJB's on the fly

2001-07-10 Thread Rafael Alvarez
Hello K.J., Yes, it's possible. If your bean is in "ejb/BeanB" and you want to put it in "ejb/BeanC" use: javax.naming.Context ctx=new javax.naming.InitialContext(); BeanBHome b = (BeanBHome) ctx.lookup("ejb/BeanB"); // ok, fine ctx.bind("ejb/BeanC",b); now: BeanBHome c

Registering EJB's on the fly

2001-07-10 Thread Koster, K.J.
Dear All, I'm wondering how I can register EJB's on the fly in Orion. Say I have a bean that is registered and known. As the program runs I decide I also want it registered under a different name in the JNDI registry. thus, in pseudo code: BeanBHome b = lookup("ejb/BeanB"); // ok, fine B