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 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 Android Security Essentials Live Lessons this week in the Android 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: 19655
    
  18

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
 
 
subject: Problem: Java App like window Service
 
Similar Threads
Parent and child window cncept in java swing
Closing the browser window through Java
JNI and C++
Problem: Java App like window Service
Daemon process exits when Xterm is closed