Java EE 6 development with Eclipse, Netbeans, IntelliJ and GlassFish. Ludovic Champenois Oracle Corporation



Similar documents
The Java EE 6 Platform. Alexis Moussine-Pouchkine GlassFish Team

GlassFish v3. Building an ex tensible modular Java EE application server. Jerome Dochez and Ludovic Champenois Sun Microsystems, Inc.

<Insert Picture Here> GlassFish v3 - A Taste of a Next Generation Application Server

This presentation will provide a brief introduction to Rational Application Developer V7.5.

Accelerated Java EE Open Source Development with Eclipse CON1905

<Insert Picture Here> Java EE 7. Linda DeMichiel Java EE Platform Lead

OpenShift is FanPaaStic For Java EE. By Shekhar Gulati Promo Code JUDCON.IN

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

APAC WebLogic Suite Workshop Oracle Parcel Service Overview. Jeffrey West Application Grid Product Management

EclipseLink. Solutions Guide for EclipseLink Release 2.5

Oracle im Open Source Kontext Abgrenzung GlassFish vs. JBoss und wozu noch WebLogic?

Web Tools Platform (WTP) 3.5

JBoss SOAP Web Services User Guide. Version: M5

Eclipse Web Tools Platform. Naci Dai (Eteration), WTP JST Lead

White Paper: Why Upgrade from WebSphere Application Server (WAS) v7 to v8.x?

<Insert Picture Here> Building a Complex Web Application Using ADF and Siebel

Running and Testing Java EE Applications in Embedded Mode with JupEEter Framework

JBoss JEE5 with EJB3.0 on NonStop. JAVA SIG, San Jose

<Insert Picture Here> Java EE 7: the New Cloud Platform

GlassFish. Developing an Application Server in Open Source

Rapid Application Development. and Application Generation Tools. Walter Knesel

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

The Oracle Fusion Development Platform

Case Studies of Running the Platform. NetBeans UML Servlet JSP GlassFish EJB

JVA-561. Developing SOAP Web Services in Java

Java EE 6 Ce qui vous attends

Glassfish, JAVA EE, Servlets, JSP, EJB

Web Development with the Eclipse Platform

Why IBM WebSphere Application Server V8.0?

SAP's Integrated Development Environment for Java. Karl Kessler, SAP AG

Weblogic 12c: Mastering The Cloud Foundation. Patrick Dewael & Kristof Satory

Android Programming: Installation, Setup, and Getting Started

Building and Using Web Services With JDeveloper 11g

Learning GlassFish for Tomcat Users

<Insert Picture Here> Java EE 7: the New Cloud Platform

NetBeans: Universal Tool for Java Development and More. Roman Štrobl Technology Evangelist

Web Development in Java Part I

CrownPeak Java Web Hosting. Version 0.20

OUR COURSES 19 November All prices are per person in Swedish Krona. Solid Beans AB Kungsgatan Göteborg Sweden

Kohsuke Kawaguchi Sun Microsystems, Inc. hk2.dev.java.net, glassfish.dev.java.net. Session ID

Oracle WebLogic Foundation of Oracle Fusion Middleware. Lawrence Manickam Toyork Systems Inc

Converting Java EE Applications into OSGi Applications

NetBeans IDE Field Guide

Project SailFin: Building and Hosting Your Own Communication Server.

Complete Java Web Development

JSR 375 (EE Security API) Review

Secure the Web: OpenSSO

Java with Eclipse: Setup & Getting Started

Reusing Existing * Java EE Applications from Oracle SOA Suite

What Is NetBeans? Free and open-source based > Open source since June, 2000 > Large community of users and developers

RESIN APPLICATION SERVER JAVA EE 6 WEB PROFILE

Java Platform, Enterprise Edition (Java EE) From Yes-M Systems LLC Length: Approx 3 weeks/30 hours Audience: Students with experience in Java SE

G-Cloud Framework. Service Definition. Oracle Fusion Middleware Design and Implementation

Building Web Services with Apache Axis2

OpenSSO: Simplify Your Single-Sign-On Needs. Sang Shin Java Technology Architect Sun Microsystems, inc. javapassion.com

ARM-BASED PERFORMANCE MONITORING FOR THE ECLIPSE PLATFORM

Consuming and Producing Web Services with WST and JST. Christopher M. Judd. President/Consultant Judd Solutions, LLC

Operations and Monitoring with Spring

applications. JBoss Enterprise Application Platform

How To Write A Web Framework In Java

FUSE-ESB4 An open-source OSGi based platform for EAI and SOA

Nicholas S. Williams. wrox. A Wiley Brand

Web Applications. Originals of Slides and Source Code for Examples:

Enterprise Java Web Application Frameworks & Sample Stack Implementation

Netbeans 6.0. José Maria Silveira Neto. Sun Campus Ambassador

Installation Guide of the Change Management API Reference Implementation

IBM Rational Web Developer for WebSphere Software Version 6.0

Oracle EXAM - 1Z Java EE 6 Web Services Developer Certified Expert Exam. Buy Full Product.

WebSphere Application Server Developer Tools Anita Rass Wan, WAS Product Manager

Creating Web Services Applications with IntelliJ IDEA

Glassbox: Open Source and Automated Application Troubleshooting. Ron Bodkin Glassbox Project Leader

Rational Application Developer Performance Tips Introduction

Spring 3.1 to 3.2 in a Nutshell. Sam Brannen Senior Software Consultant

ITG Software Engineering

Oracle Application Development Framework Overview

Developing Web Services with Eclipse

BIRT Application and BIRT Report Deployment Functional Specification

Modern Software Development Tools on OpenVMS

Preface. Motivation for this Book

Java EE Introduction, Content. Component Architecture: Why and How Java EE: Enterprise Java

Coherence Managed Servers

Talend Open Studio for ESB. Release Notes 5.2.1

Developing modular Java applications

Rich Web Applications in Server-side Java without Plug-ins or JavaScript

T-4 - Develop Better Java EE Applications With Eclipse Web Tools Platform. Christopher M. Judd. President/Consultant Judd Solutions, LLC

Enterprise JavaBeans' Future: Getting Simpler, More Ubiquitous, but Not Dominant

JAVA/J2EE DEVELOPER RESUME

WebSphere Training Outline

Ruby on Rails in GlassFish Sun Microsystems

<Insert Picture Here> Oracle Mobile Enterprise Application Platform Overview

<Insert Picture Here> What's New in NetBeans IDE 7.2

Cross-domain Identity Management System for Cloud Environment

Introduction to OSGi and Modularity. InfoSphere MDM, Version 11.x Dany Drouin, Senior Software Engineer MDM

Framework Adoption for Java Enterprise Application Development

Don t get it right, just get it written.

Transcription:

Java EE 6 development with Eclipse, Netbeans, IntelliJ and GlassFish Ludovic Champenois 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. The development, release, and timing of any features or functionality described for Oracle s products remains at the sole discretion of Oracle.

AGENDA > Java EE 6 > Tools Support IntelliJ Eclipse NetBeans > Demos > Q&A 3

Java EE 6 > A Major new release for Java Enterprise Applications Easier, Smaller, Extensible GlassFish 3 is the Reference Implementation (and a quality product...) GlassFish 3.1 is adding Clustering support > Update Components EJB 3.1 JPA 2.0 Servlet 3.0 JSF 2.0 Interceptors 1.1 JAX-WS 2.2 JSR-109 1.3 JSP 2.2 EL 2.2 JSR-250 1.1 JACC 1.5 Connectors 1.6 > New Components JAX-RS 1.1 CDI 1.0 Bean Validation 1.0 DI 1.0 Managed Beans 1.0 JASPIC 1.1 4

Java EE 6: Impact on Tools > New APIs are easy to expose: Libraries in project path. More and more on Maven (EE 6 APIs in Maven) Automatic Code completion JavaDoc: Some IDEs... > New Concepts: JSF 2.0: face-config obsolete, ManagedBeans obsolete (->CDI) JAX-RS No Web.xml, more annotations > New Packaging: EBJ Inside Web Application Projects! Web Profile versus Full Profile 5

Java EE 6 : Impact on Tools > Alignment of Platform changes and the IDEs Emacs (James Gosling 81), vi (Bill Joy 76): First IDES choice Java EE 6 compliant NetBeans 6.8: same day as Java EE 6 GlassFish (Dec 2009) Almost everything but CDI and advanced JF 2.0 (fixed in 6.9) IntelliJ: Same week as Java EE 6 GlassFish Runtime target Supported in Dec 2009 Eclipse: First IDE Java EE 6 support 6 months later But GlassFish Plugin with EE 6 support before... 6 http://en.wikipedia.org/wiki/editor_wa

