jQuery in Action, 2nd edition*
The moose likes Tomcat and the fly likes JSP Glassfish and Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JSP Glassfish and Tomcat" Watch "JSP Glassfish and Tomcat" New topic
Author

JSP Glassfish and Tomcat

Tay Thotheolh
Ranch Hand

Joined: Aug 07, 2008
Posts: 84
Hi. I have developed my Web applications using NetBeans 6.1 with Glassfish V2 and JEE 5. I noticed that online hosting for Glassfish are far more expensive than usual Tomcat hosting so I was wondering if my web application if I host it on Tomcat, will it break anything ?

My application contains usual standard JDBC , servlets , JSP , html , Javascript ... I don't have anything server oriented (nothing bias to Glassfish or Tomcat inside) and it uses all the usual standard Java , JSP , Servlet APIs. I was thinking if I just load my war file the IDE generated into Tomcat, would it run like the usual Glassfish which I have been developing on ?

Does anyone know any low cost hosting for Glassfish V2 at max US$10 and not more ? That is the budget my client wants. If Glassfish hostings are more expensive , I might consider switching to usual Tomcat 5.5.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60732
    
  65

If you didn't do anything non-standard, your app should run fine on Tomcat.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Tay Thotheolh
Ranch Hand

Joined: Aug 07, 2008
Posts: 84
Thanks.

Eh .. how do you deploy in Tomcat ? I know I have to put my war file into the /webapps folder and I heard I have to edit some server.xml right ? So what should I do after adding the war file into the /webapps folder ?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60732
    
  65

The Tomcat installation comes with extensive documentation on how to set up.
 
 
subject: JSP Glassfish and Tomcat
 
Similar Threads
Quick question about java RMI
java web hosting some concerns
How to find the total number of sessions in my web application?
My *.jsp files will not execute unless in /servlet path.
Newbie Question: Java EE vs Tomcat+Hibernate+Struts