0 Replies Latest reply on Jul 17, 2013 10:29 AM by dzcs

    Accessing CORBA interfaces from Session Bean

    dzcs

      Dear All,

       

      we need to access some old CORBA interfaces from within session bean. What would be the right way? It is certainly not a good idea to use in methods something like this:

       

        Properties p = new Properties();

          p.put("org.omg.CORBA.ORBClass", "SomeORBImplementation"); //of course using Jacorb classes

          ORB orb = ORB.init(args, p);

       

      because the connection and provider will be initialized each time the method called.

       

      If you already solved this problem in your solutions we would appreciate if you would share your experience.

       

      Thank you in advance!