0 Replies Latest reply on Feb 20, 2002 10:47 AM by Nikolaj G.

    "Easy to use" bean connector class... howto?

    Nikolaj G. Newbie

      Hi there,

      I want to make an easy bean connector class that I can use dynamically, like:

      BeanConn mrbean = new BeanConn("MrBean");

      , instead of:

      InitialContext ctx = new InitialContext();
      MrBeanLocalHome home = (MrBeanLocalHome) ctx.lookup("java:comp/env/ejb/MrBean");
      MrBeanLocal mrbean = home.create();

      Howto? Thanks