SlideShare ist ein Scribd-Unternehmen logo
1 von 11
JAVA EE 7 The new features of 
the Enterprise Edition
OUR AGENDA 
• Overview of the new features 
• JSF 2.2 
• CDI 1.1, EJB 3.2, JPA 2.1 
• Bean Validation 1.1 
• JMS 2.0 
• JSON-P, JAX-RS 2.0, Batch 
• Example application using 
WebSockets
JSF 2.2 
renders HTML5 
<h:inputText value="#{bean.value}" > 
<f:passThroughAttribute name="placeholder" 
value="Enter text" /> 
</h:inputText> 
CDI ViewScope / Managed Beans deprecated 
Faces Flow
CDI 1.1, EJB 3.2 & JPA 2.1 
@Transactional-Annotation 
But: Still no annotations for EJB Security 
CDI: Priority ordering of Interceptors and Decorators 
JPA: Stored Procedures and DB-Functions in JPQL
METHOD LEVEL VALIDATION 
Part of Bean Validation 1.1 
@NotNull 
public MyObject createMyObject( 
@Size(min=5, max=40) String name, 
@DecimalMin(value="1.00") Double value, 
@Pattern(regexp="d{8}") String code) {... 
RuntimeException if validation fails
JMS 2.0 
@Inject 
@JMSConnectionFactory("jms/connection 
Factory") 
private JMSContext context; 
@Resource(mappedName = 
"jms/inboundQueue") 
private Queue inboundQueue; 
public void sendMessage(String payload) 
{ 
context.send(inboundQueue, 
payload);
MORE STUFF 
Java API for JSON Processing (JSR 353) 
 Standard for parsing / transforming JSON 
 similar to Jackson, GSON 
Batch Applications (JSR 352) 
 Standard for batch processing 
JAX-RS 2.0 
 finally a REST-Client
JAVA API FOR WEBSOCKETS 
 Standard for fast low-level communication 
 Specified in JSR 356 
 Bidirectional communication between two endpoints (no 
client/server) 
 Sessions with unique IDs 
 Directly over TCP (could use SSL/TLS), No HTTP, no Overhead 
 Initial Handshake via HTTP Upgrade 
 Asynchronous (returns Future) and synchronous API 
 Transfers text or binary, Java objects must be de/encoded
LET‘S SEE...
WE ARE HIRING 
We are looking for Frontend and Backend Developers for 
our office in Taipei. 
Salary is above average. 
ExtJS or Java/Spring sounds fun? 
Working for the banking industry sounds interesting?
QUESTIONS? 
Please ask and don‘t hesitate to contact me 
Name: Marcus Schiesser 
Blog: www.marcusschiesser.de 
Email: marcus.schiesser@kosmossystems.com 
Code: github.com/marcusschiesser/javaee7-websocket 
More about the company: www.kosmos-banking.com/en

Weitere ähnliche Inhalte

Was ist angesagt?

ExpertTalks Manchester September 2018
ExpertTalks Manchester September 2018ExpertTalks Manchester September 2018
ExpertTalks Manchester September 2018Tessa Ledwith
 
Karate - MoT Dallas 26-Oct-2017
Karate - MoT Dallas 26-Oct-2017Karate - MoT Dallas 26-Oct-2017
Karate - MoT Dallas 26-Oct-2017Peter Thomas
 
JDBC: java DataBase connectivity
JDBC: java DataBase connectivityJDBC: java DataBase connectivity
JDBC: java DataBase connectivityTanmoy Barman
 
3rd Generation Web Application Platforms
3rd Generation Web Application Platforms3rd Generation Web Application Platforms
3rd Generation Web Application PlatformsNaresh Chintalcheru
 
GDSC Backend Bootcamp.pptx
GDSC Backend Bootcamp.pptxGDSC Backend Bootcamp.pptx
GDSC Backend Bootcamp.pptxSaaraBansode
 
Couchbase - Yet Another Introduction
Couchbase - Yet Another IntroductionCouchbase - Yet Another Introduction
Couchbase - Yet Another IntroductionKelum Senanayake
 
Александр Пашинский "Reinventing Design Patterns with Java 8"
Александр Пашинский "Reinventing Design Patterns with Java 8"Александр Пашинский "Reinventing Design Patterns with Java 8"
Александр Пашинский "Reinventing Design Patterns with Java 8"Anna Shymchenko
 
Tomáš Herceg "Entity Framework Core 2.1 – what’s new?"
Tomáš Herceg "Entity Framework Core 2.1 – what’s new?"Tomáš Herceg "Entity Framework Core 2.1 – what’s new?"
Tomáš Herceg "Entity Framework Core 2.1 – what’s new?"Fwdays
 
Karate - powerful and simple framework for REST API automation testing
Karate - powerful and simple framework for REST API automation testingKarate - powerful and simple framework for REST API automation testing
Karate - powerful and simple framework for REST API automation testingRoman Liubun
 
Karate - Web-Service API Testing Made Simple
Karate - Web-Service API Testing Made SimpleKarate - Web-Service API Testing Made Simple
Karate - Web-Service API Testing Made SimpleVodqaBLR
 

Was ist angesagt? (15)

ExpertTalks Manchester September 2018
ExpertTalks Manchester September 2018ExpertTalks Manchester September 2018
ExpertTalks Manchester September 2018
 
Jdbc connectivity in java
Jdbc connectivity in javaJdbc connectivity in java
Jdbc connectivity in java
 
Karate - MoT Dallas 26-Oct-2017
Karate - MoT Dallas 26-Oct-2017Karate - MoT Dallas 26-Oct-2017
Karate - MoT Dallas 26-Oct-2017
 
Seam Glassfish Perspective
Seam Glassfish PerspectiveSeam Glassfish Perspective
Seam Glassfish Perspective
 
JDBC: java DataBase connectivity
JDBC: java DataBase connectivityJDBC: java DataBase connectivity
JDBC: java DataBase connectivity
 
3rd Generation Web Application Platforms
3rd Generation Web Application Platforms3rd Generation Web Application Platforms
3rd Generation Web Application Platforms
 
Hibernate
HibernateHibernate
Hibernate
 
GDSC Backend Bootcamp.pptx
GDSC Backend Bootcamp.pptxGDSC Backend Bootcamp.pptx
GDSC Backend Bootcamp.pptx
 
Couchbase - Yet Another Introduction
Couchbase - Yet Another IntroductionCouchbase - Yet Another Introduction
Couchbase - Yet Another Introduction
 
Александр Пашинский "Reinventing Design Patterns with Java 8"
Александр Пашинский "Reinventing Design Patterns with Java 8"Александр Пашинский "Reinventing Design Patterns with Java 8"
Александр Пашинский "Reinventing Design Patterns with Java 8"
 
Node.js Introduction
Node.js IntroductionNode.js Introduction
Node.js Introduction
 
Tomáš Herceg "Entity Framework Core 2.1 – what’s new?"
Tomáš Herceg "Entity Framework Core 2.1 – what’s new?"Tomáš Herceg "Entity Framework Core 2.1 – what’s new?"
Tomáš Herceg "Entity Framework Core 2.1 – what’s new?"
 
Karate - powerful and simple framework for REST API automation testing
Karate - powerful and simple framework for REST API automation testingKarate - powerful and simple framework for REST API automation testing
Karate - powerful and simple framework for REST API automation testing
 
Karate - Web-Service API Testing Made Simple
Karate - Web-Service API Testing Made SimpleKarate - Web-Service API Testing Made Simple
Karate - Web-Service API Testing Made Simple
 
Jdbc
JdbcJdbc
Jdbc
 

Andere mochten auch

92 Turismo Rural de Navarra. Guía Práctica de Servicios, Alojamientos y Acti...
92  Turismo Rural de Navarra. Guía Práctica de Servicios, Alojamientos y Acti...92  Turismo Rural de Navarra. Guía Práctica de Servicios, Alojamientos y Acti...
92 Turismo Rural de Navarra. Guía Práctica de Servicios, Alojamientos y Acti...Casa Rural Urbasa Urederra en Navarra
 
EventSense: Capturing the Pulse of Large-scale Events by Mining Social Media ...
EventSense: Capturing the Pulse of Large-scale Events by Mining Social Media ...EventSense: Capturing the Pulse of Large-scale Events by Mining Social Media ...
EventSense: Capturing the Pulse of Large-scale Events by Mining Social Media ...Symeon Papadopoulos
 
RSM Erasmus University - Coaching of students
RSM Erasmus University - Coaching of studentsRSM Erasmus University - Coaching of students
RSM Erasmus University - Coaching of studentsDick Manuel
 
7 rajchenberg optimización cosecha
7 rajchenberg optimización cosecha7 rajchenberg optimización cosecha
7 rajchenberg optimización cosechasaldungaray
 
firmenbonitaet24
firmenbonitaet24firmenbonitaet24
firmenbonitaet24infoprimus
 
El Secreto de María - Luís Maria Grignion de Montfort
El Secreto de María - Luís Maria Grignion de MontfortEl Secreto de María - Luís Maria Grignion de Montfort
El Secreto de María - Luís Maria Grignion de MontfortLucas Lazarini
 
Iii feira das ciencias galego 2014
Iii feira das ciencias galego 2014Iii feira das ciencias galego 2014
Iii feira das ciencias galego 2014joseflorencio
 
MENTOREO Damián Carvajal
MENTOREO Damián CarvajalMENTOREO Damián Carvajal
MENTOREO Damián Carvajalagoradocentes
 
Climbing Denali, AK 2008
Climbing Denali, AK 2008Climbing Denali, AK 2008
Climbing Denali, AK 2008Jim Geiger
 
Improving the nitrogen responses of UK wheat varieties
Improving the nitrogen responses of UK wheat varietiesImproving the nitrogen responses of UK wheat varieties
Improving the nitrogen responses of UK wheat varietiesCIMMYT
 
Edificación sostenible
Edificación sostenibleEdificación sostenible
Edificación sosteniblesesestacions
 

Andere mochten auch (20)

92 Turismo Rural de Navarra. Guía Práctica de Servicios, Alojamientos y Acti...
92  Turismo Rural de Navarra. Guía Práctica de Servicios, Alojamientos y Acti...92  Turismo Rural de Navarra. Guía Práctica de Servicios, Alojamientos y Acti...
92 Turismo Rural de Navarra. Guía Práctica de Servicios, Alojamientos y Acti...
 
Otros Conceptos
Otros ConceptosOtros Conceptos
Otros Conceptos
 
EventSense: Capturing the Pulse of Large-scale Events by Mining Social Media ...
EventSense: Capturing the Pulse of Large-scale Events by Mining Social Media ...EventSense: Capturing the Pulse of Large-scale Events by Mining Social Media ...
EventSense: Capturing the Pulse of Large-scale Events by Mining Social Media ...
 
catalogo pt
catalogo ptcatalogo pt
catalogo pt
 
RSM Erasmus University - Coaching of students
RSM Erasmus University - Coaching of studentsRSM Erasmus University - Coaching of students
RSM Erasmus University - Coaching of students
 
Repaso historico
Repaso historicoRepaso historico
Repaso historico
 
Brugada
BrugadaBrugada
Brugada
 
7 rajchenberg optimización cosecha
7 rajchenberg optimización cosecha7 rajchenberg optimización cosecha
7 rajchenberg optimización cosecha
 
firmenbonitaet24
firmenbonitaet24firmenbonitaet24
firmenbonitaet24
 
El Secreto de María - Luís Maria Grignion de Montfort
El Secreto de María - Luís Maria Grignion de MontfortEl Secreto de María - Luís Maria Grignion de Montfort
El Secreto de María - Luís Maria Grignion de Montfort
 
Postive Leadership
Postive LeadershipPostive Leadership
Postive Leadership
 
Tutorial Git y Smart Git
Tutorial Git y Smart GitTutorial Git y Smart Git
Tutorial Git y Smart Git
 
Iii feira das ciencias galego 2014
Iii feira das ciencias galego 2014Iii feira das ciencias galego 2014
Iii feira das ciencias galego 2014
 
#TFT12: Oscar Corbelli
#TFT12: Oscar Corbelli#TFT12: Oscar Corbelli
#TFT12: Oscar Corbelli
 
MENTOREO Damián Carvajal
MENTOREO Damián CarvajalMENTOREO Damián Carvajal
MENTOREO Damián Carvajal
 
Climbing Denali, AK 2008
Climbing Denali, AK 2008Climbing Denali, AK 2008
Climbing Denali, AK 2008
 
ArticuloElFaroGallegoMarzo2016
ArticuloElFaroGallegoMarzo2016ArticuloElFaroGallegoMarzo2016
ArticuloElFaroGallegoMarzo2016
 
Me desconecto luego existo
Me desconecto luego existoMe desconecto luego existo
Me desconecto luego existo
 
Improving the nitrogen responses of UK wheat varieties
Improving the nitrogen responses of UK wheat varietiesImproving the nitrogen responses of UK wheat varieties
Improving the nitrogen responses of UK wheat varieties
 
Edificación sostenible
Edificación sostenibleEdificación sostenible
Edificación sostenible
 

Ähnlich wie Java EE 7 - New Features and the WebSocket API

What’s new in Java SE, EE, ME, Embedded world & new Strategy
What’s new in Java SE, EE, ME, Embedded world & new StrategyWhat’s new in Java SE, EE, ME, Embedded world & new Strategy
What’s new in Java SE, EE, ME, Embedded world & new StrategyMohamed Taman
 
Enterprise Java Web Application Frameworks Sample Stack Implementation
Enterprise Java Web Application Frameworks   Sample Stack ImplementationEnterprise Java Web Application Frameworks   Sample Stack Implementation
Enterprise Java Web Application Frameworks Sample Stack ImplementationMert Çalışkan
 
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)Boost Development With Java EE7 On EAP7 (Demitris Andreadis)
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)Red Hat Developers
 
Java EE 6 workshop at Dallas Tech Fest 2011
Java EE 6 workshop at Dallas Tech Fest 2011Java EE 6 workshop at Dallas Tech Fest 2011
Java EE 6 workshop at Dallas Tech Fest 2011Arun Gupta
 
JUG Berlin Brandenburg: What's new in Java EE 7?
JUG Berlin Brandenburg: What's new in Java EE 7?JUG Berlin Brandenburg: What's new in Java EE 7?
JUG Berlin Brandenburg: What's new in Java EE 7?gedoplan
 
Going Above JSF 2.0 with RichFaces and Seam
Going Above JSF 2.0 with RichFaces and SeamGoing Above JSF 2.0 with RichFaces and Seam
Going Above JSF 2.0 with RichFaces and SeamLincoln III
 
50 features of Java EE 7 in 50 minutes at Geecon 2014
50 features of Java EE 7 in 50 minutes at Geecon 201450 features of Java EE 7 in 50 minutes at Geecon 2014
50 features of Java EE 7 in 50 minutes at Geecon 2014Arun Gupta
 
Vaadin with Java EE 7
Vaadin with Java EE 7Vaadin with Java EE 7
Vaadin with Java EE 7Peter Lehto
 
50 New Features of Java EE 7 in 50 minutes
50 New Features of Java EE 7 in 50 minutes50 New Features of Java EE 7 in 50 minutes
50 New Features of Java EE 7 in 50 minutesArun Gupta
 
AAI-1713 Introduction to Java EE 7
AAI-1713 Introduction to Java EE 7AAI-1713 Introduction to Java EE 7
AAI-1713 Introduction to Java EE 7WASdev Community
 
AAI 1713-Introduction to Java EE 7
AAI 1713-Introduction to Java EE 7AAI 1713-Introduction to Java EE 7
AAI 1713-Introduction to Java EE 7Kevin Sutter
 
Java EE 8: On the Horizon
Java EE 8:  On the HorizonJava EE 8:  On the Horizon
Java EE 8: On the HorizonJosh Juneau
 
Java EE8 - by Kito Mann
Java EE8 - by Kito Mann Java EE8 - by Kito Mann
Java EE8 - by Kito Mann Kile Niklawski
 
Overview of Java EE 6 by Roberto Chinnici at SFJUG
Overview of Java EE 6 by Roberto Chinnici at SFJUGOverview of Java EE 6 by Roberto Chinnici at SFJUG
Overview of Java EE 6 by Roberto Chinnici at SFJUGMarakana Inc.
 
Vaadin 7 - Java Enterprise Edition integration
Vaadin 7 - Java Enterprise Edition integrationVaadin 7 - Java Enterprise Edition integration
Vaadin 7 - Java Enterprise Edition integrationPeter Lehto
 
Java EE 8 Update
Java EE 8 UpdateJava EE 8 Update
Java EE 8 UpdateRyan Cuprak
 
50 New Features of Java EE 7 in 50 minutes @ Devoxx France 2014
50 New Features of Java EE 7 in 50 minutes @ Devoxx France 201450 New Features of Java EE 7 in 50 minutes @ Devoxx France 2014
50 New Features of Java EE 7 in 50 minutes @ Devoxx France 2014Arun Gupta
 
Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011Agora Group
 

Ähnlich wie Java EE 7 - New Features and the WebSocket API (20)

What’s new in Java SE, EE, ME, Embedded world & new Strategy
What’s new in Java SE, EE, ME, Embedded world & new StrategyWhat’s new in Java SE, EE, ME, Embedded world & new Strategy
What’s new in Java SE, EE, ME, Embedded world & new Strategy
 
Enterprise Java Web Application Frameworks Sample Stack Implementation
Enterprise Java Web Application Frameworks   Sample Stack ImplementationEnterprise Java Web Application Frameworks   Sample Stack Implementation
Enterprise Java Web Application Frameworks Sample Stack Implementation
 
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)Boost Development With Java EE7 On EAP7 (Demitris Andreadis)
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)
 
