You've probably heard this before, so I apologize in advance because I cannot find a post similiar to this one. As a current COM/VB/ASP developer, I'm trying to branch out into Java development. My question is in starting out for working on enterprise web applications, what would be the ideal solution for web serving static content mixed with PHP and mysql for basic stuff and then using java for critical applications ... my current level of knowledge would suggest the following:
1. Apache Web Server + PHP + MySQL for basic queries and static/dynamic content.
2. Java using the MVC arch. for business applications above and beyond #1 using ??? -- I'm not sure what would be ideal for production use. My guess would be Apache web server + JBoss + and a transactional SQL DB Server of company choice say SQL Server/Oracle, etc....
I'm using Tomcat and IIS right now, IIS for asp development and Tomcat for learning servlets and jsp's. So the final question would be, if I had Tomcat installed first, how could I integrate apache web server with it -- would the installer make the necessary configurations to utilize Tomcat on the Apache Web server installation? I understand that this maybe a another topic altogther and would greatly appreciate a tutorial link to integrate the two if it's a not a simple question to answer.
-- or --
If JBoss is the ideal solution, how would I integrate JBoss with Apache web server?
Many, many, many thanks in advance!
Save lives, forests, animals, children and breasts with a simple click...visit <a href="http://www.thehungersite.com" target="_blank" rel="nofollow">www.thehungersite.com</a>
Apache, Tomcat and JBoss provide different services: Tomcat is a servlet container, whereas JBoss is an EJB container. However, Tomcat may also serve HTML pages (this may be a source of confusion).
Consequently, for working with servlets, you use a servlet engine like Tomcat. For working with EJBs, you need an EJB container like JBoss.
EJBs, which always live in EJB containers, can be addressed by any remote (Java) client - that is, stand-alone clients as well as servlets. You do not address EJBs (or JBoss) directly through a Web Server like Apache.
Check Google for Tomcat/Apache integration. You will find a lot of resources.
Hope this helps! [ June 22, 2004: Message edited by: Mag Hoehme ]