Need a new corba-host-jee module
--------------------------------

                 Key: TUSCANY-2468
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2468
             Project: Tuscany
          Issue Type: Bug
            Reporter: Jean-Sebastien Delfino
             Fix For: Java-SCA-Next


In addition to host-corba-jdk, I'd like to have a host-corba-jee module for use 
in a JEE environment.

That module should just get the ORB to use from JNDI, as follows:
javax.naming.Context ctx = new javax.naming.InitialContext();
org.omg.CORBA.ORB orb = 
(org.omg.CORBA.ORB)javax.rmi.PortableRemoteObject.narrow(ctx.lookup("java:comp/ORB"),
 org.omg.CORBA.ORB.class);

This should work on all JEE servers, including JEE webapp environments.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to