Java EE 6 - Update Harpreet Singh GlassFish Portfolio Product Manager

Similar documents
Java EE 6 & GlassFish v3 Paving the path for future. Arun Gupta Sun Microsystems, Inc.

Oracle Corporation

1 Markus Eisele, Insurance - Strategic IT-Architecture

The Next Generation. Prabhat Jha Principal Engineer

JavaEE.Next(): Java EE 7, 8, and Beyond

Hands-on Development of Web Applications with Java EE 6

Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand)

Cleveland Java Users Group Java Enterprise Edition 6 Update

Developing Applications with Java EE 6 on WebLogic Server 12c

Seam 3. Pete Muir JBoss, a Division of Red Hat

J2EE - Version: 25. Developing Enterprise Applications with J2EE Enterprise Technologies

Java EE 7: Back-End Server Application Development

Contents at a Glance

Devoxx 2008 in a breeze

CO Java EE 7: Back-End Server Application Development

<Insert Picture Here> Exploring Java EE 6 The Programming Model Explained

Courses For Event Java Advanced Summer Training 2018

Vision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1

Java EE 6: Develop Web Applications with JSF

Java EE 6: Develop Business Components with JMS & EJBs

Specialized - Mastering JEE 7 Web Application Development

New Features in EJB 3.1

IBM WebSphere Application Server 8. Java EE 6 Feature Packs

Deccansoft Software Services. J2EE Syllabus

V3 EJB Test One Pager

open source community experience distilled

CMP 436/774. Introduction to Java Enterprise Edition. Java Enterprise Edition

Java- EE Web Application Development with Enterprise JavaBeans and Web Services

Java EE 6 Community Roundtable. Reza Rahman Independent Consultant Author, EJB 3 in Action

ENTERPRISE JAVABEANS TM (EJB TM ) 3.1 TECHNOLOGY

Building the Enterprise

Java EE 7 is ready What to do next? Peter Doschkinow Senior Java Architect

Web Application Development Using JEE, Enterprise JavaBeans and JPA

Web Application Development Using JEE, Enterprise JavaBeans and JPA

APPLICATION SECURITY ENHANCEMENTS IN JAVA EE 6

Fast Track to Java EE

Java SE 8 Fundamentals

Java SE7 Fundamentals

Java EE 8 What s coming? David Delabassee Oracle May 17, 2017

<Insert Picture Here> Java Virtual Developer Day

Oracle Corporation

1Z Oracle. Java Enterprise Edition 5 Enterprise Architect Certified Master

WebSphere Foundation Update and Technical Direction

Enterprise Development

<Insert Picture Here> Productive JavaEE 5.0 Development

Java Training Center, Noida - Java Expert Program

Leverage Rational Application Developer v8 to develop Java EE6 application and test with WebSphere Application Server v8

Want to read more? It s also available at your favorite book retailer, including the ibookstore, the Android Marketplace, and Amazon.com.

Improve and Expand JavaServer Faces Technology with JBoss Seam

SUN Sun Certified Enterprise Architect for J2EE 5. Download Full Version :

CO Java EE 6: Develop Database Applications with JPA

OCP JavaEE 6 EJB Developer Study Notes

NetBeans IDE Field Guide

EJB ENTERPRISE JAVA BEANS INTRODUCTION TO ENTERPRISE JAVA BEANS, JAVA'S SERVER SIDE COMPONENT TECHNOLOGY. EJB Enterprise Java

Java Platform, Enterprise Edition 6 with Extensible GlassFish Application Server v3

J2EE Interview Questions

Designing a Distributed System

JSR 365 (CDI 2.0) Review

Java EE Application Assembly & Deployment Packaging Applications, Java EE modules. Model View Controller (MVC)2 Architecture & Packaging EJB Module

Introduction. Enterprise Java Instructor: Please introduce yourself Name Experience in Java Enterprise Edition Goals you hope to achieve

JAVA COURSES. Empowering Innovation. DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP

Adopt-a-JSR Panel for 16 October 2014

Sun Java Studio Creator. Ken Paulsen Staff Engineer Sun Microsystems, Incorporated (Slides by: Craig R. McClanahan)

Java EE 5 Development for WebSphere Application Server V7

"Web Age Speaks!" Webinar Series

JAX-RS and Jersey Paul Sandoz

Enterprise Java Unit 1-Chapter 2 Prof. Sujata Rizal Java EE 6 Architecture, Server and Containers

Module 3 Web Component

Overview p. 1 Server-side Component Architectures p. 3 The Need for a Server-Side Component Architecture p. 4 Server-Side Component Architecture

Arun Gupta is a technology enthusiast, a passionate runner, and a community guy who works for Sun Microsystems. And this is his blog!

Implementing a Web Service p. 110 Implementing a Web Service Client p. 114 Summary p. 117 Introduction to Entity Beans p. 119 Persistence Concepts p.

IBM Rational Application Developer for WebSphere Software, Version 7.0

JVA-163. Enterprise JavaBeans

