This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Java in General and the fly likes  java  biweekly application Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark " java  biweekly application" Watch " java  biweekly application" New topic
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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: java biweekly application
 
Similar Threads
Biweekly?