[ 
https://issues.apache.org/jira/browse/TUSCANY-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wojtek Janiszewski updated TUSCANY-2468:
----------------------------------------

    Attachment: host-corba-jee-jira-2468-10-july.patch

Hi,
thanks for clues.

This patch adds:
1. host-corba-jee module (based on host-corba-jdk)
2. Tests for 1 (also based on host-corba-jdk, some removed, one added)

I've tested new module on Sun Java System Application Server Platform Edition 
9.0_01 (build b02-p01) in simple webapp with embedded Tuscany - it worked. 
In JUnit I've configured InitialContext (by jndi.properties) to use mock class, 
which provides ORB pointing to some manually started name server (from 
host-corba-jdk).

Thanks again,
Wojtek

> 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
>
>         Attachments: host-corba-jee-jira-2468-10-july.patch
>
>
> 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