27 Juni 2008

EclipseLink no longer incubator project

Tonight EclipseLink graduated from incubator to a "real" Eclipse project.

EclipseLink is based on Oracles TopLink which was donated to Eclipse. We at Swiss Railways are using TopLink since 2001. Historically TopLink was developed by the The Object People (thats the Top part in TopLink) . Then it was overtaken by WebGain (VisualCafe if someone can remember) and finally after the disappearance of WebGain Oracle took TopLink and made it a part of their application server product. (btw VisualCafe was taken by Borland to get WebGains customers)

Read more on EclipseLink project website

26 Juni 2008

Simon @ Jazoon #2

Yesterday the program at Jazoon was quite ok. Ted Neward held a keynote about "Rethinking Enterprise". He's a great speaker the speech was very enjoyable. The many message was that most people are using some sort of pattern to match new requirements (eg. to a software architecture) with known cases. It would be better to have a higher view to the problem and then to try choosing the appropriate solution.

Then Juergen Hoeller presented the new features of Spring 2.5. In short the main advantage of this release is that you no longer need any XML configuration file. One can do all the config stuff using annotations. (And yes, they do support the common annotations of Java EE!)

Today the keynote was presented by Joshua Bloch. He has finished his new Effective Java Book and talked about wildcards in generics and the correct use of enumerations.
After that Dan Allen held a speech about bijection in JBoss Seam. Very interesting extension of the common dependency injection pattern.

The last session I went in was Adam Biens speech about Glassfish. I must say that from day to day I like Glassfish more, because it's very simple to use and the deployment is quite very fast.

In conclusion this years Jazoon was better than the one last year, but there is a long way to reach the quality of a conference like JAX! But hopefully I'll be there next year...

24 Juni 2008

Simon @ Jazoon #1

This week I'll be at Jazoon in Zurich.

Yesterday (Monday) I was on a tutorial about Glassfish and I was very impressed about this application server. Currently I think, that Glassfish is the most innovative Java EE server on the market.
On Thursday I will visit a session of Adam Bien about Glassfish. More about it then.

Today (Tuesday) there was an opening session with three very interesting key notes. In the first one Martin Odersky held a speech about his programing language Scala. It's a very interesting but in my opinion very academic approach to use Java more dynamic.

In the second key note Simon Phipps form Sun talked about how Java became open source and the benefits of open source software in the hole. This was really a good speech!

The third and last speech was held by Rod Johnson founder of SpringSource (formerly Interface21) and the man behind Spring Framework.
I was a big fan of Spring Framework since 2005. "Was" because in my opinion SpringSource is moving from a very innovative startup building a great framework to a normal application server vendor.
Rod talked about Java EE 6 profile capability. There are three possible profiles:
  • A: Webcontainer eg. Tomcat
  • B: Webcontainer plus JPA, JTA, JSF and some more eg. SpringSource Application Platform or JBoss Seam
  • C: fully featured application server eg. Glassfish
The confusion for me is in the fact, that Rod sayes EJB is useless (he always said that and with EJB 2.1 and earlier I totally agreed!) but in contrast the SpringSource Application Platform uses also a sort of component container: Spring BeanFactory.
Why not use the "standard" component model of Java EE: EJB 3.x?

Comparing SpringSource Application Platform as a member of Profile B to Glassfish as a member of Profile C I think that Glassfish is the better choice. Even if you don't use all the features that comes with it - you will have it on board. Addional to that the newest version of Glassfish is embeddable and it starts very fast.

So I'm curios about the future of Spring and EJB 3.x. Maybe one day they will come together...

17 Juni 2008

First steps with Google App Engine

This evening I discovered Google App Engine.
It's a complete application platform using Python, YAML and some Google API.
With the Google API one can create web applications incl. template engine and persistence and one can make use of the Google users.
It also provides a "Dashboard" where one can configure and monitor the applications.

I followed the tutorial and created my first app a simple guestbook.
My first opinion is, that Google App Engine is a great environment for developing smaller web applications. But I don't have any idea how usefull it will be for bigger applications...

Try it out and let me know what you are thinking!

15 Juni 2008

Heavyweight EJB?

Today I read a post in Adam Biens blog about heavyweightness of EJBs.

His conclusion is that EJB are even lightweight as any other "container" such as Spring, Guice, Pico etc.

And I think his right because the only thing that is really to heavy is the application server and its overloaded functionality! For example IBMs WebSphere with all the possibilities to cluster and and other things that smaller application normally doesn't nead!
But there are better options such as Glassfish.

If I reflect the only feature I really need from frameworks like Spring is Dependency Injection. And this is also provided by EJB3. Additional I need a Persistence Framework such as JPA - but stop - this is also EJB3 and it doesn't matter if I use Spring or EJB3. In contrast with EJB3 I have the Dependency Injection of the EntityManager and this is a big advantage!
Adam writes that Glassfish V3 will be embedable. Then it's no problem to do any JUnit-Tests with my EJBs!

My conclusion is that EJB3 are simpler to use than frameworks like Spring and they have a main advantage: they are based on a standard! So why using any other non standard framework?