aspose file tools
The moose likes Tomcat and the fly likes Tomcat application deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Tomcat application deployment" Watch "Tomcat application deployment" New topic
Author

Tomcat application deployment

Amruta Agarwal
Greenhorn

Joined: Apr 11, 2007
Posts: 11
I was reading Tomcat application developer's guide:
http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html

Under the topic "Standard Directory Layout" it is said that:

When you install an application into Tomcat (or any other 2.2/2.3-compatible server), the classes in the WEB-INF/classes/ directory, as well as all classes in JAR files found in the WEB-INF/lib/ directory, are made visible to other classes within your particular web application. Thus, if you include all of the required library classes in one of these places (be sure to check licenses for redistribution rights for any third party libraries you utilize), you will simplify the installation of your web application -- no adjustment to the system class path (or installation of global library files in your server) will be necessary.

"are made visible to other classes within your particular web application".
What other classe are these, and where are they?
Dont the class files and the jar files make the application classes?
Nick Tountas
Greenhorn

Joined: Jul 22, 2006
Posts: 5
Yes, what it means is that you need to put them there, otherwise they are not visible.

Also don't forget that if you are using some framework there may be further directories etc.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Tomcat application deployment
 
Similar Threads
Help in database connections
Importance of web.xml?
JasperException
.war Questions
jsp pages in tomcat