Call for reasonable Java hosting
Java can compete against other languages, scripting or not, even for small sites, but it needs the support of the industry and the availability of reasonable hosting to do so. I know that Java is not the same as PHP and other scripting languages but I would think that the hosting could at least keep up a little better than it has.
Question
Java has been around for a long time, has a large following, and was created, at least in part, for the web. So where are the hosts that are reasonably priced and current?
My Experience
Years ago I tried out a Java enabled Go Daddy site and found it difficult at best. Recently I had the desire to create site and found that Go Daddy has reasonable prices and supports Java. Since I need a site anyway I decided to go ahead and get it and give it a whirl, figuring that they would have updated the Java support by now I was wrong. Today I decided to put something on it to see what happens, now I remember why I stopped using it a couple of years ago.
Problems
The problem with Go Daddy is that they are using Tomcat 5.0.27 on a shared server. They restart the server every night at 1:00 am Arizona time to reload any changes in the deployed applications, which would be fine for a stable site. My use of the site is considerably little less than production ready release on a schedule so this doesn't work well for me.
The Need
My need and I am sure many others is for a site with more control at a reasonable price that I can put an application on for testing, something that is not on my home server because my ISP might get mad if people start hitting me. I need a site to put my programming musings, similar to the ones found in this blog but with less words.
The Call
I have searched for Java enabled sites for years and have never found anything within reason for a reasonable price. I would like to see someone offering a site with JEE 5, Glassfish would be nice, and a reasonable amount of space for a good price. Something like what Go Daddy is doing but with a more resent server and hot deploy enabled.
So who else would like to see something like this and how can we as a Java community do to get someone to do it?
I think that Sun should do something like this for small sites and offer it for free for development, demos, and Open Source projects. Like what SourceForge does but for Java deployment. Just think of the Java promotion this would provide.
- Login or register to post comments
- Printer-friendly version
- ddevore's blog
- 2734 reads






