Skip to main content

TSR

1 reply [Last post]
sadia
Offline
Joined: 2006-05-05
Points: 0

it is possible to make terminate and stay resident application in java???if possible then how?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
grelf
Offline
Joined: 2007-11-14
Points: 0

Why would you want to? Presumably so that you have a rapid response when another input comes along asynchronously, without the overhead of loading the program before you can process the input. Well there are several things in Java that do that kind of thing. The prime example that comes to mind is the Servlet class (in Java EE) - look at the API docs for that. java.lang.Thread is another class that can be used for similar purposes.