Hello Alex,

there is no CORBA support in jBoss build in by now.
We use a simple MBeans to create a name service for CORBA services. If You
are intrested I'll mail the code.

Andreas   

> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: 16 July 2001 08:17
> To:   [EMAIL PROTECTED]
> Subject:      [JBoss-user] CosTransactions.Current
> 
> Hello,
> 
> in the Borland Applicationserver i can get the
> org.omg.CosTransactions.Current doing the following:
> 
> 
> org.omg.CosTransactions.Current current;
> ....
> 
> // get a JNDI reference
> javax.naming.Context context = new javax.naming.InitialContext();
> 
> // use this to get an ORB reference
> org.omg.CORBA.ORB orb =
> (org.omg.CORBA.ORB)context.lookup("java:comp/ORB");
> 
> // use this to get the transaction current
> current =
> org.omg.CosTransactions.CurrentHelper.narrow(orb.resolve_initial_reference
> s
> ("TransactionCurrent"));
> 
> 
> Is there a way to do that in JBoss ?
> 
> Thanks.
> 
> Axel
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to