Java J2EE Portal
Enterprise Java Station
J2EE curve
Java News / Articles
JavaEE Architecture Using The Spring Framework
web2
Enterprise 2.0: Bringing Web2.0 Collaboration and Social networking to Ente
Xml Security using Xml Encryption and Xml Digital Signature
Processing...
Buy Java, Deals On Software Technology Store
Click here for great deals on computers, laptops, software and books
Java's failure at shared hosting will contribute to its downfall PDF Print
Written by Harshad Oak   
Apr 04, 2006 at 11:50 AM

My experience with shared java hosting has been quite bad. Some time back I wrote about the problems I encountered with logging but overall, the feel I got was that J2EE just wasn't suited for shared hosting. What was especialy irritating was the lack of control I had over the library JAR files and even my own web.xml file. The shared hosting provider even locked my web.xml file and I had to contact support if I wished to modify it! The per month cost for Java hosting was also 5 times that of the PHP hosting.

Getting good Apache + PHP + MySQL / PostgreSQL shared hosting is very simple. There are many hosting providers available and you could just browse to findmyhosting.com and quite easily pick up a reliable hosting provider. However think of shared hosting for J2EE and it's an entirely different story.

There's myjavaserver.com which offers free j2ee hosting, and can get you started. But what about deploying J2EE applications in production? It looks like it's imperative that you have your own dedicated server if you wish to host Java J2EE applications in production!

I did a google search for "shared java hosting", to check if somebody has recorded any wonderful experience he/she has had with java hosting on a shared environment. However I could not find anything except one blog by Stefan Mischook titled "Java hosting is kicking my ass!". He concludes by saying "Java is brittle in a shared environment, hard to configure and problematic - it sucks. I think this is a symptom of the Java community’s need to over-engineer everything and shows how Java is no longer suitable for small and medium size application development."

I have to agree with Stefan. Java's failure at shared hosting, I think, is a very serious problem that the Java community is ignoring at its own peril.

Is something being done in the next version of enterprise java (JEE)? Have you ever had a good experience with shared Java hosting? It's high time we stop ignoring this problem saying that Java is for enterprises who have their own dedicated servers. Enterprises constitute only a small fraction of the millions of websites out there. PHP has conquered the small and mid sized segment primarily because of Java's failure. If hosting a Java web application was just as simple and cost effective as hosting a PHP web application, I am sure many would adopt Java over PHP.

PHP is now also taking strides into the enterprise market. Once PHP manages to come up with a good offering even in the enterprise space, Java will be in trouble. Its better if the Java community wakes up while the going's good and tackles shared hosting issues on high priority.

This blog is an invitation for comments on shared, simple and cost effective java hosting.

>>> Harshad Oak is the founder of Rightrix Solutions and the author of the three books Oracle JDeveloper 10g: Empowering J2EE Development, Pro Jakarta Commons and Java 2 Enterprise Edition 1.4 (J2EE 1.4) Bible He can be reached at harshad at rightrix dot com

Related:
>> Logging on a shared Java hosting with java.util.logging
>> Can Java CMS match the PHP ones?
>> When Java? When PHP?
>> LAMP alternative to J2EE and .Net
>> Python is "cleaned-up Java"


User Comments

Comment by 'Guest' on 2006-04-08 02:25:10
Dedicated Servers cost more than $250 per month. That's not worth it for most businesses in the not developed world... Even "enterprises" 
 
So saying that enterprises can afford dedicated server hosting is anyway untrue.

Comment by 'Guest' on 2006-04-06 01:44:01
Why not use VPS (Virtual Private Server) for $20/mo 
(like RIMU)

Comment by 'Guest' on 2006-04-06 12:21:30
Take a look at javaservlethosting.com. They are now supporting tc 5.5/java 5

Comment by 'Guest' on 2006-04-06 20:49:05
Too bad this jsr has been around for a few years and I think they are going to finally get around to implementing it. Maybe after Mustang. 
 
http://bitser.net/isolate-interest/slides.pdf

Comment by Charlie on 2006-04-07 05:12:10
I worked on a project a year ago for a medium sized firm. All of the pages GUI were in JSP and any complex bussness logic was independent classes. That was hosted with a shared hosting provider.  
 
It works pritty well, although its hardly a high traffic site. I know they use Resin. It worked quite well as an alternative to PHP or god forbid VB. You just have to bring a bit of structure to the design. 
 
I wouldnt recommand using a large frame work in a shared enviroment.  
 
In fact the shared hosting provider activley ban you using most of them. Which is why for my own company I have a dedicated server running a Tapestry site on Tomcat (its relativly low traffic site at the momment) but relatively cheap.

Comment by Geert Bevin on 2006-04-07 05:12:39
http://rifers.org/hosting

Comment by JavaProgrammer on 2006-04-07 10:08:56
Tried http://dailyrazor.com/? They have shared Java 5+Tomcat 5.5.x+MySQL/PostgreSQL. Administration is all through Tomcat's web tools plus some other custom tools. It actually works pretty painlessly and is cheap.

Comment by Tim O'Brien on 2006-04-10 10:56:58
The cost of a dedicated server is trivial compared to the costs of development. Even in the "not developed world" as Guest observes. Providing good support for shared hosting only really affects hosting providers that are focusing on providing low-cost/commoditized hosting facilities.  
 
The customization required of a good J2EE implementation is really not compatible with the approach most take to PHP development. I honestly think that criticizing J2EE for not providing good "shared hosting" misses the mark.

Comment by 'Guest' on 2006-04-05 04:37:12
Have you tried eApps?

Comment by 'Guest' on 2006-04-05 08:29:33
[QUOTE]Once PHP manages to come up with a good offering even in the enterprise space, Java will be in trouble.[/QUOTE] 
Possibly, but I don't see PHP managing to come up with a good offering in the enterprise space anytime soon. As long as PHP lacks namespace support I can't take it very seriously for large scale apps...




Add This Feed Button

Enter your Email

Java News / Articles
Java Expert Interviews
Bruce Johnson
Google Web Toolkit isn't just another way to create mediocre Ajax applications
EclipseExecutiveDirectorMikeMilinkovich
Eclipse is focused on closing in on Visual Studio - Switching campaigns are for marke
RichUngerNetBeans
NetBeans was the early bird but has Eclipse caught the worm?
Processing...
Go to top of page  Home |
SiteMap

Copyright 2004 to 2008 Rightrix Solutions. All rights reserved. All product names are trademarks of their respective companies. Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. Rightrix Solutions and IndicThreads.com are independent of Sun Microsystems, Inc.

Views expressed at IndicThreads.com reflect the views of the authors alone, and do not necessarily reflect those of IndicThreads.com. IndicThreads.com and it's authors are not responsible for reader comments and opinions.

Enterprise Java J2EE JEE Portal >> IndicThreads.com