i want to know if there is a way to access the bios of the client from the server in java or in any other language so that the boot failures in LAN clients could be found out

no.
You CAN IF the network card supports it query the network card using a proprietary API for that card and command it to do some things.
This is (for security reasons) usually either disabled, not installed, or severely limited.
You'd also need a (usuall) C or C++ program for it.

And no, we're not going to help you write a program that can shut down another computer over the internet.