tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amber <ambe...@hotmail.fr>
Subject Re: OpenEJB testing REST services
Date Thu, 17 Apr 2014 07:08:31 GMT
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.

Mime
View raw message