Java EE 8
Java EE 8Java EE 8
Java EE 8
 
Java EE 6 workshop at Dallas Tech Fest 2011
Java EE 6 workshop at Dallas Tech Fest 2011Java EE 6 workshop at Dallas Tech Fest 2011
Java EE 6 workshop at Dallas Tech Fest 2011
 
Javaee6 Overview
Javaee6 OverviewJavaee6 Overview
Javaee6 Overview
 
JUG Berlin Brandenburg: What's new in Java EE 7?
JUG Berlin Brandenburg: What's new in Java EE 7?JUG Berlin Brandenburg: What's new in Java EE 7?
JUG Berlin Brandenburg: What's new in Java EE 7?
 
Going Above JSF 2.0 with RichFaces and Seam
Going Above JSF 2.0 with RichFaces and SeamGoing Above JSF 2.0 with RichFaces and Seam
Going Above JSF 2.0 with RichFaces and Seam
 
50 features of Java EE 7 in 50 minutes at Geecon 2014
50 features of Java EE 7 in 50 minutes at Geecon 201450 features of Java EE 7 in 50 minutes at Geecon 2014
50 features of Java EE 7 in 50 minutes at Geecon 2014
 
Vaadin with Java EE 7
Vaadin with Java EE 7Vaadin with Java EE 7
Vaadin with Java EE 7
 
