Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java biweekly application

 
jite eghagha
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello

i've got to develope an application that will do the following biweekly:

1. locate an Access database.
2. tranfer the tables of the Access db. to a MYSQL database

My question is this, After writting this application do i deploy it to a server (sun applicatio server) ? So that it is always running on the server, and executes biweekly.

if my thoughts are on point you needn't reply.
thanks
 
Tim LeMaster
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your thoughts are fine but what about the details? How would it know to run?

You can create an EJB that implements TimedObject and then have something call it to setup the timer.

Or you could create a cronjob. This cronjob could be the application itself. Or a client that calls an EJB at the correct interval. Or the EJB could be a message driven bean and a cronjob or something else could send a message at the correct intervals.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Similar Threads