Hi Group,
I am using SiteMesh in an application which also provides some JAX-RS restful endpoinds and I am testing it on Glassfish 3.1.2.
The REST endpoint is mapped to the ApplicationPath "/api":
@ApplicationPath("/api")
public class RestApp extends Application {
}
And I have a JAX-RS annotated class which provides a GET path under "/test"
@Path("/test")
@Stateless
public class RestEndpoint {
@GET
public String test() {
return String.valueOf(db.getDbc().getDbInfo().getDocCount());
}
}