| Author |
java biweekly application
|
jite eghagha
Ranch Hand
Joined: Oct 06, 2006
Posts: 124
|
|
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
Joined: Aug 31, 2006
Posts: 226
|
|
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.
|
 |
 |
|
|
subject: java biweekly application
|
|
|