| Author |
Bios question
|
Vivek Moyal
Ranch Hand
Joined: Nov 02, 2009
Posts: 57
|
|
|
I have seen that our computer clock is running when our computer is shutdown ......how it happens and if i want my program to run like this than how i can do this
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 11225
|
|
There is a small battery on the motherboard of your computer that provides energy to keep the clock running.
The rest of the computer receives no power when the computer is off, and it's not possible to run programs on a computer that's switched off.
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
Steven Mann
Ranch Hand
Joined: Apr 05, 2010
Posts: 55
|
|
When this happens, as said above, only a slight amount of power is running through the system. No power from the power supply is running to the cpu, hard-disk, memory, or any other entity.
What you can do is write a server-client application, and keep the server running 24/7. But this isn't a feasible option for most apps.
regards
|
If love was a sandwich, I'd eat it.
|
 |
Vivek Moyal
Ranch Hand
Joined: Nov 02, 2009
Posts: 57
|
|
|
if it is possible to open the cdrom without pushing the button than it is also possible to on the cpu without pushing the button because restart is also work without the pushing so how I can do this
|
 |
Jaikiran Pai
Saloon Keeper
Joined: Jul 20, 2005
Posts: 6564
|
|
Vivek,
This is the exact same question you asked here http://www.coderanch.com/t/487562/Java-General/java/Boot-java. There already are many replies to your thread there.
|
[My Blog] [JavaRanch Journal]
|
 |
Vivek Moyal
Ranch Hand
Joined: Nov 02, 2009
Posts: 57
|
|
|
thank you
|
 |
 |
|
|
subject: Bios question
|
|
|