This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Keep application running Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Keep application running" Watch "Keep application running" New topic

Keep application running

Siva Masilamani
Ranch Hand

Joined: Sep 19, 2008
Posts: 385

Please find below our application flow.

Oracle(8i)------->shellscript------------>Java stan alone application(java1.2)---------->consume dot net web service

Our work flow is oracle receiving some orders then pass one order information at a time and consume web service for that order and receive input backwords from dot net till Oracle and continue for next order.

We have developed a stand alone application with one of the classes having main method to consume web service.We also have link to another application that logs the data.

Below is the code to log the data:

This is the part of main method that is getting called for each order from shell script which further uses the log method int he logging application to log the information.

We would like to avoid reading the property file each and every order to initialize logging application.

So please help me how to keep logging applicationrunning always so that to avoid the funtion initalize being called for every order.

Also let me know if there is any other option other than keeping this application running always or the current code is enough for the situation.

We usually receive some 10 to 20 orders for every 10 to 20 minutes.


Failure is not an option.
I agree. Here's the link:
subject: Keep application running
Similar Threads
Getting Name of current Method
Is ths Transaction Handling Write or Wrong ?
Method name at run time
Getting the current method that this executing.
Problem With Algorithm Involving Recursion and String Manipulation