12월, 2011의 게시물 표시

From Spring to Java EE6

** This article is from the javacodegeeks.com

I recently worked on a quite complex project mixing many Java EE 6 technologies (such as JPA, JAXB, JMS, JTA, JAX-RS, etc...). For productivity and planning reasons, the prototyped application was designed as a standalone pure Spring application. When the development of the real application started, we re-challenged our initial choice (i.e. Spring v3) and analyzed the interest of switching to a Java EE 6 app server like GlassFish or JBoss.
This finally ended up in two major questions:can we do in Java EE 6 everything we can do in Spring ?can we do that as easy as in Spring ?

Well, I would say that, globally, the answer is: yes we can !

I do not want to reopen the (endless) debate of knowing which one, between Spring and Java EE 6, is the best. No, I just want to share with you my experience regarding this migration. I was - and I am still - a real Spring fanboy (which I, historically speaking, discovered after having been literally disgusted …