Architect Exam Guide. OCM EE 6 Enterprise. (Exams IZO-807,1ZO-865 & IZO-866) Oracle Press ORACLG. Paul R* Allen and Joseph J.

(9A05803) WEB SERVICES (ELECTIVE - III)

Java J Course Outline

"Charting the Course... Mastering EJB 3.0 Applications. Course Summary

Enterprise JavaBeans, Version 3 (EJB3) Programming

Shale and the Java Persistence Architecture. Craig McClanahan Gary Van Matre. ApacheCon US 2006 Austin, TX

JVA-563. Developing RESTful Services in Java

Deployment. See Packaging and deployment processes

Developing Enterprise JavaBeans for Oracle WebLogic Server 12c (12.2.1)

Spring & Hibernate. Knowledge of database. And basic Knowledge of web application development. Module 1: Spring Basics

Techniques for Building J2EE Applications

Seam & Web Beans. Pete Muir JBoss, a division of Red Hat.

Migrating traditional Java EE applications to mobile

This course is intended for Java programmers who wish to write programs using many of the advanced Java features.

Fast Track to Java EE 5 with Servlets, JSP & JDBC

Fast Track to EJB 3.0 and the JPA Using JBoss

Meet. Brian Stansberry Principal Software Engineer, Red Hat, Inc. June 10, Friday, June 14, 13

Java EE und WebLogic Roadmap die nächsten Schritte

JCP Training: General Session. 5 May 2008 JavaOne - San Francisco Harold Ogle

<Insert Picture Here> Future<JavaEE>

Java EE 6 Web Profile Leader 2011 Roadmap

JBoss SOAP Web Services User Guide. Version: M5

JCP 2.8 Progress Report Public EC Meeting. Heather VanCura 20 November 2012

The Evolution of Java Persistence

Oracle Enterprise Pack for Eclipse 11g Hands on Labs

Type of Classes Nested Classes Inner Classes Local and Anonymous Inner Classes

MicroProfile - New and Noteworthy

Transcription:

Java EE 6 - Update Harpreet Singh GlassFish Portfolio Product Manager Sun Microsystems 1

The Elephant In The Room 2

Here's what I can... Show Say 3

Business As Usual 4

Business As Usual = Participate in an active community + Create a Great Product + Kick Competitive Butt 5

Any Questions? 6

Business @ Hand Java EE 6 Update 7

Java EE: Past & Present JPE Project Enterprise Java Platform J2EE 1.2 Servlet, JSP, EJB, JMS RMI/IIOP Robustness J2EE 1.3 CMP, Connector Architecture Web Services J2EE 1.4 Web Services, Management, Deployment, Async. Connector Ease of Development Java EE 5 Ease of Development Annotations EJB 3.0 Persistence API New and Updated Web Services Right Sizing Java EE 6 EJB Lite Restful WS Web Beans Extensibility Java EE 6 Web Profile 8

Java EE Adoption Over 18M Downloads since FY'06 Active Users Y/Y Download Growth 12000000 10000000 8000000 6000000 Add. Forcast YTD 4000000 2000000 0 FY 06 FY 07 FY 08 FY 09 9

Compatible Java EE 5 Implementations 10

Goals for the Java EE 6 Platform Right Sizing Flexible, lighter weight Extensible Embrace Open Source Frameworks Easier to use, develop on Continue on path set by Java EE 5 11

Right Sizing the Platform: Profiles Make platform flexible > Decouple specifications to allow more combinations > Expands potential licensee ecosystem > Profiles Targeted technology bundles Defined through the JCP First profile: Web Profile Defined by the Java EE 6 Expert Group 12

Web Profile Fully functional mid-sized profile > Actively discussed in Java EE Expert Group and outside it > Technologies* Servlet 3.0, EJB Lite 3.1, JPA 2.0, JSP 2.2, EL 1.2, JSTL 1.2, JSF 2.0, JTA 1.1, JSR-45, JSR-250 *Final set of technologies will be determined by the platform EG 13

Right Sizing the Platform: Pruning Make platform lighter > Makes some technologies optional > Pruned today, means Optional in the next release Deleted in the subsequent release > Pruned Technologies will be marked in the javadocs > Current pruning list JAX-RPC, EJB 2.X Entity Beans, JAXR, JSR-88 14

Extensibility Embrace open source libraries and frameworks Zero-configuration, drag-and-drop for web frameworks > Servlets, servlet filters, context listeners for a framework get discovered and registered automatically Plugin library jars using web fragments 15

Ease of Development Continue advancements of Java EE 5 Primary focus: Web Tier Multiple Areas easier to use: EJB 3.1 General principles > Annotation-based programming model > Reduce or eliminate need for deployment descriptors > Traditional API for advanced users 16

Ease of Development: Adding an EJB to a Web Application Java EE 5 Java EE 6 BuyBooks.war ShoppingCart EJB Class BuyBooks.war ShoppingCart.jar ShoppingCart EJB Class BuyBooks.ear 17

