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.