Oracle Corporation

Similar documents
Java EE 6 - Update Harpreet Singh GlassFish Portfolio Product Manager

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

Java EE 7: Back-End Server Application Development

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

Oracle Corporation

1 Markus Eisele, Insurance - Strategic IT-Architecture

Hands-on Development of Web Applications with Java EE 6

open source community experience distilled

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

CO Java EE 7: Back-End Server Application Development

The Next Generation. Prabhat Jha Principal Engineer

Developing Applications with Java EE 6 on WebLogic Server 12c

Contents at a Glance

Java EE 6: Develop Business Components with JMS & EJBs

Deccansoft Software Services. J2EE Syllabus

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

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

Courses For Event Java Advanced Summer Training 2018

Oracle Fusion Middleware

Specialized - Mastering JEE 7 Web Application Development

Web Application Development Using JEE, Enterprise JavaBeans and JPA

Web Application Development Using JEE, Enterprise JavaBeans and JPA

<Insert Picture Here> Productive JavaEE 5.0 Development

Java EE 6: Develop Web Applications with JSF

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

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

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

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

J2EE Interview Questions

IBM WebSphere Application Server 8. Java EE 6 Feature Packs

Introduction to Web Application Development Using JEE, Frameworks, Web Services and AJAX

<Insert Picture Here> Future<JavaEE>

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

Chapter 1 Introducing EJB 1. What is Java EE Introduction to EJB...5 Need of EJB...6 Types of Enterprise Beans...7

New Features in EJB 3.1

Java SE 8 Fundamentals

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

Enterprise JavaBeans, Version 3 (EJB3) Programming

JVA-563. Developing RESTful Services in Java

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

Enterprise Development

JVA-163. Enterprise JavaBeans

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

Java Enterprise Edition

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

V3 EJB Test One Pager

Oracle 10g: Build J2EE Applications

APPLICATION SECURITY ENHANCEMENTS IN JAVA EE 6

Java EE und WebLogic Roadmap die nächsten Schritte

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

Problems in Scaling an Application Client

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

JBoss Enterprise Application Platform 6

Fast Track to Java EE

JBoss Enterprise Application Platform 6.1

Deployment. See Packaging and deployment processes

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

JBoss Enterprise Application Platform 6.2

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

Migrating traditional Java EE applications to mobile

Call: JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline

Java SE7 Fundamentals

Java Training Center, Noida - Java Expert Program

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

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

JBoss Enterprise Application Platform 6.3

index_ qxd 7/18/02 11:48 AM Page 259 Index

Oracle Fusion Middleware 11g: Build Applications with ADF I

(9A05803) WEB SERVICES (ELECTIVE - III)

Designing a Distributed System

Fast Track to EJB 3.0 and the JPA Using JBoss

Java J Course Outline

Building the Enterprise

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.

OCP JavaEE 6 EJB Developer Study Notes

Oracle Fusion Middleware

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

Oracle WebLogic Devcast Series: JMX for DevOps. Dr. Frank Munz ORACLE PRODUCT LOGO

JBoss SOAP Web Services User Guide. Version: M5

CO Java EE 6: Develop Database Applications with JPA

"Web Age Speaks!" Webinar Series

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

Java EE 5 Development for WebSphere Application Server V7

INTRODUCTION TO COMPONENT DESIGN IN JAVA EE COMPONENT VS. OBJECT, JAVA EE JAVA EE DEMO. Tomas Cerny, Software Engineering, FEE, CTU in Prague,

What's New in J2EE 1.4

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format.

Outline. Project Goal. Overview of J2EE. J2EE Architecture. J2EE Container. San H. Aung 26 September, 2003

<Insert Picture Here> Java Virtual Developer Day

Enterprise Java Technologies (Part 1 of 3) Component Architecture. Overview of Java EE. Java Servlets

Oracle. Exam Questions 1z Java Enterprise Edition 5 Web Services Developer Certified Professional Upgrade Exam. Version:Demo