50 New Features of Java EE 7 in 50 minutes
50 New Features of Java EE 7 in 50 minutes50 New Features of Java EE 7 in 50 minutes
50 New Features of Java EE 7 in 50 minutes
 
AAI-1713 Introduction to Java EE 7
AAI-1713 Introduction to Java EE 7AAI-1713 Introduction to Java EE 7
AAI-1713 Introduction to Java EE 7
 
AAI 1713-Introduction to Java EE 7
AAI 1713-Introduction to Java EE 7AAI 1713-Introduction to Java EE 7
AAI 1713-Introduction to Java EE 7
 
Java EE 8: On the Horizon
Java EE 8:  On the HorizonJava EE 8:  On the Horizon
Java EE 8: On the Horizon
 
Java EE8 - by Kito Mann
Java EE8 - by Kito Mann Java EE8 - by Kito Mann
Java EE8 - by Kito Mann
 
Overview of Java EE 6 by Roberto Chinnici at SFJUG
Overview of Java EE 6 by Roberto Chinnici at SFJUGOverview of Java EE 6 by Roberto Chinnici at SFJUG
Overview of Java EE 6 by Roberto Chinnici at SFJUG
 
Vaadin 7 - Java Enterprise Edition integration
Vaadin 7 - Java Enterprise Edition integrationVaadin 7 - Java Enterprise Edition integration
Vaadin 7 - Java Enterprise Edition integration
 
