Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Glassfish and Tomcat

 
Tay Thotheolh
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64633
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you didn't do anything non-standard, your app should run fine on Tomcat.
 
Tay Thotheolh
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64633
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Tomcat installation comes with extensive documentation on how to set up.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic