pojo-deployment: similar to ejb-deployment but for other managed bean. ATM mainly only jaxrs configuration but potentially CDI (surely a bad exemple today but makes thing explicit hopefully)
query: mainly for cmp (so not that important), it is to be able to add queries without changing existing openejb-jar.xml. Think at some point we maybe used it to backed cmp by jpa but today it is no more the case Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-07-23 13:17 GMT+02:00 Alex Soto <[email protected]>: > Also I am wondering what is the purpose of having query element in > openejb-jar.xml, if queries are defined in ejb-jar.xml, why you should > define in openejb-jar.xml? I mean I can understand other tags for mapping > ejbs to container but in case of queries I don not see the advantage. > > > 2014-07-23 13:10 GMT+02:00 Alex Soto <[email protected]>: > > > One question which I have not seen any documentation about it, what is > the > > purpose of pojo-deployment element in openejb.jar.xml file? > > > > > > 2014-07-22 17:06 GMT+02:00 Romain Manni-Bucau <[email protected]>: > > > > openejb-jar.xml is important. service-jar is not that much for a everyday > >> manual (nice as advanced knowledge) > >> > >> > >> > >> Romain Manni-Bucau > >> Twitter: @rmannibucau > >> Blog: http://rmannibucau.wordpress.com/ > >> LinkedIn: http://fr.linkedin.com/in/rmannibucau > >> Github: https://github.com/rmannibucau > >> > >> > >> 2014-07-22 15:51 GMT+02:00 Alex Soto <[email protected]>: > >> > >> > I found this > >> > > >> > > >> > https://github.com/apache/tomee/blob/trunk/container/openejb-core/src/main/resources/schema/openejb-jar.xsd > >> > but I was wondering for something more like manual. But of course I > can > >> use > >> > it as well. > >> > > >> > > >> > 2014-07-22 15:47 GMT+02:00 Alex Soto <[email protected]>: > >> > > >> > > So do you think I may skip explaining both, or only server-jar? > Where > >> I > >> > > can find more info of openejb-jar.xml? > >> > > > >> > > > >> > > 2014-07-22 15:03 GMT+02:00 Romain Manni-Bucau < > [email protected] > >> >: > >> > > > >> > > Hi > >> > >> > >> > >> today service-jar shouldn't be seen by the user anymore (it was > >> before > >> > we > >> > >> support class-name and few other tags on <Resource />) > >> > >> > >> > >> openejb-jar.xml main goal is to complete ejb-jar.xml for ejb config > >> and > >> > >> for > >> > >> jaxrs for instance configure the application (cxf specific config > >> mainly > >> > >> or > >> > >> provider configuration if you don't use auto scanning or > programmatic > >> > >> solution) > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> Romain Manni-Bucau > >> > >> Twitter: @rmannibucau > >> > >> Blog: http://rmannibucau.wordpress.com/ > >> > >> LinkedIn: http://fr.linkedin.com/in/rmannibucau > >> > >> Github: https://github.com/rmannibucau > >> > >> > >> > >> > >> > >> 2014-07-22 13:52 GMT+02:00 Alex Soto <[email protected]>: > >> > >> > >> > >> > Hi guys, > >> > >> > > >> > >> > I am writing a document about how to configure Apache TomEE. I > have > >> > >> almost > >> > >> > finished but I have one question related to two configuration > files > >> > >> that I > >> > >> > have not found so much information. These files are > service-jar.xml > >> > and > >> > >> > openejb-jar.xml. > >> > >> > > >> > >> > For the first one I have read the one provided by Apache TomEE > and > >> I > >> > >> > understand exactly the purpose of that file. But I am not pretty > >> sure > >> > >> why > >> > >> > this file should worry final user, I mean now I cannot imagine a > >> use > >> > >> case > >> > >> > where final user may require to create its own service-jar.xml. > >> > >> > > >> > >> > On the other side there is openejb-jar.xml, probably because I > have > >> > >> always > >> > >> > used annotations approach and not required really complex logic I > >> have > >> > >> > never used this file. What is exactly its purpose? > >> > >> > > >> > >> > Thanks > >> > >> > > >> > >> > Alex. > >> > >> > > >> > >> > -- > >> > >> > +----------------------------------------------------------+ > >> > >> > Alex Soto Bueno > >> > >> > www.lordofthejars.com > >> > >> > +----------------------------------------------------------+ > >> > >> > > >> > >> > >> > > > >> > > > >> > > > >> > > -- > >> > > +----------------------------------------------------------+ > >> > > Alex Soto Bueno - Computer Engineer > >> > > www.lordofthejars.com > >> > > +----------------------------------------------------------+ > >> > > > >> > > >> > > >> > > >> > -- > >> > +----------------------------------------------------------+ > >> > Alex Soto Bueno - Computer Engineer > >> > www.lordofthejars.com > >> > +----------------------------------------------------------+ > >> > > >> > > > > > > > > -- > > +----------------------------------------------------------+ > > Alex Soto Bueno - Computer Engineer > > www.lordofthejars.com > > +----------------------------------------------------------+ > > > > > > -- > +----------------------------------------------------------+ > Alex Soto Bueno - Computer Engineer > www.lordofthejars.com > +----------------------------------------------------------+ >
