This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Tomcat and the fly likes What's the best way to deploy the product? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » Tomcat
Bookmark "What Watch "What New topic

What's the best way to deploy the product?

Olexandr Prokhorenko

Joined: Feb 10, 2005
Posts: 12

I am pretty sure it's a rather common question, but briefly looking through the archives, I didn't find any good answer for it. For example, the company has developed a web application, deployed a WAR file to Tomcat container and would like to run it in production use. It goes without saying, that using 8080 port isn't the best way to do this. Besides, the company has got other projects. So it's raising the question for virtual hosts. I know there are a lot of Tomcat advocates, which proposes to do everything in it, but still there are other ways out, like Apache HTTP server in the frontend with either proxy or mod_jk or depreceated mod_jk2; a simple 80 -> 8080 firewall redirect (which actually doesn't solve the question with numerous projects); like Tomcat all-in-one, with running on 80 port (unsafe) and own virtual hosts.

So, the question is, what's the best way out for production use, in mind of future scalability and managebility?

[ August 17, 2006: Message edited by: Olexandr Prokhorenko ]
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Originally posted by Olexandr Prokhorenko:
... like Tomcat all-in-one, with running on 80 port (unsafe) and own

Why do you think running Tomcat on port 80 is unsafe?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: What's the best way to deploy the product?
It's not a secret anymore!