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?