Hi All,
I want to trigger the threads in Java (exposed methods in Web-service). Now, when user requests comes from JEE, After all process done by request, then only response goes to the user. I want request back as soon as possible. The multiple threads triggered by request should run in back-end. Currently, request thread doing all the work and coming back. So response is too slow. Can I do something using Asynchronous and slow worker to get faster response and work should done by Java multiple threads not by request Thread.
This is my code:
client.java / tester
Publish.java publisher
StartNStop.java
StartStopInterface.java
Thanks All
Ramakrishna K.C
I want to trigger the threads in Java (exposed methods in Web-service). Now, when user requests comes from JEE, After all process done by request, then only response goes to the user. I want request back as soon as possible. The multiple threads triggered by request should run in back-end. Currently, request thread doing all the work and coming back. So response is too slow. Can I do something using Asynchronous and slow worker to get faster response and work should done by Java multiple threads not by request Thread.
This is my code:
client.java / tester
Publish.java publisher
StartNStop.java
StartStopInterface.java
Thanks All
Ramakrishna K.C