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



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

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

Learning GlassFish for Tomcat Users

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

Ruby on Rails in GlassFish Sun Microsystems

An Oracle White Paper May Ready for Business: Oracle GlassFish Server

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

ORACLE DATA SHEET KEY FEATURES AND BENEFITS ORACLE WEBLOGIC SERVER STANDARD EDITION

Project SailFin: Building and Hosting Your Own Communication Server.

Operations and Monitoring with Spring

Glassfish, JAVA EE, Servlets, JSP, EJB

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

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

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

Aplicações empresariais de elevada performance com Oracle WebLogic e Coherence. Alexandre Vieira Middleware Solutions Team Leader

Glassfish Architecture.

Apache Jakarta Tomcat

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

Why IBM WebSphere Application Server V8.0?

GlassFish. Developing an Application Server in Open Source

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

ITG Software Engineering

This training is targeted at System Administrators and developers wanting to understand more about administering a WebLogic instance.

Rapid Application Development. and Application Generation Tools. Walter Knesel

<Insert Picture Here> Java, the language for the future

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

Introduction to Sun ONE Application Server 7

WEBLOGIC ADMINISTRATION

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

Developing modular Java applications

ORACLE DATA SHEET KEY FEATURES AND BENEFITS ORACLE WEBLOGIC SERVER STANDARD EDITION

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

Converting Java EE Applications into OSGi Applications

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

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

EclipseLink. Solutions Guide for EclipseLink Release 2.5

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

Server-side OSGi with Apache Sling. Felix Meschberger Day Management AG 124

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

Web Cloud Architecture

Course Description. Course Audience. Course Outline. Course Page - Page 1 of 5

Unit 2 Research Project. Eddie S. Jackson. Kaplan University. IT530: Computer Networks. Dr. Thomas Watts, PhD, CISSP

WebLogic Server 11g Administration Handbook

Oracle WebLogic Server 11g: Administration Essentials

Building a Modular Server Platform with OSGi. Dileepa Jayakody Software Engineer SSWSO2 Inc.

Learn Oracle WebLogic Server 12c Administration For Middleware Administrators

WebSphere Server Administration Course

