wood burning stoves 2.0*
The moose likes Java in General and the fly likes Problem: Java App like window Service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Problem: Java App like window Service" Watch "Problem: Java App like window Service" New topic
Author

Problem: Java App like window Service

Mudasser Tufail
Greenhorn

Joined: May 14, 2012
Posts: 9
Hello



I want to run my java app like window service like it should not close when logoff on window and also it should be start

automatically when window bootup. I used the JSmooth wrapper for that. Its now starting the java app on window boot. But

problem is when I logoff on window it is closing my application. I really don’t want to close my Java Application on window

logoff. please suggest me the best possible solutions or some other wrapper which can perform that task.









Thanks

Regards

Mudasser
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19556
    
  16

You need to run your application as a Windows service. Search for "Java Service Wrapper", and you'll find at least one good result.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem: Java App like window Service
 
Similar Threads
Problem: Java App like window Service
Daemon process exits when Xterm is closed
JNI and C++
Closing the browser window through Java
Parent and child window cncept in java swing