EoD Example - Annotations Servlet in Java EE 5: Create two source files <!--Deployment descriptor web.xml --> <web-app> <servlet> <servletname>myservlet </servlet-name> <servlet-class> com.foo.myservlet </servlet-class> </servlet> <servlet-mapping> <servletname>myservlet </servlet-name> <url-pattern>/myapp/* </url-pattern> </servlet-mapping>... </web-app> /* Code in Java Class */ package com.foo; public class MyServlet extends HttpServlet { public void doget(httpservletrequest req,httpservletresponse res) {... }... } 18

EoD Example - Annotations Servlet in Java EE 6: In many cases a single source file package com.foo; @WebServlet(name= MyServlet, urlpattern= /myapp/* ) public class MyServlet { public void doget(httpservletrequest req, HttpServletResponse res) {... } 19

Java EE 6 Status Public reviews completed Majority of the specs are in Proposed Final Draft Preview release available for JavaOne > Reference Implementation is GlassFish V3 > Regular RI source drops started Final release in Q3 > Targeted for September Making the process more open 20

Java EE JSR Status EJB 3.1 PFD JPA 2.0 PFD Servlet 3.0 PFD FD Submitted JSF 2.0 PFD June Java EE 6.0 > Platform > Managed Beans > Web Profile Connectors 1.6 PFD JCDI 1.0 PFD June Bean Validation PFD 21

Java EE JSR Status Continued JACC 1.3 JASPIC 1.1 JSR 250 1.1 JAXB 2.2 JAX-RS 1.1 JAX-WS 2.2 MR Final EL 2.2 JSP 2.2 MR Final MR Final MR Final MR Final MR Soon MR Final MR Final 22

Servlet 3.0 Use of annotations for greater ease of development Optional web.xml Better defaults Enable web framework pluggability Support for asynchronous processing Alignments with JSF 2.0 and JAX-RS 1.0 23

Servlet 3.0 Annotation-based programming model > @WebServlet @WebFilter etc. Modular web.xml descriptor: > WEB-INF/lib/mylibrary.jar -> Meta_INF/web-fragment.xml Annotations and web fragments are merged Programmatic API for dynamic registration of servlets 24

Servlet 3.0 Async API Useful for Comet, chat rooms, long waits Must declare @WebServlet(asyncSupported=true) Then call AsyncContext ctx = ServletRequest.startAsync(req,res); AsyncContext can then either: dispatch(string path) start(runnable action) AsyncContext.start(Runnable) must be paired with: complete() 25

EJB 3.1 Ease-of-use improvements No-interface view > One source file per bean Allow EJB component classes inside a web app > No ejb-jar > Use WEB-INF/classes > Shared component environment 26

EJB 3.1 Singleton beans: @Singleton > Shared state > One instance per bean per server JVM > Support for container-managed concurrency and bean-managed concurrency @ConcurrencyManagement Light-weight asynchronicity > Async business methods @Asynchronous > Methods must return void or Future<T> 27

EJB 3.1 EJB Timer Service enhancements > Cron-like scheduling > Initialization-time timer creation @Schedule(dayOfWeek= Mon,Wed ) Embeddable EJB container > Provides use in Java SE environments > Bootstrapping API EJBContainer 28

EJB 3.1 Lite Proper, portable subset of EJB 3.1 Session beans (stateless, stateful, singletons) > Local, no-interface views Transactions Security Interceptors ejb-jar.xml or annotations Embeddable container API: EJBContainer OK to bootstrap on Java SE 29

Web Beans 1.0 Adds contextual services to the platform Unifies JSF managed beans and EJB components Dependency injection framework > @LoggedIn User user; Binding type to select among alternatives Built-in scope management (request, session, conversation, application scopes) Deployment types to select families of beans (e.g. mock) Programmatic API: Manager, Bean, Context 30

Removing Barriers EJB components can be placed in web applications > No need to wrap them in an EJB jar archive Web Beans has a unified EL resolver > Place @Named( foo ) on a bean to give it a name > Use #{foo} to refer to it from JSR Unify @Resource-style injection with Web Beans Apply javax.interceptor more widely 31

Java Persistence API 2.0 Expanded object/relational mapping functionality Additions to the Java Persistence query language Metamodel API Type-safe Criteria API Pessimistic locking Standardized caching configuration Support for automatic validation 32

JSF 2.0 Easier to develop components Better leverage annotations Declarative renderers View description language (similar to Facelets, JSFTemplating, Tiles) Intuitive Ajax for JSF Additions to the render kit: calendar, tree, tab view, etc. Streamlined rendering process via caching Scripting 33

Summary Right Sizing > Profiles > Pruning Extensible Ease of use and development RI and source code available today More Information > Java EE Hub http://java.sun.com/javaee > Java EE SDK Downloads http://java.sun.com/javaee/downloads > JCP > http://jcp.org/en/jsr/detail?id=316 34

GLASSFISH Q&A 35