We have implemented a data-driven interface to
our core EJB services (XML for instance.) If you are
coming in from a Corba client, then define a simple
IDL with tag/value structures for commands and responses.
And establish a contract between client and server on what is
expected on those tags (maybe something like an XML dtd).
Develop a parser on the server side to honor the contract, and
have the parser delegate calls to respective beans. Some of
your tags could be a hint to what bean and method is going to be
called. We have made some of our tags to be the same as the
fully qualified session bean class name so that we can use
introspection in the corba-ejb adaptor.
I cannot publish our IDL in this list, because it has not
been made public yet.
Javier Borrajo writes:
> CORBA-EJB is a must for us. At present we are asking all prospective EJB
> server
> vendors to detail their CORBA-EJB integration plans.
>
> Objectspace's Voyager supports bidirectional CORBA-EJB communication
> natively,
> i.e. you can write a CORBA client to talk to an EJB component and an EJB
> component
> to talk to a CORBA server. We have tested it and it works. It is great but
> of course
> it only works for their server.
>
> We would like very much to know details about your solution which maybe
> usefull if we
> do not use Voyager in the end...
> (sorry Graham, Walter... I _really_ like Voyager, you know that ;-)
>
> Best regards
>
> Javier Borrajo
> I+D Spain
>
>
> >The way I have done over here at Fujitsu was
> >to implement an Corba to EJB adaptor. That is
> >a middle layer that takes Corba calls, and delegates
> >to respective EJB session beans.
> >
> >Our Corba IDL interface is a meta-data driven
> >interface. That is, we use tags/value pairs to
> >indicate the session bean to be called, the method
> >on the session bean, and arguments. Really cool
> >stuff, as we no longer have to change IDL when
> >there is a change in a session bean interface, or
> >even Corba client interface. The interface is
> >data driven, just like XML.
> >
> >Rubens.
> >
> >John Kidd writes:
> > > Hello!
> > >
> > > Does anyone have example IDL code for a CORBA client interfacing with
> EJB?
> > >
> > >
> > > We want to implement our solution with EJB but use CORBA for
> communication because we will have different language
> > > clients.
> > >
> > > Any help will be greatly appreciated....
> > >
> > > Thank You!
> > >
> > > -John
> > >
> > >
> ===========================================================================
> > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > > of the message "signoff EJB-INTEREST". For general help, send email to
> > > [EMAIL PROTECTED] and include in the body of the message "help".
> > >
> > >
> >
> >===========================================================================
> >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> >of the message "signoff EJB-INTEREST". For general help, send email to
> >[EMAIL PROTECTED] and include in the body of the message "help".
> >
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".