Hi To be portable you need it but we dont force it Le 24 nov. 2013 14:52, "ZhongGuan" <guanzh.em...@gmail.com> a écrit :
> Hi > I remember that JAX-RS needs some config, web.xml or subClass of > Application. > But, just now, I just add a Class with @Path and a method with @Get > @Produces without any config. > I do not add beans.xml or add EJB Annotation to this Class. It still works > in TomEE+1.5.1. > Is the config of JAX-RS unnecessary? > > Thanks. > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/JAX-RS-does-not-need-any-config-in-TomEE-tp4666361.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >