Friday, May 23, 2008

Error and Exception

Difference between NoClassDefFoundError and ClassNotFoundException ....

Monday, May 19, 2008

Class Loader

Consider i am using weblogic appln server.I specify the application jars either in the weblogic classpath or put them in the lib folder of the server.These files would be loaded on application (system) class loader.If we are calling a class file from a jsp or servlet , the class file would get loaded from the application loader, jsp or servlet is being loaded by the Web loader of WLS .
If a am calling a EJB from my class file that EJB jar has to be specified either in the classpath or lib, otherwise it wont find the class.
IN this way the EJB class loader of WLS is not being used.
I think this can be resolved if we put all the web components in a war all jsp and related classes.
Would this solve this problem or is there any other turnaround???