Posts Tagged ‘vaadin’

Rich Internet Applications – HTML or plugins

Sunday, May 2nd, 2010

At present timer there is pretty much two ways to create Rich Internet Applications on the Internet. Either you use HTML (and CSS, JavaScript, AJAX, etc.) or you use a plugin (Flash, Silverlight, etc.). HTML5 is not supported well enough cross the browsers to be a viable solution for now and Silverlight doesn’t have the same browser penetration as the Flash player, so it is pretty much down to the battle between Flash (Flex) or AJAX.

On a daily basis I mainly use Flex to develop our Rich Internet Applications (RIAs), but the tools for building RIAs with AJAX have become much more stable and cross browser supported. And with big companies behind things like GWT from Google and YUI from Yahoo, it is now perfectly possible to build stable RIA solutions with AJAX. As Google (among others) have proven for years of course.

Lately I have been attracted to the Vaadin framework. With Vaadin it is possible to build RIAs without writing a single line of Javascript (or ActionScript) code. All code is written in Java and all HTML, Javascript and AJAX is generated automatically. Vaadin uses the GWT for the frontend and thus relies on AJAX as the RIA solution. Furthermore Vaadin comes with a lot of useful common widgets, that can be easily integrated into your project and it is pretty straightforward to build your own reusable widgets.

Coming from a Java background I find Vaadin interesting and have started to build a small application to try the technology. But instead of building a little example application, I want to build a real working application and do it “the right way”, using the familiar technologies: Spring, Hibernate, etc. and using a proper MVC structure to make a proper separation of concerns in the frontend.

Post to Twitter

Apache Tomcat Runtime environment installation in Eclipse

Sunday, April 11th, 2010

Recently while playing with vaadin I had the need for Apache Tomcat Runtime environment in my Eclipse installation.

The problem was, that when I created a new Dynamic Web Project, I didn’t have any Apache Tomcat target runtime installed. And when selecting: New… it would only show the Basic folder and no Apache.

It didn’t exist as default and following the tutorial on vaadin didn’t help. After looking around and wasting a lot of time I managed to get it installed in Eclipse like this:

1. Go to: Help -> Install New Software
2. Select (or add): “http://download.eclipse.org/releases/galileo”
3. Check the following: “JST Server Adapters” (there are two)

Now the adapters are installed, but not configured. Configuration is like this:

4. Go to: Eclipse -> Preferences (I am on a Mac)
5. Select: Server -> Runtime Environment
6. Click: “Add…”
7. Select: Apache -> Apache Tomcat v6.0 (or choose the version you need)

And finally, when I create a Dynamic Web Project, I can click: New… and select the Tomcat Runtime I need.

Post to Twitter