Introduction... xxxi. Chapter 1: Java EE 6: An Overview... 1

WebSphere Foundation Update and Technical Direction

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

Lessons learned from real-world deployments of Java EE 7. Arun Gupta, Red

Roadmap to Cloud with Cloud Application Foundation

Workshop for WebLogic introduces new tools in support of Java EE 5.0 standards. The support for Java EE5 includes the following technologies:

Development of Advanced Applications with IBM WebSphere Application Server Liberty Profile IBM Redbooks Solution Guide

Programming Web Services in Java

Developing Applications for Oracle WebLogic Server g Release 1 (10.3.6)

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

Transcription:

1 2012 Oracle Corporation

Exploring Java EE 6 and WebLogic 12c Arun Gupta blogs.oracle.com/arungupta, @arungupta 2 2012 Oracle Corporation

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions.thedevelopment, development, release, and timing of any features or functionality described for Oracle s products remains at the sole discretion of Oracle. 3 2012 Oracle Corporation

Oracle Cloud Application Foundation Foundation for Oracle Fusion Middleware in the Cloud Web Social Mobile User Engagement Oracle Public Cloud Business Process Content Business Management Management Intelligence Service Integration Data Integration Identity Management & Security WebLogic Server Traffic Director Coherence Virtual Assembly Builder Tuxedo Cloud Application Foundation Development Tools Cloud Application Foundation Enterprise Management Exalogic Elastic Cloud 4 2012 Oracle Corporation

Java EE 6 - Themes Light-weight Easy-to-use Extensible 5 2012 Oracle Corporation

Light-weight Java EE 6 Web Profile WebLogic supports Full Java EE 6 only Web Profile apps can be deployed to Full Java EE 6 Pruning Pruned today, means Optional in the next release Deleted in the subsequent releases Technologies marked in Javadocs EJB 2.x Entity Beans, JAX-RPC, JAXR, JSR 88 6 2012 Oracle Corporation

Easy-to-use EJB-in-WAR No-interface EJB Optional web.xml / faces-config.xml Annotation-driven @Schedule @Path @Inject... 7 2012 Oracle Corporation

Java EE 6 & Ease-of-development Continue advancements of Java EE 5 Pi Primary focus: Web btier General principles Annotation-based ti programming model Reduce or eliminate need for DD Traditional API for advanced users 8 2012 Oracle Corporation

Extensible Servlet web-fragments Dynamic registration ti of Servlets Portable CDI extensions 9 2012 Oracle Corporation

Java EE 6 Specifications The Platform Java EE 6 Web Profile 1.0 Managed Beans 1.0 10 2012 Oracle Corporation

Java EE 6 Specifications New Contexts and Dependency Injection for Java EE (JSR 299) Bean Validation 1.0 (JSR 303) Java API for RESTful Web Services (JSR 311) Dependency Injection for Java (JSR 330) 11 2012 Oracle Corporation

Java EE 6 Specifications Extreme Makeover Java Server Faces 2.0 (JSR 314) Java Servlets 3.0 (JSR 315) Java Persistence 2.0 (JSR 317) Enterprise Java Beans 3.1 & Interceptors 1.1 (JSR 318) Java EE Connector Architecture 1.6 (JSR 322) 12 2012 Oracle Corporation

Java EE 6 Specifications Updates Java API for XML-based Web Services 2.2 (JSR 224) Java API for XML Binding 2.22 (JSR 222) Web Services Metadata MR3 (JSR 181) JSP 2.2/EL 2.2 (JSR 245) Web Services for Java EE 1.3 (JSR 109) Common Annotations 1.1 (JSR 250) Java Authorization Contract for Containers 1.3 (JSR 115) Java Authentication Service Provider Interface for Containers 1.0 (JSR 196) 13 2012 Oracle Corporation

