Hello,
I am using JBoss 4.0.5.GA (application server) to host several
EJBs (3.0), and have now run into a problem with trying to bridge
together a client / server architecture. I am on deck to develop a
server to manage multiple CORBA clients. Starting from a hand-crafted
IDL file, I am responsible for implementing / manaing the server-side
code while another developer works on the client side. I am using the
idlj compiler to generate the server-side files, along with rolling my
own server servant to handle the clients. Clients connect to the
server via a "subscribe" method and disconnect with an "unsubscribe"
method.
Now, I have been able to run this server side implementation by firing
up orbd in separate command window, followed by opening another
command window to start up the server. However, migrating such into
JBoss seems to be a daunting task. I have read over the JBoss
documentation on how CORBA/IIOP invokers can access EJBs, but how does
the EJB know to follow an IDL file? The CORBA clients are expecting a
server to implement the IDL file and now, JBoss is basically saying
dump the IDL file and just supply an EJB with the IIOP invoker
specified in the ejb-jar.xml file.
Backing up to the overall design, this JBoss server also acts a
message listener (using JMS). When messages arrive, the server should
enumerate over the current set of connect clients and invoke a
callback on them about the message that just arrived. I have been
able to do this portion with the CORBA server running in a standalone
application but since I need it in JBoss, I have been unsuccessful on
my attempts.
Any help would be greatly appreciated.
Thanks,
Michael


|