Yes, what you are asking makes complete sense. CORBA front-ends for stateless 
session beans are very useful in the scenario you described. Putting an IDL 
interface in front of an SLSB is the way of circumventing the oddities of the 
reverse Java-to-IDL mapping and making the SLSB more conveniently accessible to 
CORBA clients written in other languages.

You can write a service MBean whose start method instantiates a CORBA servant, 
registers the servant with a POA, and binds the corresponding CORBA reference 
into a CosNaming context to make it available to remote clients. You can 
register the servant with the root POA or you can create a new POA for your 
servant, with the POA policies of your choice.

It should be possible to write a generic service MBean to do this. The name of 
the servant class and the CosNaming name of the CORBA object would be 
configurable attributes of the MBean. 

Regards,

Francisco

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872981#3872981

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872981


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to