It's not a secret anymore!
The moose likes Servlets and the fly likes How to go public? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to go public?" Watch "How to go public?" New topic

How to go public?

George Gates
Ranch Hand

Joined: Jul 11, 2008
Posts: 34
Hi All,

I have made a project on Netbeans 6.1 using JSF architecture and Apache Tom Cat 6.0.14. The database is Microsoft Sequel Server 2005. I want to host it on a website. I am prepared to purchase web space for web hosting.

What features should be available in the web hosting package? Is there any good company that provides it? This is the first time I am doing it. I have a rough idea that the .war file of the project is required. What files should be added on the web space that enables proper functioning? Any tutorial or references are welcome.


Best Regards

Regards,<br />George Gates
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

I'm not sure that this is the best forum to ask that question in, but you were specifically interested in JSF hosting, so...

First of all, determine your limits in terms of money, time, and expertise. How much downtime can you afford relative to what the hosting service guarantees? How much of the low-level administration do you want to do, as opposed to paying them to do it. That means things like installing and maintaining system software, doing backups, maintaining offsite backup storage, hotsite facilities in case of natural or other disasters, and stuff like that.

Some HSPs provide a complete infrastructure, including one or more enterprise-class DBMS's such as Oracle. Some will even provide the application server. At the other extreme you might simply buy a blank virtual machine and what you put in it is entirely your business.

Not all hosts are equal - some are Microsoft-only, some are Unix-only, and in some cases the resources you buy won't support Enterprise Java. I can host a LAMP site on just about any old box in my collection - and I've got some pretty old boxes doing just that. Tomcat, however, is more demanding, and a full-stack JEE server is hungrier still.

An IDE is no substitute for an Intelligent Developer.
George Gates
Ranch Hand

Joined: Jul 11, 2008
Posts: 34
Thanks for your reply Tim

Money is not a big criteria. I am not keen to perform low level administration. I heard the same about Apache Tom Cat being demanding. Regarding platform specific, I would go for Microsoft.

Can you tell what kind of knowledge would be required to get the site up and running (Apache Tom Cat, Java EE5, MS SQL Server) after buying the webspace? Are there any references or tutorials for the same? This is the first time I am uploading a dynamic website.

You also mentioned, this was not a good forum for this question. Can you tell other options?

Thanks again
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
The servlet FAQ has a list of companies that support Java hosting:
Look through the list and compare the features. There are lots of differences in regards to JVM version, which app server is offered, JVM memory size, disk space, DB size etc.

Most of them probably don't support SQLServer, though. It's more common to use MySql or PostgreSQL with Java hosting, since most of them run on Linux. You'll have to pay extra for a commercial DB that requires Windows. Or maybe you could use one of the open source DBs instead.

War files are not generally required. Unless you're using a really low budget plan you'll have FTP access to the web space, and can upload individual files.

Unless you buy a full server all for yourself, you won't have to set up much (most likely you can't set up anything). In particular, the JVM, the DB and the app server will all be installed and running. I'm not sure what you mean by Tomcat being demanding; once it's running (which in itself isn't hard either), there's really nothing much to do for you except monitor the logs, which of course you need to do with every server.

You just need to create the databases and the directories for the web app(s), and you're good to go. This will all be explained in the online support material of the hosting company you choose.
George Gates
Ranch Hand

Joined: Jul 11, 2008
Posts: 34
Thanks Ulf

The URL for the list of java hosting companies is very good.

Thanks again
It is sorta covered in the JavaRanch Style Guide.
subject: How to go public?
It's not a secret anymore!