Not sure if we are thinking about the same thing. I was thinking about embedding the EJB engine within a SE so that you can deploy annotated POJOs (EJB3) and leverage the EJB3 features (transactions, security, CMP, injection, etc...). For these POJOs to be invoked from the JBI bus, you need to marshall / unmarshall the xml messages to POJOs invocations and the reverse. This is what is actually done in jsr181 SE (or the CXF SE), but these do not leverage EJB features, so I was just thinking about embedding OpenEJB inside CXF and write the same kind of integration you would have inside a JEE5 app server for EJB3 / web services. One should be able to combine WS and EJB3 annotations to create a stateless EJB that could be exposed as a service on the JBI bus, and from this POJO, you could also use the CMP stuff to provide database access. If you do not put any annotations, it should behave the same way as before in jsr181 or CXF-SE.
So in my mind, OpenEJB is only used when the component is acting as a provider. Using CXF seeems a good idea for the marshalling / ws stuff for the following reasons: * this is the next version of xfire (there is no more development in xfire) * the OpenEJB / CXF integration has already been done in Geronimo 2.0somehow (no idea how reusable it is) Makes sense ? On 6/13/07, Eric Dofonsou <[EMAIL PROTECTED]> wrote:
Hello Guillaume I've looked at the OpenEJB and CXF module. TO my understanding this would be used to provide a ejb-consumer ONLY endpoint (I see no need for a provider). -OpenEJB would be used to handle the transaction and would provide an interface to marshall/unmarshall the message so they can be transported on the ESB. So my question is do you want to use CXF for this purpose ? ----- Original Message ---- From: Guillaume Nodet <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Tuesday, June 5, 2007 10:17:00 AM Subject: Re: Integrating OpenEJB as a SE in servicemix. I was really thinking that it could be done inside the new SE based on CXF. CXF would do the marshalling based on JAXWS while OpenEJB would provide transactions and access to EJB CMP from the main service POJO (stateless) ... On 6/5/07, Eric Dofonsou <[EMAIL PROTECTED]> wrote: > > > > > Hi guys, I was looking at a way to integrate open EJB as a service engine > in > servicemix. > > My main question is how do I go about exposing my EJBs in servicemix I > wanted to do this with XML (something like WSDL). But the convertion from > EJB to XML does not seem trivial. Do you guys here have any hint on how > this can be done ? > > > -- > View this message in context: > http://www.nabble.com/Integrating-OpenEJB-as-a-SE-in-servicemix.-tf3871967s12049.html#a10970148 > Sent from the ServiceMix - Dev mailing list archive at Nabble.com. > > -- Cheers, Guillaume Nodet ------------------------ Principal Engineer, IONA Blog: http://gnodet.blogspot.com/ ____________________________________________________________________________________ Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/
-- Cheers, Guillaume Nodet ------------------------ Principal Engineer, IONA Blog: http://gnodet.blogspot.com/