• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to deploy a J2EE application on the web?  RSS feed

 
Johan Svensson
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

First of all sorry if this is the wrong forum for this question.. but I couldn't seem to find one that fit.

Anyway I recently developed a Java EE application for a school project using NetBeans 6.9.1. IDE. The application consist of some JSF-pages with underlying EJBs. These EJBs communicate with a database (the default NetBeans DB atm) using JPA. The application also consists of a few JSP pages, which also have underlying EJBs for handling business logic.
I'm currently running the application locally on my own computer (localhost:8080 etc..), from the GlassFish server 3.0 that is included in the NetBeans bundle. However, I would now like to deploy it on the web so that other can access it.
To be honest I'm very confused on how to do this. I assume that I need some sort of webhost that supports either GlassFish or Tomcat..?

So my question is first of all.. Does anyone have any tips on such a host? (preferably one that I wont have to pay tons of money for every month).
Secondly.. how do I do this in practice? I assume that I need to do some modifications in my XML files etc for configuring database connections etc? is there a good guide somewhere that I could use?

I apologize if this post is a bit weird, but again I'm pretty confused on how to do this.


Best Regards

Johan
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you need a host that offers a JEE server, like GlassFish. Tomcat won't do, as it doesn't support EJBs (while there are ways to make it support EJB, I'd say those are beyond the scope if you're just starting out).

The ServletsFaq has a list of Java hosting companies. If you don't need to store much data, and don't need a lot of memory, then you should be able to get by on $10 per month. The hosting company should have documentation on how to configure DBs and such.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!