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
    BeanBHome c = lookup("ejb/BeanC"); // *agk!* fails
    jndi.register("ejb/BeanC", BeanBHome);
    BeanBHome c = lookup("ejb/BeanC"); // ah, now it works!

Is this possible?

    Kees Jan

================================================
 You are only young once,
       but you can stay immature all your life.


Reply via email to