aspose file tools
The moose likes EJB and other Java EE Technologies and the fly likes bind CORBA objects without CosNaming Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "bind CORBA objects without CosNaming" Watch "bind CORBA objects without CosNaming" New topic
Author

bind CORBA objects without CosNaming

D Rog
Ranch Hand

Joined: Feb 07, 2004
Posts: 471
I use JBOSS and have the following problem:
1. if I use default JNDI and trying to bind references to CORBA object, then I get an exception that CORBA object is not serializable (it's in com.sun... package so I can't make it so)
2. if I use CosNaming then JBOSS can't bind own objects since they need to be CORBA.Object inherited.
So, what is a solution? I thought about wrapping an object around CORBA ref and make it serializable and bind using non CosNaming JNDI provider, however it looks ugly. What's other approach can be appropriate?


Get power of your iPod with MediaChest | Minimal J2EE container is here | Light weight full J2EE stack | My blog | Co-author of "Windows programming in Turbo Pascal"
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: bind CORBA objects without CosNaming
 
Similar Threads
Check out the qtns for Part I
Singleton in EJB
JNDI, xxx is already bound
Creation of objects and serialzation
what kind of object can be bound to JNDI?