Upgrade to Pro — share decks privately, control downloads, hide ads and more …

JEEConf - Spring 4, Java EE 7 or Both? @JEEConf...

JEEConf - Spring 4, Java EE 7 or Both? @JEEConf 2014

Slides from talk at JEEConf 2014 in Kiev.

ivargrimstad

May 24, 2014
Tweet

More Decks by ivargrimstad

Other Decks in Programming

Transcript

  1. @ivar_grimstad JEEConf 2014 Timeline 1998 2014 JPE J2EE 1.2 J2EE

    1.3 J2EE 1.4 Java EE 5 Java EE 6 Java EE 7 Spring Spring 1 Spring 2 Spring 3 Spring 4
  2. @ivar_grimstad JEEConf 2014 JMS 2.0 @Stateless public class Foo {

    ! @Inject private JMSContext context; ! @Resource(lookup=“jms/MyQueue”) private Queue queue; }
  3. @ivar_grimstad JEEConf 2014 Create a Spring 4 Application Rewrite it

    to Java EE 7 Combine the two approaches Run them in different application servers WildFly, GlassFish, Tomcat Contents
  4. @ivar_grimstad JEEConf 2014 Spring 4 + Java EE 7 Config

    @Configuration @ComponentScan(“eu.agilejava.both”) @ApplicationPath(“api”) public class ApplicationConfig extends Application { }
  5. @ivar_grimstad JEEConf 2014 Spring 4 + Java EE 7 Portability

    Configuration changes No code changes New dependencies (pom.xml)