Hi,
Just trying to figure out a couple of things with meecrowave.
ex:
rootresource has:
@Override
public Set<Object> getSingletons() {
return Stream.of(new UserService()).collect(Collectors.toSet());
}
@Path("users")
public class UserService {
@GET
public Response get() {
....return somthing..
}
}
in tomee 7 it will contruct the UserService once.
In meecrowave twice...
/hw
--
Helge Waastad
- The Undelstad Cup Champion 2017