Basic TCP/IP networking knowledge of client/server concepts Basic Linux commands and desktop navigation (if don't know we will cover it )

Oracle Exam 1z0-599 Oracle WebLogic Server 12c Essentials Version: 6.4 [ Total Questions: 91 ]


WebLogic Server Administration

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

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

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

IBM WebSphere Server Administration

The future of middleware: enterprise application integration and Fuse

IBM Boston Technical Exploration Center 404 Wyman Street, Boston MA IBM Corporation

Oracle Communications WebRTC Session Controller: Basic Admin. Student Guide

Migrating Applications From IBM WebSphere to Apache Tomcat

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

Oracle WebLogic Server: Remote Monitoring and Management

WEBLOGIC SERVER MANAGEMENT PACK ENTERPRISE EDITION

NetBeans IDE Field Guide

JReport Server Deployment Scenarios

1 What Are Web Services?

Oracle WebLogic Server

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

JBoss Enterprise App. Platforms Roadmap. Rich Sharples Director of Product Management, Red Hat 4th April 2011

Five Reasons to Upgrade to WebLogic Server 11g Strategies and Best Practices for Oracle WebLogic Server and Oracle Application Server Customers

What Is the Java TM 2 Platform, Enterprise Edition?

Coherence Managed Servers

CHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS

<Insert Picture Here> Enabling Cloud Deployments with Oracle Virtualization

How To Build A Web App

1 What Are Web Services?

Introducing IBM WebSphere Application Server v8.5 The Future Is Now

Reusing Existing * Java EE Applications from Oracle SOA Suite

Enterprise Manager 12c for Middleware

IBM Rational Web Developer for WebSphere Software Version 6.0

An Oracle White Paper May Oracle Tuxedo: An Enterprise Platform for Dynamic Languages

Server-Side JavaScript auf der JVM. Peter Doschkinow Senior Java Architect

Rational Application Developer Performance Tips Introduction

MagDiSoft Web Solutions Office No. 102, Bramha Majestic, NIBM Road Kondhwa, Pune Tel: /

GlassFish Server Open Source Edition 3.1 Quick Start Guide

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

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

Tuning Your GlassFish Performance Tips. Deep Singh Enterprise Java Performance Team Sun Microsystems, Inc.


Secure the Web: OpenSSO

Robert Honeyman

Oracle WebLogic Server 11g Administration

Private Cloud or Bust: Oracle WebLogic Server and Oracle Enterprise Manager

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

<Insert Picture Here> Application Testing Suite Overview

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

Oracle Identity Analytics Architecture. An Oracle White Paper July 2010

ORACLE DATA INTEGRATOR ENTERPRISE EDITION

Transcription:

<Insert Picture Here> GlassFish v3 - A Taste of a Next Generation Application Server Peter Doschkinow Senior Java Architect

Agenda GlassFish overview and positioning GlassFish v3 architecture Features beyond Java EE 6 Productivity Modularity, OSGi support Management and Monitoring Scripting 2

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. 3

Project Glassfish Java EE RI Java EE 5.0, Java EE 6.0 Included in Java EE SDK Strong Developer Adoption Production Quality Open Source Strong Community Sources, bug DBs, discussions at Java.Net Roadmaps, Architecture Documents Subprojects Jersey (JAX-RS), Metro (JAX-WS), Grizzly (nio),... 4

GlassFish Around You http://maps.glassfish.org 5

GlassFish Deployment blogs.sun.com/stories 6

GlassFish Server Chronology 2006 2007 2008 2009 2010 GlassFish v1 Java EE 5, Single Instance GlassFish v2 Java EE 5, High Availability GlassFish Server 3 Java EE 6, Single Instance GlassFish Server 3.1 Java EE 6, High Availability 7

GlassFish Distributions Available Today Distribution GlassFish Open Source Edition 3.0.1 GlassFish Open Source Edition 2.1.1 License Features CDDL & GPLv2 Java EE 6 compatibility Web Profile distribution Single instance mod_jk for load balancing CDDL & GPLv2 Java EE 5 compatibility In memory replication / clustering Centralized administration Oracle GlassFish Server 3.0.1 Commercial Adds Oracle GlassFish Server Control Patches, support, knowledge base Oracle GlassFish Server 2.1.1 Commercial Adds Enterprise Manager Patches, support, knowledge base 8

Oracle Application Grid Efficiency Lowest operational costs Competitiveness Outperform with speed and flexibility Simplification Best foundation for entire software stack 9

GlassFish and WebLogic Together Best open source application server with support from Oracle Best commercial application server for transactional Java EE applications Open source platform of choice for lightweight Web applications Platform of choice for standardization Focus on latest Java EE standards and community driven innovation Focus on lowest operational cost and mission critical applications Certified interoperability with Fusion Middleware integration with Oracle Database, Fusion Middleware & Fusion Applications Differentiated innovation Production Java Application Deployment Production Java Application Deployment GlassFish Server WebLogic Server 10

GlassFish Server Goals Java EE 6 Themes Oracle GlassFish Server Flexibility Flexibility Extensibility Extensibility Developer Productivity Developer Productivity Modularity / OSGi / Hybrid Apps Manageability High availability clustering 24 x 7 x 365 support 11

GlassFish v3 Features Java EE 6 reference implementation Beyond Java EE 6 Developer productivity (will be treated separately) Modular Extensible Embeddable Observable Hot technologies Metro (Web Services) Update Center Scripting Grizzly (HTTP Engine, Comet, mod_jk) 12

GlassFish v3 Architecture Hundred Kilobyte Kernel 13

Developer Productivity Getting Started Small download: Web Profile ~33MB Fast startup time Admin console with intuitive user interface Using GlassFish Lightweight Low resource utilization Command Line Interface Maven support: mvn gf:start, gf:deploy, gf:run,... Rapid iterative development Extensive IDE support 14

GlassFish v3 Tooling As usual, vi/emacs are Java EE 6 certified Simpler to use: less code to type, less XML, less Interfaces to synchronized, more default values,... NetBeans 6.9.1 Java EE 6 ready Eclipse GlassFish Plugin 1.50 and above GlassFish Tools Bundle for Eclipse 1.2 Oracle Enterprise Pack for Eclipse 11g IntelliJ IDEA 9 Build your own: using GlassFish REST Admin APIs 15

Oracle Enterprise Pack for Eclipse 11g A free set of Eclipse plug-ins for development of Java EE applications for Oracle Fusion Middleware Supports newest Eclipse 3.6 Helios release Includes Java EE 6 tools with support for JSF 2.0, Facelets, JSF 2.0 composite components Servlet 3.0, JPA 2.0, EJB 3.0 and more Extended support for GlassFish Life-cycle, configuration, deployment, debugging Extends support for WebLogic and Coherence 16

Deploying Applications and Components Deploy Packaged component or expanded directory Automatic Deployment JSP Precompile Deploy Java EE Application Client through Java WebStart Dynamic Reloading (great during development) Keep Session on redeploy (great during development) 17

Session Retention Deployment option to maintain stateful sessions across re-deployments asadmin redeploy --properties myapp.war keepsessions=true Greatly simplifies the development paradigm Integrated in tools 18

GlassFish v3 Modularization and Extensibility Based on OSGi Extensible Extensive APIs to replace or extend features OSGi also provides extensions capabilities SOA based architecture Services implement different types of interfaces Java SE style with a META-INF/services file OSGi style HK2 Lazy loading based on usage patterns Makes it easier to provide support for new container types 19

GlassFish and OSGi Runs on top of OSGi (Felix by default) Also runs unmodified on Knopflerfish and Equinox GlassFish ships with 100+ bundles Can run without OSGi (Static mode, thanks to HK2) Can use OSGi management tools (CLI or Web) Extending GlassFish through OSGi Any OSGi bundle will run in GlassFish Server Drop it in glassfish/modules Can also asadmin deploy it using asadmin --type osgi... 20

GlassFish and OSGi OSGi services can be used in any Java EE application @Resource(mappedName= checkosgiservice ) CheckService checkservice; Client code portable, does not use any OSGi specific API Implementation of Java EE related OSGi RFC s: JPA, EJB, JTA,... Converged applications possible Dependencies in OSGi Lifecycle still governed by Java EE Example: Web Application Bundle (WAB) WAR + OSGi metadata + Web-ContextPath header OSGi visibility extended from GlassFish developers to GlassFish users 21

Extending GlassFish v3 with OSGi http://blogs.sun.com/dochez/entry/glassfish_v3_extensions_part_4 Extend GlassFish with an unmodified Spring dm container Simple Spring bean implementing the service Invoke the service from a servlet using standard @Resource injection Still no use of a GlassFish API Single runtime for both Spring and full Java EE 22

GlassFish v3 Extensibility Adding Scripting Frameworks JSF Grails... Rails Merb... Django... Servlet Spec Rack WSGI Web Container JRuby Container Jython Container V3 Kernel Grizzly JVM Key GlassFish v3 Modules Web Framework Interface Java Framework Python Framework Ruby Framework 23

Why Scripting Growing popularity of scripting technologies like JRuby, Groovy, Jython, Scala Reasons Easy and fast development Short learning curve Powerful frameworks Quick and good enough architectures are often preferred Focus on specific domain 24

Why Scripting Frameworks on GlassFish Easier Installation through GF Update Center Run in native scripting container without overhead Reuse the high scalability of GF JDBC connection pooling Thread pooling Special benefits for JRuby/RoR Deploy multiple RoR apps on a single GF instance Handling of multiple requests possible Reuse the management and monitoring capabilities of GF and GF scripting container Reuse GF security 25

Embedded Glassfish Start GlassFish inside your Java Application API for life-cycle, configuration and deployment Use cases In Unit Tests (without a GlassFish installation) As a plugin for Maven 2 project glassfish-embedded goals: run, start, stop, deploy,... As a custom app server Distribution Standalone jars for web and full profile without a GF installation Standalone jar for an existing GF installation Maven plugin: http//download.java.net/maven/glassfish/ 26

Embedded Glassfish @BeforeClass public static void initcontainer() { Server.Builder builder = new Server.Builder(); Server server = builder.build(); ContainerBuilder b = server.createconfig(containerbuilder.type.web); server.addcontainer(b); File archive = new File("hello.war"); server.getdeployer().deploy(archive); } @Test public static void pingapplication() {... } 27

Manageability: Flexible Administration 28

Monitoring and Management Dynamic and non-intrusive monitoring BTrace integration Portable, dynamic and safe tracing tool for Java Btrace annotations and API to write scripts Java-defined Probe Providers DTrace for end-to-end JavaScript Monitoring tool (add-on) Still exposed via AMX/JMX jconsole and visualvm as natural clients 29

RESTful Administration Ready for the Cloud JAX-RS/Jersey offers REST-Interface to Runtime configuration (via GET, POST, DELETE) admin command execution (restart, stop, deploy, etc..) Monitoring (GET only) Start at http://localhost:4848/management/domain http://localhost:4848/monitoring/domain Use of REST-Clients instead of Admin-GUI build on your preferred scripting language or tool Data format as XML, HTML or JSON Extensible 30

GlassFish v3 Monitoring based on probes, similar to DTrace new: client-side scrtipting and DTrace monitoring support 31

GlassFish Update Center Rich Client Web Browser Command Line 32

GlassFish Server 3.1 Combine benefits from versions 2.1.1 and 3.0 Clustering, replication and centralized admin (2.1.1) OSGi modularity and Java EE 6 from (3.x) Milestone-driven development Transparent development Five milestones Now feature-complete! Looking for community feedback 33

GlassFish Server 3.1 Developer Highlights Developer Productivity Improved embedded API support Updated NetBeans and Eclipse plugin Updated Technologies Grizzly WebSocket support Technology refresh JSF, CDI, Grizzly, OSGi, JPA,Jersey, Bean Validation, Metro, UC, etc. Implementation of various Enterprise OSGi Specs 34

GlassFish Server 3.1 Clustering/HA Highlights Shoal GMS over HTTP (Grizzly) implementation Removes the need for TCP broadcast network setup Consistent hash based session replication Preferred fail-over by load-balancer plugin Metro HA: Reliable messaging sequence failover, Secure conversation session failover Support for conventional clustering of MQ brokers in embedded mode Improved automatic delegated transaction recovery with shared file system 35

GlassFish Server 3.1 Manageability Highlights Application versioning support Application scoped resources Statement leak detection and reclaim Improved monitoring SSH based remote management and provisioning Console based on RESTful API 36

GlassFish Server Open Source Edition Roadmap No change to operation of project License, governance, transparency CY 2010 CY 2011 TBD GlassFish 3.0.1 GlassFish 3.2 GlassFish 4 Branding, Patches Multi-Lingual Support New platform support Oracle product interoperability GlassFish 3.1 High availability Centralized admin. Coherence*Web Support Improved application portability to Oracle WebLogic Server Application versioning Improved administration Improved monitoring Virtualization OSGi Enterprise Improved application portability with Oracle WebLogic Server Java EE 7 Compatibility More shared components with Oracle WebLogic Server 37

GlassFish v3 Summary Java EE 6 Themes GlassFish v3 Flexibility Flexible Extensibility Extensible Productivity Productive + High Developer Productivity Bleeding Edge Technologies Enterprise Quality 38

GlassFish Server Links Get it from http://glassfish.org Graphical Installer, Zip version Download size starting at 33MB Stay informed : Twitter : @glassfish http://facebook.com/glassfish http://blogs.sun.com/theaquarium http://www.youtube.com/user/glassfishvideos 39

<Insert Picture Here> GlassFish v3 - A Taste of a Next Generation Application Server Peter Doschkinow Senior Java Architect 40