-
1. Re: IDL from EJB?
silly_boy Feb 20, 2003 7:35 AM (in response to ahornby)Actually you don't have to find any problem just to compile yours ejb interfaces with rmic -idl option and then compile resulted idls with your idl compiler... In theory. I do not know the situation now, but half year ago we had problems to do it with mico.
Again, you will have a bunch of idl's so you will need to merge it and simplify a bit. If you are passing objects to ejbs you'll have even more idls to compile.
I have an article
"Enterprise JavaBeans Components and CORBA Clients: A Developer Guide" from SUN but I do not remember where I have downloaded it :-(((
Some comments about JBoss iiop... it's buggy (or maybe all another implementations I tried, but I use rmi/iiop to connect to my application and I tested it with Weblogic, AS7 and RI, but with JBoss 3.0x it crashed in some places... :-(
Anyway, JBoss is GREAT!!!
Cheers,
Silly -
2. Re: IDL from EJB?
lizzyma May 26, 2003 1:19 PM (in response to ahornby)This is the path to that document
http://java.sun.com/j2se/1.4.1/docs/guide/rmi-iiop/interop.pdf
I've been following it because I want to create a C++Corba client using TAO and a JBoss EJB Server. I'm trying to create a simple hello program. I created the EJB Server. I ran
rmic -idl -noValueMethods -classpath D:\jboss-3.2.1\client\jboss-j2ee.jar;. -d ./IDL hello.Hello hello.HelloHome
to generate the IDL files.
Tried to compile the IDL and got errors.
just wondering if anyone has managed get EJB and Corba talking. Even more particular JBoss and TAO -
3. Re: IDL from EJB?
reverbel May 30, 2003 11:57 AM (in response to ahornby)> Some comments about JBoss iiop... it's buggy (or
> maybe all another implementations I tried, but I use
> rmi/iiop to connect to my application and I tested it
> with Weblogic, AS7 and RI, but with JBoss 3.0x it
> crashed in some places... :-(
Could you test your app with JBoss 3.2.x? In case it still crashes, please submit a bug report at sourceforge.
Cheers,
Francisco -
4. Re: IDL from EJB?
reverbel May 30, 2003 12:05 PM (in response to ahornby)> just wondering if anyone has managed get EJB and
> Corba talking. Even more particular JBoss and TAO
The latest version of MICO includes three examples of C++ clients that call EJBs deployed in JBoss 3.2.x. I contributed the examples myself. These C++ clients are not tied to MICO in any way. They should run on any CORBA-compliant ORB with support to valuetypes and valueboxes. This includes most commercial C++ ORBs, but not TAO, which AFAIK does not support valueboxes yet. I believe that right now MICO is the only open-source C++ ORB with the required features.
To get the C++ examples, download MICO 2.3.10 from www.mico.org. The examples are in the subdirectory 'demo/interop/jboss' of the MICO distribution package. Once MICO is installed, they are placed under 'doc/mico/examples/interop/jboss' of MICO's installation tree.
Cheers,
Francisco