Java EE 6 Specifications As-is JDBC 4.0 API Java Naming and Directory Interface 1.2 Java Message Service 1.1 Java Transaction API 1.1 Java Transaction Service 1.0 JavaMail API Specification 1.4 JavaBeans Activation Framework 1.1 Java API for XML Processing 1.3 Java API for XML-based RPC 1.1 SOAP with Attachments API for Java 1.3 Java API for XML Registries 1.0 Java EE Management Specification 1.1 (JSR 77) Java EE Deployment Specification 1.2 (JSR 88) Java Management Extensions 1.2 Java Authentication and Authorization Service 1.0 Debugging Support for Other Languages (JSR 45) Standard Tag Library for JSP 1.2 (JSR 52) Streaming API for XML 1.0 (JSR 173) 14 2012 Oracle Corporation

Java EE 6 Web Profile 1.0 Servlets 3.0 JPA 2.0 EJB 3.1 JDBC StAX JSF 2.0 Interceptors 1.1 JAX-RS JNDI JavaMail New EJB 3.1 Lite Bean Validation1.0 JAXB JMS JACC Updated JSP 2.2 CDI 1.0 JTA 1.1 Managed Beans 1.0 JAX-WS JAXP SAAJ JASPIC JAX-RPC... Contributed by RedHat 15 2012 Oracle Corporation

Managed Beans 1.0 JavaBeans component model for Java EE Simple and Universally useful Advanced concepts in companion specs Basic Services Resource Injection, Lifecycle Callbacks, Interceptors Available as @Resource / @Inject java:app/<module-name>/<bean-name> java:module/<bean-name> 16 2012 Oracle Corporation

