[
https://issues.apache.org/jira/browse/TUSCANY-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612292#action_12612292
]
Wojtek Janiszewski commented on TUSCANY-2468:
---------------------------------------------
Now we have host-corba and host-corba-jdk. host-corba has interface,
host-corba-jdk has implementation of methods:
-registerServant
-unregisterServant
-lookup
-createORB
CORBA has pluggable architecture, so methods:
-registerServant
-unregisterServant
-lookup
will have the same logic, backed by plugged ORB. I'd like to move those 3
methods into host-corba module and make host-corba-jdk and host-corba-jee
modules to be ORB providers - so they'll have only createORB method.
Now method createORB has arguments: String host, int port, boolean server. I
assume that host-corba-jee should provide ORB provided by JEE environment and
ignore host, port arguments, even if they point to different ORB.
> Need a new corba-host-jee module
> --------------------------------
>
> Key: TUSCANY-2468
> URL: https://issues.apache.org/jira/browse/TUSCANY-2468
> Project: Tuscany
> Issue Type: Wish
> Components: Java SCA Misc Binding Extensions
> 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.