Hi,
I have a problem. I wish to add resource dynamically to alredy running
grizzly server. my code is:
public static void main(String[] args) throws IOException {
final Map<String, String> initParams = new HashMap<String, String>();
initParams.put("com.sun.jersey.config.property.packages",
"workflow.resources");
System.out.println("Starting grizzly...");
threadSelector = GrizzlyWebContainerFactory.create(
baseUri, initParams);
System.in.read();
threadSelector.stopEndpoint();
System.exit(0);
}
I need to add new root resource (generated in different application)
without restarting server is it possible?
Sorry for my english.
Andy