+1
On 04/08/2014 23:12, Romain Manni-Bucau wrote:
2014-08-04 23:07 GMT+02:00 Alex Soto <[email protected]>:
Hi guys
I have some questions about which behaviour is implemented because of
specification and which because it is something it offers Apache TomEE.
Let me bulletize the three behaviours:
* if you requires a datasource that it is not created, one is created from
scratch with default values and required name.
TomEE (from testing use case)
* if I create a MDB and no Queue is configured, one Queue is autocreated
with the name of the MDB. Same happens when @Resource("xxx") Queue q; is
used and no queue has been configured previously.
same
* I can use @Path or @WebService in EJB and I don't need to create a class
that extends Applications (jaxrs) nor configuring web.xml in case of web
services.
both (spec uses MAY and not MUST)
I am not against this features, in fact I found them really useful for
quick prototyping, only to get things clear and not to write things that
are not true :).
Thank you so much,
Alex.
--
+----------------------------------------------------------+
Alex Soto Bueno
www.lordofthejars.com
+----------------------------------------------------------+
--
Andy Gumbrecht
http://www.tomitribe.com
[email protected]
https://twitter.com/AndyGeeDe
TomEE treibt Tomitribe! | http://tomee.apache.org