<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>lando.blog &#187; Java Framework</title>
	<atom:link href="http://www.landoweb.com/tag/java-framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.landoweb.com</link>
	<description>The ramblings of an almost madman</description>
	<lastBuildDate>Mon, 28 Jun 2010 09:42:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Want Some Guice? Yes Please..</title>
		<link>http://www.landoweb.com/2009/06/12/want-some-guice-yes-please/</link>
		<comments>http://www.landoweb.com/2009/06/12/want-some-guice-yes-please/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 10:09:36 +0000</pubDate>
		<dc:creator>Landon</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[cool]]></category>
		<category><![CDATA[Google Guice]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Java Framework]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://www.landoweb.com/?p=328</guid>
		<description><![CDATA[I don&#8217;t know if you guys ever watch the Google IO presentations but if you don&#8217;t you should because sometimes you find a gem. Guice is one of those gems. Guice is a lightweight Java dependency injection framework (not another one I hear you cry) but it does look very interesting. Take a look at [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know if you guys ever watch the Google IO presentations but if you don&#8217;t you should because sometimes you find a gem. <a title="Google Guice" href="http://code.google.com/p/google-guice/" target="_blank">Guice</a> is one of those gems. <a title="Google Guice" href="http://code.google.com/p/google-guice/" target="_blank">Guice</a> is a lightweight Java dependency injection framework (not another one I hear you cry) but it does look very interesting. Take a look at the video if you have time.</p>
<p><object width="425" height="344" data="http://www.youtube.com/v/hBVJbzAagfs&amp;hl=en&amp;fs=1&amp;color1=0x006699&amp;color2=0x54abd6" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/hBVJbzAagfs&amp;hl=en&amp;fs=1&amp;color1=0x006699&amp;color2=0x54abd6" /><param name="allowfullscreen" value="true" /></object></p>
<p>Those of you that read this blog regularly will know that I have been moaning about Java web development for a while because it takes more time setting stuff up than it does actually coding the thing and it puts me off. I have been threatening the world that I would be working on my own framework but I now may not have to because <a title="Google Guice" href="http://code.google.com/p/google-guice/" target="_blank">Guice</a> actually seems to have most of the things that I was looking for. I am going to take a further look and see if their are any more cool things or any concerns.</p>
<p>It fits well with the new <a title="Google Java App Engine API" href="http://code.google.com/appengine/docs/java/gettingstarted/" target="_blank">Java app engine api</a> as you would expect and the very cool thing I liked is <a title="Google Web Toolkit" href="http://code.google.com/webtoolkit/" target="_blank">GWT</a> with GIN that can actually compile your modules/injections to Javascript so that they can be used to write the client side interface. I found that rather cool. There are a few pieces missing such as the ability to compile down method injections but in the video they confirmed this is coming soon. I now think that the app engine has finally reached the stage where I would be interested in releasing apps onto it and would recommend it to others. Yeah there are plenty of concerns about data privacy but the same can be said with any cloud environment and especially one that is hosted in the USA. As far as I see it, as long as your app is not storing data critical to national safety I don&#8217;t see a problem <img src='http://www.landoweb.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So, I am currently setting it up, will write an app, release it onto the app engine and write something about it here with any insights I may have.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landoweb.com/2009/06/12/want-some-guice-yes-please/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java Rocks (and Sucks)</title>
		<link>http://www.landoweb.com/2009/05/06/java-rocks-and-sucks/</link>
		<comments>http://www.landoweb.com/2009/05/06/java-rocks-and-sucks/#comments</comments>
		<pubDate>Wed, 06 May 2009 12:58:31 +0000</pubDate>
		<dc:creator>Landon</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[developing Java web apps]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Java Framework]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.landoweb.com/?p=247</guid>
		<description><![CDATA[I have been helping out a friend by creating some software for a business that he is starting. Once again I have been going through the process of choosing a suitable platform but, to be honest I wish I hadn&#8217;t bothered now. I had been trying to convince myself to use Java because I love [...]]]></description>
			<content:encoded><![CDATA[<p>I have been helping out a friend by creating some software for a business that he is starting. Once again I have been going through the process of choosing a suitable platform but, to be honest I wish I hadn&#8217;t bothered now. I had been trying to convince myself to use Java because I love it &#8211; mainly because it is ace, has the potential to rock and because I know it best (perhaps the last one is more of an objective reason). So why is it that I have not yet used it for any of my own web projects? Developing Java web apps? Because I think it is just too much hassle to get going. There is so much stuff to setup even before you actually start coding it puts me off every time. I want to be able to get going immediately with what&#8217;s in my head. The last time I gave Java a chance I got that bored after having set everything up and learning what everything was that I gave up with the project pretty much soon after. I just keep wishing that someone would start a Java framework/platform from the ground up that is not based on JEE (well perhaps just some of the best bits). There are no reasons why Java could not have a framework that would trample all over Rails/Django or in the very least be as enjoyable.</p>
<p>It is worth noting though that if I were writing software that was ultimately critical (such as banking software etc) I would not use anything else (.Net would be suitable but it would take a while for me to get to the same level of experience) because this is where all that configuration and power makes sense and allows applications to scale easily, allowing disparate groups from different locations to easily work on the software. The sheer amount of professional tools available for Java projects is also amazing and I have gotten so use to some of them that when writing in another language I miss them. Eclipse is a god send (Netbeans is not too shabby either) and I miss it greatly when working in other languages. This even includes when an eclipse plugin is available to use. They are just never as polished as the standard Java editor, even though a lot of them are very good (so don&#8217;t take this as some sort of insult).</p>
<p>Let&#8217;s face it, in reality most web applications that you work on these days are relatively simple in nature. Usually you are taking information -&gt; processing -&gt; displaying in some simple fashion. For this kind of use why would you need to be running a JEE server + Spring + Framework(struts et al) + &#8230;.. ? Let&#8217;s face it, most companies ditch the full stack servers and go with a plain servlet engine (tomcat). For most projects it always seems like an overkill. I would prefer to see a very simple (but production capable) web server that is capable of running a variety of simple but powerful frameworks that adhere to some standard (like WSGI on python) all written in Java. I think this would increase the use of Java in the web space by a huge amount. Companies that trust Java would choose it over buzz word frameworks any day of the week and for good reason as well.</p>
<p>By the way, all this moaning does not mean that I am saying that any of the other languages or frameworks are rubbish. Quite contrary actually because they have managed to fill this gap that Java could have so easily filled years ago. In the end I decided to use RoR for my friends business just because I could start work on it immediately and show him results. Everyone seems happy with that. For the kind of app it is, it will never go crazy and need to scale like your facebook or twitter so that&#8217;s one less thing to worry about. The application has already been designed so that nothing is shared from the beginning allowing requests to be forwarded to any server providing enough scale for what it will be used for. Using RoR (would be the same with Django) I have managed to get the main application skeleton (different users, authentication, signups with verification/states/file upload, admin sections and much more) up and running within a week of working in my spare time. The last time I tried using Java it took this long just to get up and running.</p>
<p>Some of you might be shouting that it could be that I am lacking experience developing Java web apps, and you would be both right and wrong. I develop software for Java web applications all day long but, they have already been setup and I just add new functionality and fix bugs etc. But why is it that my most experience is with Java but I find it tiresome developing web apps for it? Yet I had no Ruby/Python experience at the time but found the whole experience developing with Rails/Django a much easier and enjoyable experience??</p>
<p>So what does all this mean?? Well if anybody is perhaps interested in rectifying this situation and working on a Java open source web server and framework then leave a comment expressing your interest. If we can get enough people interested (I am guessing about 3-4 people to start with) we might as well go ahead and do it ourselves. It would be interesting, we will learn loads and it will finally shut me up moaning about Java frameworks all the time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landoweb.com/2009/05/06/java-rocks-and-sucks/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Custom Java Web Framework</title>
		<link>http://www.landoweb.com/2008/03/31/custom-java-web-framework/</link>
		<comments>http://www.landoweb.com/2008/03/31/custom-java-web-framework/#comments</comments>
		<pubDate>Mon, 31 Mar 2008 20:18:52 +0000</pubDate>
		<dc:creator>Landon</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Java Framework]]></category>

		<guid isPermaLink="false">http://www.landoweb.com/?p=70</guid>
		<description><![CDATA[I mentioned a while back that I had the beginnings of a new web framework in Java, and I have managed to get a little bit more work done on it since then. It&#8217;s still not ready to launch anything but as soon as it is I will host it on my machine and let [...]]]></description>
			<content:encoded><![CDATA[<p>I mentioned a while back that I had the beginnings of a new web framework in Java, and I have managed to get a little bit more work done on it since then. It&#8217;s still not ready to launch anything but as soon as it is I will host it on my machine and let you take a look. I have always been a great believer in not reinventing the wheel, so you might be asking &#8220;why the heck have you done this then?&#8221; and the answer is I never intended to do it. I started playing one day, and then started playing some more, adding this and that until it turned into a mini project.</p>
<p><span id="more-70"></span>I do like the idea of completely understanding your chosen framework though because having used a few now it is really annoying not understanding how some things work and having to read all the source code (if available) just to get an idea. That would probably be my biggest problem with Rails. All the &#8220;magic&#8221; gets in the way. I know that the &#8220;magic&#8221; is completely optional, but the problem is everyone gets used to it and show examples using it and then when you want to learn how to overwrite it you have to read the documentation, and most of the time the source code. That&#8217;s one reason for liking PHP as the magic is not there really and it is pretty easy to see where stuff is being loaded from etc. The truth is that I will never like any of them as much as I like Java though. I absolutely love to code in Java and I understand it more than any other language. My problem is that J2EE is just way too much &#8211; way way too much, especially for consumer applications. From what I have heard from Carl, he says that Spring is very good and I believe him as I have had a look at it in the past and was impressed.</p>
<p>I love some of the libraries available in Java and I am trying to integrate them into the framework, such asÂ  Hibernate and apache logging among many others. My main purpose is trying not reinvent things too much. Why try to create n amazing web server? I mean if I spent enough time working on it I am sure that I could, but what&#8217;s the point when Apache is so good and has so many modules available for all purposes? I want to create a simple single threaded web server that I can then then cluster over an apache web server to create hopefully a more easily scalable framework, but at the same time really simple. I am going to be working on a few scripts that will easily create the clusters config files and also the start, restart and stop scripts based on the developers options, a bit like what can be done in Rails with mongrel. There are a few other tools out there that can be used that will monitor particular processes and report, restart or pretty much do whatever you want if they fail, stop or use too much memory. The main task that I have to do is write my own scripting language. I want this to be as simple as possible, and to be honest if there already exists a nice one (I have not yet looked) I will definitely consider integrating that. Although again, I would like to be able to do my own as I would then fully understand how it works and can quickly fix/update it. After all the framework is for me, not everyone else so I don&#8217;t really care what other people would say about what libraries I use.</p>
<p>Anyway, I will keep you up-to-date when things happen but don&#8217;t expect it to be any time soon. I am trying to actually find something which pays and this is not it (well not yet anyway &#8211; I wish <img src='http://www.landoweb.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  )Â  plus it&#8217;s only for fun (but very interesting).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landoweb.com/2008/03/31/custom-java-web-framework/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 4.179 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-07-29 22:16:38 -->
