aspose file tools*
The moose likes Java in General and the fly likes  java  biweekly application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark " java  biweekly application" Watch " java  biweekly application" New topic
Author

java biweekly application

jite eghagha
Ranch Hand

Joined: Oct 06, 2006
Posts: 127
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java biweekly application
 
Similar Threads