<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://java.dzone.com"  xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dz="http://www.developerzone.com/modules/dz/1.0">
<channel>
 <title>Javalobby - Comments for &quot;Hosting Java Web Applications: Why Is It Still So Hard?&quot;</title>
 <link>http://java.dzone.com/news/hosting-java-web-applications-</link>
 <description>Comments for &quot;Hosting Java Web Applications: Why Is It Still So Hard?&quot;</description>
 <language>en</language>
<item>
 <title>64M is Tomcat&#039;s default heap</title>
 <link>http://java.dzone.com/news/hosting-java-web-applications-#comment-3239</link>
 <description>&lt;!--paging_filter--&gt;64M is Tomcat&#039;s default heap size - it&#039;s more than enough for well written apps. If you&#039;re getting 500K+ page views a day all of which make calls to the DB, it&#039;s a different story that should probably be on a VPS if not a dedicated. &lt;br /&gt;</description>
 <pubDate>Wed, 14 May 2008 10:05:13 -0400</pubDate>
 <dc:creator>geolook</dc:creator>
 <guid isPermaLink="false">comment 3239 at http://java.dzone.com</guid>
</item>
<item>
 <title>Yeah, but it&#039;s $13 for a</title>
 <link>http://java.dzone.com/news/hosting-java-web-applications-#comment-3237</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Yeah, but it&#039;s $13 for a developer JVM with onyl 64M ram. It&#039;s $20 for a 128M JVM, which puts it at the same level as a typical VPS. Hmm. Actually, a little less since the $20 price point usually includes 256M RAM. For that you pay $25 on that site, which make sense since they are doing the maintenance.&lt;/p&gt;&lt;p&gt;All in all it looks very comparable to VPS.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
 <pubDate>Wed, 14 May 2008 09:39:27 -0400</pubDate>
 <dc:creator>rk29</dc:creator>
 <guid isPermaLink="false">comment 3237 at http://java.dzone.com</guid>
</item>
<item>
 <title>A private JVM avoids the</title>
 <link>http://java.dzone.com/news/hosting-java-web-applications-#comment-3230</link>
 <description>&lt;!--paging_filter--&gt;A private JVM avoids the memory and security problems of shared hosting by giving each user their own space - sort of like a mini virtual private server. They are coming way down in price - http://www.cheap-jsp-hosting.com is as low as $13 a month.&lt;br /&gt;</description>
 <pubDate>Tue, 13 May 2008 23:36:27 -0400</pubDate>
 <dc:creator>geolook</dc:creator>
 <guid isPermaLink="false">comment 3230 at http://java.dzone.com</guid>
</item>
<item>
 <title>emacadie wrote:I think that</title>
 <link>http://java.dzone.com/news/hosting-java-web-applications-#comment-2725</link>
 <description>&lt;!--paging_filter--&gt;&lt;div class=&quot;quote&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;emacadie&lt;/em&gt; wrote:&lt;/div&gt;&lt;p&gt;I think that for servlet hosting, VPS might be the way to go. Hosting companies that have good servlet hosting seem to wind up costing as much as VPS does, so why not go that route?&lt;/p&gt;&lt;p&gt;&lt;/div&gt; &lt;/p&gt;&lt;p&gt;Eric, managing a VPS is a considerable task while a private JVM is managed by the hosting provider. Additionally, for shared hosting accounts you usually get a management console (CPanel/Plesk etc.) by default, something that you pay heavily for on a VPS (think of 10$+). &lt;/p&gt;&lt;p&gt;&lt;div class=&quot;quote&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;emacadie&lt;/em&gt; wrote:&lt;/div&gt; &lt;/p&gt;&lt;p&gt;It seems like over the past few years, shared hosting has gone down in price significantly, especially considering that they now offer a lot more hard drive space and bandwidth than a few years ago. But servlet hosting prices have not really changed, and they do not seem to offer more memory or disk space than a few years ago. &lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;From what I&#039;ve seen, RAM prices didn&#039;t go down that much during the last couple of years, while disk space became way much cheaper and so did bandwith. And since Java web applications are much more memory hungry while idle (compared to the CGI execution model), this could explain it. &lt;/p&gt;</description>
 <pubDate>Tue, 15 Apr 2008 05:34:31 -0400</pubDate>
 <dc:creator>sky_HALud</dc:creator>
 <guid isPermaLink="false">comment 2725 at http://java.dzone.com</guid>