Java EE 8 Update
Java EE 8 UpdateJava EE 8 Update
Java EE 8 Update
 
50 New Features of Java EE 7 in 50 minutes @ Devoxx France 2014
50 New Features of Java EE 7 in 50 minutes @ Devoxx France 201450 New Features of Java EE 7 in 50 minutes @ Devoxx France 2014
50 New Features of Java EE 7 in 50 minutes @ Devoxx France 2014
 
Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011
 

Kürzlich hochgeladen

How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 

Kürzlich hochgeladen (20)

How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 

Java EE 7 - New Features and the WebSocket API

  • 1. JAVA EE 7 The new features of the Enterprise Edition
  • 2. OUR AGENDA • Overview of the new features • JSF 2.2 • CDI 1.1, EJB 3.2, JPA 2.1 • Bean Validation 1.1 • JMS 2.0 • JSON-P, JAX-RS 2.0, Batch • Example application using WebSockets
  • 3. JSF 2.2 renders HTML5 <h:inputText value="#{bean.value}" > <f:passThroughAttribute name="placeholder" value="Enter text" /> </h:inputText> CDI ViewScope / Managed Beans deprecated Faces Flow
  • 4. CDI 1.1, EJB 3.2 & JPA 2.1 @Transactional-Annotation But: Still no annotations for EJB Security CDI: Priority ordering of Interceptors and Decorators JPA: Stored Procedures and DB-Functions in JPQL
  • 5. METHOD LEVEL VALIDATION Part of Bean Validation 1.1 @NotNull public MyObject createMyObject( @Size(min=5, max=40) String name, @DecimalMin(value="1.00") Double value, @Pattern(regexp="d{8}") String code) {... RuntimeException if validation fails
  • 6. JMS 2.0 @Inject @JMSConnectionFactory("jms/connection Factory") private JMSContext context; @Resource(mappedName = "jms/inboundQueue") private Queue inboundQueue; public void sendMessage(String payload) { context.send(inboundQueue, payload);
  • 7. MORE STUFF Java API for JSON Processing (JSR 353)  Standard for parsing / transforming JSON  similar to Jackson, GSON Batch Applications (JSR 352)  Standard for batch processing JAX-RS 2.0  finally a REST-Client
  • 8. JAVA API FOR WEBSOCKETS  Standard for fast low-level communication  Specified in JSR 356  Bidirectional communication between two endpoints (no client/server)  Sessions with unique IDs  Directly over TCP (could use SSL/TLS), No HTTP, no Overhead  Initial Handshake via HTTP Upgrade  Asynchronous (returns Future) and synchronous API  Transfers text or binary, Java objects must be de/encoded
  • 10. WE ARE HIRING We are looking for Frontend and Backend Developers for our office in Taipei. Salary is above average. ExtJS or Java/Spring sounds fun? Working for the banking industry sounds interesting?
  • 11. QUESTIONS? Please ask and don‘t hesitate to contact me Name: Marcus Schiesser Blog: www.marcusschiesser.de Email: marcus.schiesser@kosmossystems.com Code: github.com/marcusschiesser/javaee7-websocket More about the company: www.kosmos-banking.com/en