Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

individual instance information - Long Running Process  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
g'day guys,

I have a Java app that has a servlet front end.
Within the app i have a long process that i am retrieving percentage information (within a while loop). -> Long Running Process, is basically what i am doing at the moment.
But if you run two version at the same time, both pages end up with the same information (percentage info jumps between where the two processes are up to).

What I'm chasing is a way of making this work with each visitor/instance getting individual information/feedback
How can i get the % info out of the while loop and into a JSP or servlet so the the user knows where they are up to.
Eventually i will have milestone class or servlet, for where each process is up to and this information will be fed back to the user.

I hope that this makes sense.


It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!