Java EE 6 and IntelliJ Code Assistance Code Generation Java EE code completion, javadoc, navigation, refactoring Easy creation of new classes, interfaces, packages, and files Quick generation of standard methods Quick Override/Implement methods Generating "delegation" methods Surrounding of selected code fragment with try/catch, if/else, synchronized,... Generating methods, constants, parameters from unknown usages JP Editor, TagLib support,jsp Refactoring, Ajax, JSF: 2.0 features: Custom Composite Components, Resource Loading (@ResourceDependency, <h:outputscript>, <h:outputstylesheet>) Managed beans and components annotations (@ManagedBean, @FacesComponent, @FacesRenderer, etc.) including code completion, usage search and basic refactoring CDI support (@Named, @Inject : dependencies diagrams, rename, better navigation... 7

Java EE 6 and IntelliJ JSF-aware coding assistance with code completion and formatting Graphical face-config editing EJB 3.1, including support for EJB 3.1 @Singleton Session Bean JPA 2.0 Support JPA 2.0 @ElementCollection attribute type, plus freshly allowed attribute types in embeddable objects (@OneToOne, @Embedded, etc.) JPA 1.0/2.0 with Hibernate provider will not throw false-positive warnings about certain JPA specification violations that occur because of differences in JPA and Hibernate. JPQ QL support Generate from DB 8

IntelliJ: What could be improved > Registering a new GlassFish Java EE 6 runtime > API libraries customization Download from the Web why? Using the ones provided by the GlassFish Runtime > Lack of complete Java EE 6 Javadoc code completion > Some EE 6 Specific wizards missing Cannot create a servlet without web.xml (even if servlet 3.0 is selected) EJB inside Web App, JAX-RS Resources, Bean Validation... Easy to create once you know the corresponding annotations 9

Eclipse Helios (3.6) > Eclipse 3.6 will introduce Java EE 6 artifacts (June 2010) EJB 3.1 (Inside Web App, no interface needed) Web.xml optional Servlet, Filter, Listener annotated, Facelets XHTML JPA 2.0 is excellent (EclipseLink used in WebLogic and GlassFish EE 6) Java EE 6 XML schemas > But not complete support No Jax-RS wizards, No Beans Validation JSF 2.0 lacking code completion for annotated artifacts Still very faces-config driven No CDI support at all: you need to discover it > Still Too JSRs centric as Opposed to Java EE 6 centric > More in December 2010 Update Release (I hope...) 10

Eclipse and Oracle Involvement > Oracle has many Eclipse Committers > JPA: EclipseLink is developed in Eclipse JPA Dali Tools: up to date, and comprehensive > Core Java EE tooling Facet framework in Eclipse done by Oracle folks > JSF Most JSF Eclipse tooling done by Oracle folks Jboss Tools has their own JSF tooling > Jax-RS, Jax-WS, EJB, CDI, Bean Validation: Need more involvement with the Eclipse community 11

Oracle OEPE Pack for Eclipse > Zip bundle or update center > Target WebLogic Server and Glassfish via Eclipse Plugin For Java EE 6: Extra wizards for JAX RS, EJB Singleton, Java EE 6 Javadoc Code Completion Tight integration with GlassFish Java EE 6: Start, Stop, Debug, Profile (TPTP) Fast Deploy On Save Session Preservation at redeployment time Exploded directory deployment > Better JSF/JSP tooling > Facelet XHTML support > SpringSource Tooling > JAX-WS wizards (only work with WebLogic target) > Free: Close source and close license 12

NetBeans > Close relationship with the Java EE 6 Platform development NetBeans 6.8 shipped same day, with GlassFish bundled in it > Strong Java EE 6 Development Web Profile, Full Profile Many EE 6 Wizards End to End Wizards (DB to JPA, JPA to REST, JPA to JSF 2.0...) Maven Java EE 6 targets > Tight Integration with the GlassFish Runtime Bundled Deploy On Save, Session Preservation Resources definitions and deployment > NetBeans 6.9 (Soon) adds CDI and better JSF 2.0 support 13

Java EE 6 IntelliJ Eclipse NetBeans Java Support Java EE 6 JPA 2.0 Helios: first release EclipseLink CDI Need JBossTools 6.9 Servlet 3.0 bugs? Skeleton Working default JAX-WS JAX-RS EJB 3.1 Maven Axis<-->JAX-WS JBossTools<->Oracle Wizards only via GlassFish Plugin Yellow-ish End to End Incubator (PAVE) REST, JPA, JSF GlassFish 3.x Profile,debug,deploy on save, Profile,debug, deploy on save,remote, admin, 14 OSGi / EE 6 Green-ish

Java EE 6 In IDEs > IntelliJ http://www.jetbrains.com/idea/ > Eclipse https://glassfishplugins.dev.java.net/ > NetBeans http://netbeans.org/ 15

Q&A 16

Ludovic Champenois Oracle https://glassfish.dev.java.net ludo@dev.java.net