Java EE 7 The new features of the upcoming Enterprise Edition
Hello, I‘m Marcus Diploma in Computer Science 2002 University of Tuebingen Freelancing Software Architect specialized in Java EE worked for serveral large companies in Germany like Daimler (Mercedes), Commerzbank and Deutsche Bahn
Our Agenda Overview of the new features Example application Dig into the code
Damn it, we need a new main theme! Originally: PaaS (Cloud and multi-tenancy) No Cloud No Multi-tenancy But Productivity and HTML5 Due date: Q2 2013
JSF 2.2 renders HTML5 CDI ViewScope / Managed Beans deprecated Faces Flow How to use the new features: jsf-2-2-with-jboss jsf-2-2-with-jboss-7-1
CDI 1.1, EJB 3.2 & JPA 2.1 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 public MyObject max=40) String Double String code) {...
private JMSContext = "jms/inboundQueue") private Queue inboundQueue; public void sendMessage(String payload) { context.send(inboundQueue, payload); }
Some new APIs Java API for JSON Processing (JSR 353) Batch Applications (JSR 352)
Things we‘ll cover Java API for WebSockets (JSR 356) Bidirectional communication Directly over TCP No HTTP, only for Handshake via HTTP Upgrade JAX-RS 2.0 finally a REST-Client
Sample app „MyAktion“ Our sample application allows organizers of nonprofit campaigns to create online fundraising forms for their projects. The organizer can embed these forms into their own website. This allows the organizer to raise money for his campaign. Each organizer can create forms for multiple campaigns. The application takes care of the generation of the forms and the management of the campaigns and donations.
Domain classes
Let‘s see...
But now some JEE 7 please…
Communication diagram
Questions? Please ask and don‘t hesitate to contact me Name: Marcus Schiesser Blog: Code: