Security is a huge area that can't be addressed in whole in a forum like this. What attacks are you trying to guard against specifically? What security measures have you taken so far?
This is a huge area. You have to be a lot more specific before we can give you any real answers.
pankaj semwal wrote: How to Secure an web application from hacking in java.
For example, what do you mean "from hacking in Java"? Do you mean someone will use Java to attack your website?
or do you mean "I have a website written in Java, how do I start to lock it down?"
Space seems cool in the movies, but once you get out there, it is super boring. Now for a fascinating tiny ad:
a bit of art, as a gift, the permaculture playing cards