Hi all:
I would like to know if it is possible to load a custom class out side the .war.
Is it a good solution to minimus the redeploy times of our system -_-. Is there any class loading, class update issue( when each servlet instance uses it) ??
-
Is it possible to load a custom classes outside .war (2 messages)
- Posted by: chi-hsing chu
- Posted on: October 20 2003 10:33 EDT
Threaded Messages (2)
- Is it possible to load a custom classes outside .war by Fredrik Borgh on October 21 2003 04:31 EDT
-
Is it possible to load a custom classes outside .war[ Go to top ]
- Posted by: Fredrik Borgh
- Posted on: October 21 2003 04:31 EDT
- in response to chi-hsing chu
As long as the class you want to load from your servlet is in the classpath for the servlet, it doesn't matter if the class is in the .war or not. Try adding the class to your system classpath or depending what container you're using (WebLogic, JBoss etc.) add it to the application classpath.
Fredrik... -
Tomcat[ Go to top ]
- Posted by: Tom Cole
- Posted on: October 21 2003 18:48 EDT
- in response to Fredrik Borgh
For a Tomcat installation, you would include the .class files (or packaged .jar file) in the <Tomcat_Home>/common/lib directory or the <Tomcat_Home>/shared/lib directory.
I'm sure there are similar setups for others.