Comments
Some time has passed and Java hosting is no more expensive ...
by TomKu - 2011-07-28 02:37
Some time has passed and Java hosting is no more expensive at least at
http://www.jvmhost.com/
You can get 64MB JVM with cPanel and custom JVM control panel for a $5-$6
using available discounts. Is this a reasonable price for dedicated Java hosting?
by javarocks1 - 2009-03-13 09:02
You can try http://javaprovider.net reallySome time has passed and Java hosting is no more expensive ...
by TomKu - 2011-07-28 02:36
Some time has passed and Java hosting is no more expensive at least at
http://www.jvmhost.com/
You can get 64MB JVM with cPanel and custom JVM control panel for a $5-$6
using available discounts. Is this a reasonable price for dedicated Java hosting?
by kristin1234 - 2009-02-17 13:58
Try Infinitely Virtual www.infinitelyvirtual.com for cheap virtual dedicated servers. Prices start at $9.99/month.by javamaner - 2008-11-30 11:57
I'm using http://javaprovider.net really very cheap Private Tomcat only $11.95/monthlyby warsql - 2008-11-25 09:08
All these posts about my company uses xyz.com for only $ / month are missing the point. The hobbyist is not going to pay $10-12 a month for Java when python / php hosting can be found for $2-3 a month. For the unitiated, getting starting with Java is not price competitive.by geolook - 2008-06-13 16:15
Bad link in previous post, trying again... There's a site called Java Web Hosting that offers private Tomcat 6 instances for $13 a month.by geolook - 2008-06-13 16:13
There's a site called Java Web Hosting that offers private Tomcat 6 instances for $13 a month.by mksreddy - 2008-03-01 21:53
Dru, I use Virtual dedicated server provided by godaddy which costs less than 30$ a month. I have pretty good success in using the different versions of Tomcat, JBoss, Liferay with the same. I have posted some of the tips in my Blog.by rdelaplante - 2008-03-01 20:29
I think if you want that kind of control you need a virtual server with your own IP address. The GlassFish V2 admin console isn't designed for a shared hosting environment, and the minimum requirements states 512 mb of memory. That's real physical memory dedicated to your virtual server, which is why it is expensive. I think GlassFish v3 will change the Java hosting market. It will load only what is needed for deployed applications on the fly so will use much less memory. The admin console will have roll based access control, and many other improvements that might make it usable in a shared hosting environment. What do you think would be a good price for cheap Java EE 5/6 hosting?by cayhorstmann - 2008-03-01 16:42
+1 for having Sun provide "starter hosting" for server-side Java projects. Many of my students are quite familiar with PHP--it is their language of choice for web projects because hosting is cheap and plentiful. When I teach a software engineering class, I say "no" to PHP, but at a cost. I then have the unenviable task of becoming sys admin, dealing with logins, GlassFish, and a database. No wonder few of my colleagues do the same. And that's a shame--today's student is tomorrow's software engineer, and we'd like them to have a positive experience with server-side Java.by ccombs - 2008-03-02 08:10
Dru, try eapps.com. They offer a virtual server for $30/month. Currently, they only support Tomcat, but Glassfish is on the way. -Clint http://ccombs.net/weblogby straun - 2008-03-02 16:58
This has been a concern of mine for some time; so much so I started to compile a list of java compatible hosting services, 'jhosts' (beware it is not up to date). Before the advent of VPS solutions, services were generally not production ready which meant that a dedicated server was the only way. Now companies like rimuhosting are providing such good services we have changed our hosting plans to use them for scalability, global presence and failover. Our core services use a mixture of managed dedicated and VPS hosted solutions, and while the former is 3+ times the price of the latter, we keep the option for various business reasons.If you are looking then I suggest this:
- shared vms are for demo servers, even the best of them are not production ready
- if you are going to pay for a private vm, then it is probably cheaper to get a VPS
- if you are not an expert then use rimuhosting
- if you are an expert then find the most reliable VPS you can and set it up the same way rimuhosting have.
I don't work for rimuhosting, by the way, I am just a satisfied customer. If you don't like their standard offerings then you can just change it, the staff will help all they can (as fanatically as rackspace).by jwynacht - 2008-03-02 10:42
I've been using AO Industries since 1999 for my Java projects. Great prices, great support, low key. What more could you want? Feel free to contact me if you want more information.by mbosch - 2008-03-02 03:15
I would advise going with a VPS based solution if you want total control. Find a host that uses Xen or some other virtualization technology. That way you get root access without the cost of an entire server. I use http://www.rimuhosting.com and it works great for me.by tcowan - 2008-03-03 08:21
I echo your call but it feels too late. Web sites are built with PHP and Ruby. I consider Java to be my preferred language, however, I find myself learning CodeIgniter, wordpress, and other framworks to get simple ideas on the web where others can try them. Furthermore, even if you did have affordable hosting, Java apps still seem dated. Most java frameworks have not caught on to the contemporary use of URL's. One in particular, Stripes, is better than most but doesn't get much attention.by bernaulli - 2008-03-03 06:37
I am using rimuhosting and they provide excellent support services. Mention Arvind Gupta (or any other rimuhosting customer) at the time of signing up the account and they will waive in set up charges also. arvind.bernaulli@gmail.comby hchaudh1 - 2008-03-03 08:30
I have had a very good experience with htto://eapps.com . Very friendly and reasonable prices.by eirikma - 2008-03-03 08:29
You can get by with a pure linux/solaris hosting as long as you give up using a huge, root-installed, one-appserver-to-bind-them-all approach. All you need is a directory and a ssh account. Java can be installed in any directory, and your webapp can bundle a http server (jetty/winstone) as a library to run itself. Hudson (the build server) does that. If you deploy it as a war file it works as expected but if you run it with "java -jar hudson.war" it also contains a main-method that finds itself in the classloader's classpath, then starts the webapp server with the path to the war file as parameter. Check the source code and see for yourself how simple it is. This approach gives you full control over the java process, including unlimited access to -X parameters.by whartung - 2008-03-03 12:04
The problem here is not the hosting companies, it's Java.
Save on a virtual server, there is no safe way to deploy in to a shared VM. None of the major VM vendors provide the control and safety that shared hosting really requires.
Also, Java hosting is resource expensive as well compared to others. Even if we had a good shared VM model, it's still expensive to host Java applications.
With box stock JSP and servlet, everything gets loaded in to the VM and thereby consumes some amount of memory. Most JSP implementations even load the entire page text in to memory as well. That's all well and good, but the problem is simply that once loaded, these artifacts tend to STAY in memory.
So, now consider the classic cheap virtual hosting solution with a single Apache instance fronting PHP for several hundred lightly used web sites.
PHP loads things on the fly, interprets them on the fly, and throws things away. That's one reason why PHP folks need to jump through hoops to increase performance. It's always being reloaded, reinterpreted, and tossed out for each page hit.
The benefit of this is that you can scale your memory burden to the TRAFFIC that the site gets. That's the perfect model for overselling a HTTP Virtual Server host, since most sites get very little traffic.
In the Java model, however, if you have 1000 different sites, and each one get a hit once a day, that's 1000 JSPs that are loaded in the VM and that, typically, STAY in the VM all day long. That means that someone who got a hit at 1am is still impacting the server 12 hours later at 1pm simply because the JVM doesn't do a good job of unloading classes and what not.
In the PHP model, that 1am web hit came and went, never to be heard of again.
So, that means that a Java site needs to be scaled to the number of ACCOUNTs on the site, rather than the actual TRAFFIC to the site (regardless of the accounts).
That's a different revenue model.
Then there's also the safety model. It is trivial to write a piece of Java code that can destroy a VM, suck up all of it heap. Once that's done, the VM needs to restart -- and this affects all of the users of the VM, rather than the malcontent who wrote the bad page. In PHP, a bad page is a bad page. System reaches internal limits, kills the process, Apache restarts it, and a single user has much less affect on other users.
All of these factors weight against Java as cheap hosting solution. I think it would take a great amount of reengineering, both at the VM level AND at the container level to mitigate these issues and make Java friendlier to the bulk hosting providers.
by smayzak - 2008-03-01 22:17
Kattare.com is by far the best ISP that I have ever used in the java space. They offer a lot of options and its affordable! Check them out.by devreeze - 2008-03-03 12:06
I am using Metawerx (http://www.metawerx.net). Excellent and friendly support, many hosting plans, and very reasonable prices. They are based in Australia, I'm from Europe, but I'm happy to deal with the timezone differences.by mthornton - 2008-03-03 14:17
@whartung: If we just consider the simplest case of servlets, I can't see why you take a servlet out of service if it has not been used for some period (minute, hour, whatever). This wouldn't take much reengineering. Once out of service the classes and memory will be eligible for collection. As for filling the heap, I don't see the difference between PHP and Java. A bad PHP page will also impact other users while it executes. You can auto restart a Java VM too if it reaches some limit.by ddevore - 2008-06-19 06:35
Here is a list of hosts that seem to be reasonable and they are enterprise servers, not just Tomcat for servlets. Java Hostingby iyusuf - 2008-11-20 10:38
Now that we have Glassfish V3 Prelude, will it lower the cost? Since it is modular should it cost less for hosting providers to host instances of Glassfish V3?by adiian - 2008-04-19 05:41
I encountered the same problems in the past and started with a friend a new website: www.JavaHostel.com. It is intended to be an independent website where the people can add and rate their java hosting providers.by atripp - 2008-03-07 15:22
I've been using eapps for a few years, and I've been pretty happy with them.Just to put some specific numbers on what whartung said...I see that I'm always using about 330MB of the 432MB that eapps allocates to me. That's being used all day, every day, even with no traffic. I happen to have a simple servlet using tomcat4.
So I guess eapps is scaling based on number of accounts, and the question is whether they're making money charging people like me $30 a month to allocate 432MB to me all day every day. I have no idea, but I've never heard of a case where hardware costs where larger than "people" costs. I suspect that the hour a month or so they spend on tech support for me outweighs the cost of that memory I'm using.
by msgilligan - 2008-03-05 22:56
Darn, I should have used the "Preview" button for my above comment. I meant to link to ISPConfig and ended up making half the comment a hyperlink. (Preview doesn't seem to work so well, at least on Safari, either...)by msgilligan - 2008-03-05 22:52
@warthung has some really good points. It would be nice if SUN (or the OpenJDK community) would address them. Another advantage to PHP virtual hosting is that it's pretty much enabled out-of-box in every Linux distro. All you need to do is add some form of "Control Panel" (e.g. ) and you're in business as a PHP web host. With OpenJDK out, hopefully we'll see easier setup for Java hosting (on those VPS solutions at least) OpenJDK may also enable some community innovation in this area. Does anyone know of any good Java hosting solutions that are available as Open Source? Do any of the recommended Java ISPs reveal their setup/configuration recipes or collaborate with each other on solutions?by tim_dalton - 2008-03-04 07:34
I'd be happy if Sun just would provide hosting for Webstart apps. That is send the right mime type with the content and handle whether pack200 is to be used or not. My ISP doesn't send the right mime type, so Webstart doesn't start when the link is clicked. Providing hosting for these apps can only help the adoption of this underrated technology.by kishoresjava - 2008-03-04 04:09
+1 for having Sun provide "starter hosting" for free,
Great idea : a Free Latest Java hosting with latest Glashfish and other features for learning also for non-profit small scale Java projects.
by whartung - 2008-03-04 00:28
@mthornton: Historically, the JVM hasn't had a fabulous record of cleaning up Java classes, nor have containers for that matter (lots of folks still hit PermGen errors doing a lot of JSP development or various incremental reloads on modern JVMs and Containers). Also, the difference between restarting a JVM and killing a PHP process is that using Apache's pre-fork model, when you kill a rogue PHP process, it's akin to killing a thread in Java. Specifically, it's only reseting a single connection, while all of the other connections stay alive. So beyond any particular runtime impact a PHP process may have on other users, once it reaches whatever limit failsafe the system puts on it, it's actual impact is only on the user it's serving. In contrast, reseting a JVM will impact ALL of the users that JVM is serving. It would be like restarting Apache, vs just a single connection.by ddevore - 2008-11-20 13:36
We can hope but I would doubt it. at least for the time being. Since writing this blog I have found a host I am fairly happy with. The price is not our of line and the service is good. Check out http://entic.net/