This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Thank you for your reply Campbell.
I can actually enable the assertion in the java application with the option -ea.
In fact, for eclipse we just need to put "-ea" the JVM variable and the asserions will be turned on for application.
I want to know how can I use assertions in context to web application, that is being deployed in Jboss.
(I should have been more clear)
Joined: Oct 13, 2005
You use assertions to check the classes for errors before trying to run your application. Do you need assertions when you have got the whole application?