@GET
public MethodResponse handleOnOtherResource(@Context WebRequest request, @Context UriInfo uriInfo) throws ResourceMethodException {
Object resource = new MyResource2();
MethodResponse methodResponse = null;
Map<String, String> parameters = new HashMap<String, String>();
new RootResourceExecutorImpl().execute(request, resource, "", parameters);
parameters = new HashMap<String, String>();