Sanath sajjan

Greenhorn
+ Follow
since May 29, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by Sanath sajjan

Hi evan,

what makes a Java program eligible to be a service or a daemon?

>As you said, the application should not interact with the user, the input data it has to pickup from the properties file maintained for that particular application.

how to turn it into a Windows service or a Unix daemon?

>Currently I know it for windows
>We can configure the service should automatic or manual. If it automatic means, when we start the system the service will starts, when the shut down the system the service will turned off.
>If it is manual means, the user has to manually start the service and stop the service manually in services.msc

5 years ago
Java Service wrapper will support only for windows platform, I need to develop an application that has to support for any platform.

Thanks for the reply
5 years ago
I need open source to create it. I think JRebel is not an Open source.

Thanks for the reply.

Regards,
Sanath
5 years ago
Hi friends,

I want to create an application that has to be run in background without any user interaction(like windows service) using java, it has to support for any platform.

Thanks in advance..

Regards,
Sanath

5 years ago
Hi guys,

I am trying to create an windows application, and then i have to run it as a windows service. I googled it, using winrun4j we can achieve it. But the documentation is very less to understand to create.

Thanks in advance

Regards,
Sanath
5 years ago
Yes, I am using the latest version that is: 1.7.0.3 .

In windows 7 the exception is not happening but for windows xp its catching the exception. For example:

InputStream.read(); function from java.io.InputStream package.
5 years ago
Actually our objective is to download the files from the server one by one. To achieve this I am using thread. In the run() method I am connecting to the http server and storing the data in an inputstream. After that I am writing to the file in a while loop 1kb at a time, at the end of the while loop I am changing the updating the progress bar and status of it. This works fine in xp and in windows 7 also but when I remove the LAN wire in xp, status has been changed to ERROR it’s not happening in windows7. All of the above code I wrapped in a try catch block.
5 years ago