Your use case is valid and close to what we do in cxf-rs module for tests. Not sure why we didn't get this side effect too.
Maybe try today's snapshot, it should work Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-04-17 9:08 GMT+02:00 amber <[email protected]>: > Ok , I sould remove this dependency so. > > > About mixing, what I want to do is a layer with REST services (and their > tests) that uses a business layer (EJB 3) : > > @Path("foorest") > @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) > @Consumes({ "application/xml", "application/json" }) > @Stateless > public class FooRest { > > @EJB > private Foo foo; > > ... > } > > > I don't find a sample to do that (there is rest-on-ejb but it use lookup). > > thx for your patience Romain ^^ > > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/OpenEJB-testing-REST-services-tp4668791p4668839.html > Sent from the OpenEJB User mailing list archive at Nabble.com.