</item>
<item>
 <title>I think that for servlet</title>
 <link>http://java.dzone.com/news/hosting-java-web-applications-#comment-2718</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;I think that for servlet hosting, VPS might be the way to go. Hosting companies that have good servlet hosting seem to wind up costing as much as VPS does, so why not go that route?&lt;/p&gt;&lt;p&gt;It seems like over the past few years, shared hosting has gone down in price significantly, especially considering that they now offer a lot more hard drive space and bandwidth than a few years ago. But servlet hosting prices have not really changed, and they do not seem to offer more memory or disk space than a few years ago. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
 <pubDate>Mon, 14 Apr 2008 18:35:51 -0400</pubDate>
 <dc:creator>emacadie</dc:creator>
 <guid isPermaLink="false">comment 2718 at http://java.dzone.com</guid>
</item>
<item>
 <title>Quote:Ray, it&#039;s good to know</title>
 <link>http://java.dzone.com/news/hosting-java-web-applications-#comment-2638</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;&lt;div class=&quot;quote&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;Quote:&lt;/div&gt;Ray, it&#039;s good to know that you are in the hosting business. Did you attempt to provide shared hosting for Java?&lt;/div&gt;&lt;/p&gt;&lt;p&gt;Actually, my service is VPS hosting, which means I host instances of complete linux systems. What runs on top really doesn&#039;t matter to me. Memory is managed in a static fashion - each linux instance gets a fixed amount of RAM, and a fixed amount of disk. I can change the allocations, but I have it configured to NOT change them dynamically. This is intentional, since I want to guarantee that each instance has it&#039;s full allotment available. It makes the service more expensive, but it&#039;s serving a different purpose than simple virtual hosting.&lt;/p&gt;&lt;p&gt;Honestly, I really haven&#039;t looked much at shared Java hosting. I only know that from my limited experience with Tomcat, that it&#039;s not something that I would like to do. &lt;/p&gt;&lt;p&gt;&lt;div class=&quot;quote&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;Quote:&lt;/div&gt;What parts of OSGi do you think that could ease Java web deployments?&lt;/div&gt;&lt;/p&gt;&lt;p&gt;I&#039;ve not been too fond of the container model. It seems very heavy to me. Lately I&#039;ve been embedding jetty into my applications, and OSGi allows me to dynamically install and remove services in a very clean fashion. I&#039;m just exploring this area now, but I hope that it will lead to something that works well for me. Mainly I like the programming model that I can use with OSGi, where services are registered, and dynamically injected into other services using declarative services. There are still issues, but it&#039;s coming along. &lt;/p&gt;</description>
 <pubDate>Fri, 11 Apr 2008 09:28:21 -0400</pubDate>
 <dc:creator>rk29</dc:creator>
 <guid isPermaLink="false">comment 2638 at http://java.dzone.com</guid>
</item>
<item>
 <title>rk29 wrote:That said, I</title>
 <link>http://java.dzone.com/news/hosting-java-web-applications-#comment-2635</link>
 <description>&lt;!--paging_filter--&gt;&lt;div class=&quot;quote&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;rk29&lt;/em&gt; wrote:&lt;/div&gt;&lt;p&gt;That said, I would have no problem with putting 10 virtual hosted php sites onto a single VPS, whereas putting a tomcat instance I&#039;d recommend only one. Not that tomcat needs the full capacit, but that it&#039;s easier to manage those php virtual hosts.&lt;/p&gt;&lt;p&gt;&lt;/div&gt; &lt;/p&gt;&lt;p&gt;Ray, it&#039;s good to know that you are in the hosting business. Did you attempt to provide shared hosting for Java? We all would like to hear some more thoughts about this. Previous posts did mention Java&#039;s lack of control over threads as one of the reliability issues. Having the ability to impose limits on memory and processor usage, arbitrary interruption etc. would certainly be nice. &lt;/p&gt;&lt;p&gt;&lt;div class=&quot;quote&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;rk29&lt;/em&gt; wrote:&lt;/div&gt; &lt;/p&gt;&lt;p&gt;I&#039;m also a developer, and generally prefer java over php. I wish there were a better story for deploying java web apps. To that end, I&#039;ve been working with OSGi, and I think there is something there worth using, but it&#039;s not yet at the point where it is easily deployed. &lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;What parts of OSGi do you think that could ease Java web deployments? Is that the fact that you have better application lifecycle management than those that come with the popular Java web containers? &lt;/p&gt;</description>
 <pubDate>Fri, 11 Apr 2008 07:49:07 -0400</pubDate>
 <dc:creator>sky_HALud</dc:creator>
 <guid isPermaLink="false">comment 2635 at http://java.dzone.com</guid>
</item>
<item>
 <title>I think a major part of the</title>
 <link>http://java.dzone.com/news/hosting-java-web-applications-#comment-2629</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;I think a major part of the problem finding Java hosting on the low end of the market has nothing whatsoever to do with complexity of the work and everything with the type of people starting and running hosting companies at that end of the market.&lt;/p&gt;&lt;p&gt;Those people are typically Linux fanatics, with a decade of &amp;quot;hatred&amp;quot; of Microsoft and Java under their belts, so they won&#039;t even consider hosting Java even if they had skills exceeding those needed to create virtual hosts on Apache.&lt;br /&gt;Some have bowed under pressure and started hosting Frontpage extensions because the home user and small business (their customers) often ask about those, since those users often use Frontpage to create their websites and Frontpage assumes Frontpage extensions to be available by default unless you tell it otherwise.&lt;br /&gt;Java has no such penetration in the low end of the market of web designers (which is hardly surprising as Java was never aimed for web development at those people, where Microsoft very agressively targets ASP at them).&lt;/p&gt;&lt;p&gt;So it&#039;s a political/religious and economic issue more than a technology issue. &lt;br /&gt;One could host a cluster of JBoss or Tomcat instances just as easily as a cluster of Apache instances. But these people don&#039;t want to, the very thought never even enters their mind, and they&#039;re still under the impression (from all the reports they saw on slashdot a decade ago and regurgitated there every few weeks) that &amp;quot;Java is slow&amp;quot;, &amp;quot;Java is not secure&amp;quot;, etc. etc.&lt;/p&gt;</description>
 <pubDate>Fri, 11 Apr 2008 01:43:50 -0400</pubDate>
 <dc:creator>jwenting</dc:creator>
 <guid isPermaLink="false">comment 2629 at http://java.dzone.com</guid>
</item>
<item>
 <title>If you&#039;ll pardon the</title>
 <link>http://java.dzone.com/news/hosting-java-web-applications-#comment-2570</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;If you&#039;ll pardon the shameless plug, I run dataslab.com, which provides a vps with 256M ram, 512M swap, and 20G disk for $20 (US) per month. &lt;/p&gt;&lt;p&gt;I wanted to note two things:&lt;/p&gt;&lt;p&gt;1. Those specs are excellent for running a tomcat instance.&lt;/p&gt;&lt;p&gt;2. The $20 price point is fairly common in the vps industry,  as are those specs. &lt;/p&gt;&lt;p&gt;It doesn&#039;t take too much looking to find a VPS provider with similar specs for the same price. The $30 mentioned in the article is above the norm. &lt;/p&gt;&lt;p&gt;That said, I would have no problem with putting 10 virtual hosted php sites onto a single VPS, whereas putting a tomcat instance I&#039;d recommend only one. Not that tomcat needs the full capacit, but that it&#039;s easier to manage those php virtual hosts.&lt;/p&gt;&lt;p&gt;I&#039;m also a developer, and generally prefer java over php. I wish there were a better story for deploying java web apps. To that end, I&#039;ve been working with OSGi, and I think there is something there worth using, but it&#039;s not yet at the point where it is easily deployed. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
 <pubDate>Wed, 09 Apr 2008 12:17:09 -0400</pubDate>
 <dc:creator>rk29</dc:creator>
 <guid isPermaLink="false">comment 2570 at http://java.dzone.com</guid>
</item>
<item>
 <title>whartung wrote:
PHP is cheap</title>
 <link>http://java.dzone.com/news/hosting-java-web-applications-#comment-2446</link>
 <description>&lt;!--paging_filter--&gt;&lt;div class=&quot;quote&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;whartung&lt;/em&gt; wrote:&lt;/div&gt;
PHP is cheap to host because most shared hosting plans serve idle applications with little traffic, and PHP only consumes resources (modulo disk space) on the system when there is traffic, rather than Java which consumes resources based on the number of hosted applications.&lt;/div&gt;

&lt;p&gt;Will, that&#039;s exactly the reason why PHP hosting is cheap and simple. This makes me conclude that if Java were to seriously compete with PHP on budget hosting it would be using a shared JVM hosting environment. This is the closest equivalent of the PHP model. You have one big JVM with all the available RAM allocated to it and, in theory, the web container manages the contexts as efficiently as possible. And the Java web application model does scale better than PHP.&lt;/p&gt;

&lt;p&gt;Yet we now that shared hosting is a nightmare. I see two reasons for this happening:&lt;br /&gt;
&lt;/p&gt;&lt;ol&gt;
&lt;li&gt;
Setting up such a web container is difficult and requires in-depth knowledge about Java and JVM internals, something the average hosting provider does not have. This could be solved by creating preconfigured standard packages of Tomcat/Resin/GlassFish etc. that are ready for such tasks.&lt;/li&gt;&lt;li&gt;There are technology limits on what the JVM and web containers can do in isolating web contexts and providing proper context lifecycle management (deploy/redeploy/undeploy).&lt;/li&gt;&lt;/ol&gt;I suspect the most unconfortable reason (number 2) to be the issue here. As a sidenote, I&#039;ve heard that GlassFish v3 will focus on this (see comment #2 from &lt;a href=&quot;http://weblogs.java.net/blog/ddevore/archive/2008/03/call_for_reason.html&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;), but I don&#039;t know specifics. Is there anyone more informed about this?</description>
 <pubDate>Mon, 07 Apr 2008 09:22:51 -0400</pubDate>
 <dc:creator>sky_HALud</dc:creator>
 <guid isPermaLink="false">comment 2446 at http://java.dzone.com</guid>
</item>
<item>
 <title>PHP apps are popular</title>
 <link>http://java.dzone.com/news/hosting-java-web-applications-#comment-2436</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;
PHP apps are popular because PHP hosting is cheap, and most PHP apps are more than adequate for the tasks that they perform for a majority of users. Technologists may care about the underlying implementation, but Users can care less. They look at bang/$ ratios, and PHP wins this game hands down.
&lt;/p&gt;&lt;p&gt;
PHP is cheap to host because most shared hosting plans serve idle applications with little traffic, and PHP only consumes resources (modulo disk space) on the system when there is traffic, rather than Java which consumes resources based on the number of hosted applications. That&#039;s why all of the &amp;quot;cheap&amp;quot; Java plans have no memory, and why all of the &amp;quot;cheap&amp;quot; plans are nigh worthless. PHP costs the host disk space for each virtual host, Java costs the host memory. I&#039;m sure you&#039;ve all compared prices between RAM sticks and hard drives recently...
&lt;/p&gt;&lt;p&gt;

And there is nothing to be done about it. It is simply the nature of the beast. Shared Java hosting is unreliable (as mentioned in the original article), unless you go VPS which is expensive for a system of reasonable size (much less finding one well configured, like the 512MB host with no swap -- practically unusable). PHP hosting is effectively free today. ($5/month hosts with gazillion GB of hard drive space).
&lt;/p&gt;&lt;p&gt;

Simply, it&#039;s a cost of doing business with Java and needs to be factored in to your calculations regarding adoption of it or not.
&lt;/p&gt;</description>
 <pubDate>Sun, 06 Apr 2008 13:19:52 -0400</pubDate>
 <dc:creator>whartung</dc:creator>
 <guid isPermaLink="false">comment 2436 at http://java.dzone.com</guid>
</item>
<item>
 <title>It is something to think</title>
 <link>http://java.dzone.com/news/hosting-java-web-applications-#comment-2433</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;It is something to think about and I have and it&#039;s only substantiates the hosting problem noted in the article.  There are fewer free java apps like drupal and joomla in part because of the hosting issue.  If you wrote a drupal in java you&#039;d surely need a dedicated server, because the app would mostly like be bloated with libraries that would easliy run through most of the heap space you get with most of these shared plans.  PHP&#039;s success, &lt;strong&gt;in part&lt;/strong&gt; ,can easily be attributed to its low cost of everything, tools and hosting.  Java&#039;s lack of success on the hosting side is clear, and this definitely has had an effect on the the what&#039;s available for java.  &lt;br /&gt;&lt;br /&gt;I suspect the drupal decision was made in part because of cost.  Javalobby appeared to be running on resin and some jive software, and probably some other stuff.  But the forum software and resin weren&#039;t always free.  I suspect JL was running on licensed $ software, not the free versions.  I also suspect when considering to update the site, the cost of java development vs the cost of using something like drupal made the decision easy from a cost/time perspective.&lt;/p&gt;&lt;p&gt; If you&#039;re an aspiring web developer, and you want to build the next great webapp, even if all else was equal , you have to consider where the app can and is likely to to be deployed.  To give yourself the best chance of success, you have to conclude that you have far more hosting options by choosing to not go with java.  &lt;br /&gt;&lt;br /&gt;I say all of that to simply agree, again, with the article&#039;s original point,  hosting java web apps is harder and more expensive than it needs to be.&lt;br /&gt;&lt;/p&gt;</description>
 <pubDate>Sun, 06 Apr 2008 12:14:35 -0400</pubDate>
 <dc:creator>sybrix</dc:creator>
 <guid isPermaLink="false">comment 2433 at http://java.dzone.com</guid>
</item>
<item>
 <title>gent wrote:Many webmasters</title>
 <link>http://java.dzone.com/news/hosting-java-web-applications-#comment-2424</link>
 <description>&lt;!--paging_filter--&gt;&lt;div class=&quot;quote&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;gent&lt;/em&gt; wrote:&lt;/div&gt;&lt;p&gt;Many webmasters discard  java hosting and switch to php hosting because most of godd quality scripts written by PHP. javalobby is a good example. (running on drupal) &lt;/p&gt;&lt;/div&gt;

&lt;p&gt;While I&#039;m skeptic about the quality of most publicly available PHP scripts, fact is that JavaLobby and the whole DZone network do run on Drupal (which incidentally has an above average code quality). This is something to think about indeed.&lt;/p&gt;</description>
 <pubDate>Sun, 06 Apr 2008 05:43:54 -0400</pubDate>
 <dc:creator>sky_HALud</dc:creator>
 <guid isPermaLink="false">comment 2424 at http://java.dzone.com</guid>
</item>
<item>
 <title>Kattare.com has been hosting</title>
 <link>http://java.dzone.com/news/hosting-java-web-applications-#comment-2422</link>
 <description>&lt;!--paging_filter--&gt;Kattare.com has been hosting my Java applications with minimal effort on my part for 3 years!  Check them out!</description>
 <pubDate>Sun, 06 Apr 2008 03:56:49 -0400</pubDate>
 <dc:creator>smayzak@centerstance.com</dc:creator>
 <guid isPermaLink="false">comment 2422 at http://java.dzone.com</guid>
</item>
<item>
 <title>I&#039;m using free java host</title>
 <link>http://java.dzone.com/news/hosting-java-web-applications-#comment-2419</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;I&#039;m using free java host from &lt;a href=&quot;http://www.jdy.net/&quot;&gt;http://www.jdy.net/&lt;/a&gt; for testing my jsp application . &lt;/p&gt;&lt;p&gt;LunarPages is using resin as java container.   &lt;/p&gt;&lt;p&gt;Many webmasters discard  java hosting and switch to php hosting because most of godd quality scripts written by PHP. javalobby is a good example. (running on drupal) &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
 <pubDate>Sun, 06 Apr 2008 01:03:54 -0400</pubDate>
 <dc:creator>gent</dc:creator>
 <guid isPermaLink="false">comment 2419 at http://java.dzone.com</guid>
</item>
</channel>
</rss>
