{"id":46,"date":"2005-02-17T12:06:48","date_gmt":"2005-02-17T17:06:48","guid":{"rendered":"http:\/\/www.killersites.com\/blog\/?p=46"},"modified":"2017-02-23T10:07:53","modified_gmt":"2017-02-23T15:07:53","slug":"java-hosting-is-kicking-my-ass","status":"publish","type":"post","link":"https:\/\/www.killersites.com\/blog\/2005\/java-hosting-is-kicking-my-ass\/","title":{"rendered":"Java hosting is kicking my ass!"},"content":{"rendered":"<p>For the last 6 years I&#8217;ve had total control over my deployment environment (running my own servers,) and never had a problem with Java. <\/p>\n<p>Recently I moved to commercial 3rd party hosting, where I had a private JVM but no control over my server set up. To make a long story short, I have now been dealing with Java deployment hell &#8230; Java is not playing nice.<\/p>\n<p><strong>My experience<\/strong><\/p>\n<p>After 6 years of enjoying the comforts of having my own server, for whatever reasons, I moved to 3rd party hosting. What took me by surprise was how hard it was to find a suitable Java hosting company. I went through 4 before I found a company that actually was able to do the job properly.<\/p>\n<p>&#8211;<\/p>\n<p>One of the big selling points of Java has been the write once and run everywhere theory &#8211; sounds great and apparently people have had a lot of success with this &#8230; but my experience has been something else.<\/p>\n<p><strong>A couple of tips:<\/strong><\/p>\n<ul>\n<li>If you can, deploy on your own servers: Java is much easier to handle when you control the box.<\/li>\n<li>Never go with Java hosting that shares the JVM.<\/li>\n<\/ul>\n<p>Without a private JVM, you cannot restart the server (Tomcat, Resin etc) and so updating classes and property files are a pain. And since you are sharing the JVM, anybody&#8217;s code might take your app down. <\/p>\n<p><strong>Anecdote:<\/strong> With the first host, when I uploaded my simple POJO based application (that had been working on my servers for a couple years with no problems) I took down the whole bloody server! Strange that this still happened despite the fact I had had the same configuration?<\/p>\n<p>Anyway, they gave my ass the boot and I had to move on to my next victim! <\/p>\n<p>\ud83d\ude42<\/p>\n<p><strong>Conclusion:<\/strong> <\/p>\n<p>Java is brittle in a shared environment, hard to configure and problematic &#8211; it sucks. I think this is a symptom of the Java community&#8217;s need to over-engineer everything and shows how Java is no longer suitable for small and medium size application development.<\/p>\n<p><strong>The alternative:<\/strong><\/p>\n<p>Right now I would go with PHP because it is easy, fast and everywhere. It&#8217;s not the perfect language but it makes building web applications really easy compared to Java. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>For the last 6 years I&#039;ve had total control over my deployment environment (running my own servers,) and never had a problem with Java. Recently I moved to commercial 3rd party hosting, where I had a private JVM but no control over my server set up. To make a long story short, I have now been dealing with Java deployment hell &#8230; Java is not playing nice.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/posts\/46"}],"collection":[{"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/comments?post=46"}],"version-history":[{"count":2,"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/posts\/46\/revisions"}],"predecessor-version":[{"id":4786,"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/posts\/46\/revisions\/4786"}],"wp:attachment":[{"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/media?parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/categories?post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.killersites.com\/blog\/wp-json\/wp\/v2\/tags?post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}