Managed Beans 1.0 - Sample @javax.annotation.managedbean public class MyManagedBean { @PostConstruct public void setupresources() { // setup your resources } @PreDestroy public void cleanupresources() { // collect them back here } @Resource MyManagedBean bean; @Inject MyManagedBean bean; public String sayhello(string name) { return "Hello " + name; } } http://blogs.sun.com/arungupta/entry/totd_129_managed_beans_1 17 2012 Oracle Corporation

Servlets in Java EE 5 At least 2 files <!--Deployment descriptor web.xml --> <web-app> <servlet> <servlet-name>myservlet</servlet-name> <servlet-class> com.sun.myservlet </servlet-class> </servlet> <servlet-mapping> <servlet-name>myservlet</servlet-name> <url-pattern>/myapp/*</url-pattern> </servlet-mapping>... </web-app> /* Code in Java Class */ package com.sun; public class MyServlet extends HttpServlet { public void doget(httpservletrequest req, HttpServletResponse res) {... }... } 18 2012 Oracle Corporation

Servlets 3.0 (JSR 315) Annotations-based @WebServlet package com.sun; @WebServlet(name= MyServlet, urlpatterns={ /myapp/* }) public class MyServlet extends HttpServlet { public void doget(httpservletrequest req, HttpServletResponse res) { { <!--Deployment descriptor web.xml --> }... <web-app> <servlet> <servlet-name>myservlet</servlet-name> <servlet-class> com.sun.myservlet </servlet-class> </servlet> <servlet-mapping> <servlet-name>myservlet</servlet-name> <url-pattern>/myapp/*</url-pattern> </servlet-mapping>... </web-app> 19 2012 Oracle Corporation

Servlets 3.0 @WebServlet, @WebListener, @WebFilter,, @WebServlet(asyncSupported=true) S t t Plugin libraries using web fragments Dynamic registration of Servlets WEB-INF/lib/[*.jar]/META-INF/resources accessible in the root Programmatic authentication login/logout Default Error Page... 20 2012 Oracle Corporation

EJB 3.1 (JSR 318) Package & Deploy in a WAR myapp.ear web.war Java EE 5 WEB-INF/web INF/web.xml WEB-INF/classes com.sun.fooservlet com.sun.ticktock myapp.war Java EE 6 WEB-INF/classes com.sun.fooservlet com.sun.ticktock com.sun.foobean com.sun.foohelper beans.jar com.sun.foobean web.xml? com.sun.foohelper 21 2012 Oracle Corporation

EJB 3.1 Sample @Stateless public class MySessionBean { @PostConstruct public void setupresources() { // setup your resourcesrces } @PreDestroy public void cleanupresources() { // collect them back here } @EJB MySessionBean bean; POJO No special packaging } public String sayhello(string name) { return "Hello " + name; } No DD 22 2012 Oracle Corporation

EJB 3.1 No interface view one source file per bean Embeddable bl API @Singleton Initialization in @PostContruct t t @Schedule: Simplified cron-like syntax for Timer @Asynchronous Session Bean Portable Global JNDI Name 23 2012 Oracle Corporation

Contexts & Dependency Injection (JSR 299) Standards-based Dependency Injection Type-safe Buids on @Inject API Context/Scope management Includes ELResolver @Inject @LoggedIn User user Request Injection Which one? (Qualifier) What? (Type) 24 2012 Oracle Corporation

CDI Qualifiers Events Stereotypes Interceptors Decorators Alternatives... 25 2012 Oracle Corporation

Java Server Faces 2.0 (JSR 314) Facelets as templating language Custom components much easier to develop Integrated Ajax faces-config.xml config optional in common cases Default navigation rules Much more Runs on Servlet 2.5+ Bookmarkable URLs Conditional navigation... 26 2012 Oracle Corporation

Java Persistence API 2 (JSR 317) Improved O/R mapping, expanded/richer JPQL Type-safe Criteria i API 2nd-level Cache New locking modes PESSIMISTIC_READ grab shared lock PESSIMISTIC_WRITE grab exclusive lock Standard configuration options javax.persistence.jdbc.[driver jdbc url user password] 27 2012 Oracle Corporation

Bean Validation (JSR 303) Tier-independent mechanism to define constraints for data validation Represented by annotations in javax.validation.* package @NotNull(message=... ), @Max, @Min, @Size Integrated with JSF and JPA JSF: f:validaterequired, f:validateregexp JPA: pre-persist, pre-update, and pre-remove Fully Extensible @Email String recipient; 28 2012 Oracle Corporation

JAX-RS 1.1 (JSR 311) Java API for building RESTful Web Services POJO based Annotation-driven Server-side API HTTP-centric 29 2012 Oracle Corporation

JAX-RS Sample @Path( products") public class ProductResource { } @GET @Produces("text/plain") public Products[] getproducts() { // query the database return products; } @GET @PathParam("id") @Path("{id}") public Product getproduct(int id) { // query the database return product; } 30 2012 Oracle Corporation

IDE Support WebLogic and Java EE 6 31 2012 Oracle Corporation

From the real users... Developers can concentrate on business logic, Java EE 6 is providing a standard for the infrastructure. Higher integrated specs, simple and annotation driven, single-classloader WARs, next level of industry standard Not your fat grandfather's enterprise Java anymore, enterprise Java renaissance Standards compliance, vendor independence, milliseconds and kilobyte deployment Definite excuse to avoid Spring forever http://blogs.oracle.com/arungupta/tags/community+feedback Jigsaw puzzle, Modular, standard, less xml, easy, easy, have I said easy? Faster development, less frameworks, less complexity, more great code shipped Simplified Java Development, Focus on building great products 32 2012 Oracle Corporation

Help shape Java EE Java EE Platform Specification javaee-spec.java.net Java EE Hub oracle.com/javaee 33 2012 Oracle Corporation

Join the WebLogic Community Oracle.com/weblogic Twitter twitter.com/oracleweblogic Facebook facebook.com/oracleweblogic Oracle s WebLogic blog blogs.oracle.com/weblogicserver Youtube Youtube.com/oracleweblogic Developer Webcast Series oracle.com/goto/weblogicdevcast / 34 2012 Oracle Corporation