Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How I need to submit information to a sevlete repeatedly

 
Sarath Mohan
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have to submit a set of information to a servlet repeatedly at specific time intervals?


How do I do this? URLConnection? or thru any other technology

Regards
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could...

But why do you need to do this? If it's related to testing (or even if it's not, this may provide you with something you can use) you can look into combining HttpUnit and JUnitPerf. Both are extensions of the JUnit framework - HttpUnit provides classes for easily working with HTTP requests/responses, and JUnitPerf deals with performance related topics, but would mainly be interesting to you because it provides an easy way to repeat tests on a schedule.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic