Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
JEEConf - Spring 4, Java EE 7 or Both? @JEEConf...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
ivargrimstad
May 24, 2014
Programming
2.3k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
JEEConf - Spring 4, Java EE 7 or Both? @JEEConf 2014
Slides from talk at JEEConf 2014 in Kiev.
ivargrimstad
May 24, 2014
More Decks by ivargrimstad
See All by ivargrimstad
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
780
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
870
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
1.1k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
880
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
930
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
2k
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
1.5k
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
1.5k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
1.6k
Other Decks in Programming
See All in Programming
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
140
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
130
TSKaigi Night Talks 2026_TypeScriptでサプライチェーンの整合性を型に閉じ込める
geekplus_tech
0
400
Developing with AI Agents — Codex, Claude Code & Cowork Practical Guide
x5gtrn
PRO
0
1.3k
RTSPクライアントを自作してみた話
simotin13
0
620
なぜ型を書くのか? TSKaigi2026で改めて考える #tskaigi_smarthr
kajitack
0
100
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
260
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.7k
AIだと陥りがちなJakarta EE最新技術への移行時の落とし穴と解決策
tnagao7
0
110
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
200
C# and C++ Interoperability - cho-dotnetnew
harukasao
0
290
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
550
Featured
See All Featured
Chasing Engaging Ingredients in Design
codingconduct
0
220
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
150
Designing for Timeless Needs
cassininazir
1
260
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
620
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Agile that works and the tools we love
rasmusluckow
331
21k
Google's AI Overviews - The New Search
badams
0
1k
GraphQLとの向き合い方2022年版
quramy
50
15k
The Limits of Empathy - UXLibs8
cassininazir
1
360
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
160
Transcript
@ivar_grimstad JEEConf 2014 Spring 4, Java EE 7 or Both?
Ivar Grimstad
@ivar_grimstad JEEConf 2014
@ivar_grimstad JEEConf 2014 Spring 4 Java EE 7 Combining Spring
4 with Java EE 7 Contents
@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
@ivar_grimstad JEEConf 2014 Spring Framework 4
@ivar_grimstad JEEConf 2014
@ivar_grimstad JEEConf 2014 XML ?
@ivar_grimstad JEEConf 2014 Annotations and JavaConfig to the Rescue
@ivar_grimstad JEEConf 2014 New in Spring Framework 4
@ivar_grimstad JEEConf 2014
@ivar_grimstad JEEConf 2014 Java 8 Support
@ivar_grimstad JEEConf 2014 @Repeatable @Fruit(1) @Fruit(2) class Bowl {} !
@Fruits({@Fruit(1), @Fruit(2)}) class Bowl {}
@ivar_grimstad JEEConf 2014 Callback Interfaces interface RowMapper<T> { T mapRow(ResultSet
rs, int rowNum); }
@ivar_grimstad JEEConf 2014 Java EE 7 Support Java EE 6
Support
@ivar_grimstad JEEConf 2014 Groovy Bean Definition Language
@ivar_grimstad JEEConf 2014 Core Container Improvements @Autowired private Foo<Integer> i;
! @Autowired private Foo<String> s;
@ivar_grimstad JEEConf 2014 Web Improvements @Controller @ResponseBody public Response foo()
{} @RestController public Response foo() {}
@ivar_grimstad JEEConf 2014 WebSockets spring-websocket ! spring-messaging
@ivar_grimstad JEEConf 2014 Java EE 7
@ivar_grimstad JEEConf 2014 Java EE 7 Focus Areas
@ivar_grimstad JEEConf 2014 Developer Productivity
@ivar_grimstad JEEConf 2014 Simplicity @Stateless public class Foo {}
@ivar_grimstad JEEConf 2014 HTML 5
@ivar_grimstad JEEConf 2014 WebSockets @ServerEndpoint public class Foo {}
@ivar_grimstad JEEConf 2014 Meeting Enterprise Demands
@ivar_grimstad JEEConf 2014 JMS 2.0 @Stateless public class Foo {
! @Inject private JMSContext context; ! @Resource(lookup=“jms/MyQueue”) private Queue queue; }
@ivar_grimstad JEEConf 2014 Overview
@ivar_grimstad JEEConf 2014 Compatibility
@ivar_grimstad JEEConf 2014 Mixing Spring 4 with Java EE 7
@ivar_grimstad JEEConf 2014 Java EE 7 vs Spring 4
@ivar_grimstad JEEConf 2014 Spring 4 vs Java EE 7
@ivar_grimstad JEEConf 2014 Spring 4
@ivar_grimstad JEEConf 2014 Java EE 7
@ivar_grimstad JEEConf 2014 Spring 4 + Java EE 7
@ivar_grimstad JEEConf 2014 DEMO !
@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
@ivar_grimstad JEEConf 2014 Summary Summary
@ivar_grimstad JEEConf 2014 Spring 4 Config @Configuration @ComponentScan(“eu.agilejava.spring4”) @EnableWebMvc public
class ApplicationConfig extends WebMvcConfigurerAdapter { }
@ivar_grimstad JEEConf 2014 Java EE 7 Config @ApplicationPath(“api”) public class
ApplicationConfig extends Application { }
@ivar_grimstad JEEConf 2014 Spring 4 + Java EE 7 Config
@Configuration @ComponentScan(“eu.agilejava.both”) @ApplicationPath(“api”) public class ApplicationConfig extends Application { }
@ivar_grimstad JEEConf 2014 Spring 4 Portability No configuration changes No
code changes New dependency (pom.xml)
@ivar_grimstad JEEConf 2014 Java EE 7 Portability Minor configuration changes
No code changes No new dependencies (pom.xml)
@ivar_grimstad JEEConf 2014 Spring 4 + Java EE 7 Portability
Configuration changes No code changes New dependencies (pom.xml)
@ivar_grimstad JEEConf 2014 Spring 4 is more portable Conclusion
@ivar_grimstad JEEConf 2014 Java EE 7 requires less configuration Conclusion
@ivar_grimstad JEEConf 2014 Java EE 7 requires less dependencies Conclusion
@ivar_grimstad JEEConf 2014 Mixing is possible Conclusion
@ivar_grimstad JEEConf 2014 Favor one framework over mixing
@ivar_grimstad JEEConf 2014 https://github.com/ivargrimstad/spring-javaee Sources
@ivar_grimstad JEEConf 2014 cybercom.com