Stinger51, if you dont' even have any clue what Java is capable of, then you SHOULDN'T BE JUDGING IT LIKE THAT!
Sheesh, I'd think thats fairly obvious. But anyway, YES, it DOES allow client-side operations. Java is a bit different than PHP in that its an actual programming language, not 'just' a web scripting language ( because, YES, thats what PHP really is, although its beginnning to expand to more than that what with shell scripting and the ability to write SQL triggers and such for PostgreSQL with it now... )
From a programing language standpoint, Java is FAR superior and FAR more advanced than PHP.
Java is also very well established and backed by a huge company already.