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



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

Java EE 7: Back-End Server Application Development

APP DEVELOPMENT ON THE CLOUD MADE EASY WITH PAAS

OpenShift. OpenShift platform features. Benefits Document. openshift. Feature Benefit OpenShift. Enterprise

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

OpenShift Enterprise PaaS by Red Hat. Andrey Markelov RHCA Red Hat, Presales Solution Architect

Java EE 6 Ce qui vous attends

RESIN APPLICATION SERVER JAVA EE 6 WEB PROFILE

OpenShift on OpenStack

Accelerated Java EE Open Source Development with Eclipse CON1905

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

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

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

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

Rapid Application Development. and Application Generation Tools. Walter Knesel

Jfokus PaaS Hands-On Lab

applications. JBoss Enterprise Application Platform

OpenShift. Marek Jelen, OpenShift, Red Hat

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

Red Hat JBoss Overview Intelligent Integrated Enterprise!!!! Blaine Mincey Sr. Middleware Solutions Architect

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

White Paper: 1) Architecture Objectives: The primary objective of this architecture is to meet the. 2) Architecture Explanation

JSR 375 (EE Security API) Review

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

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

OpenShift on you own cloud. Troy Dawson OpenShift Engineer, Red Hat November 1, 2013

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

PaaS solutions evaluation

Framework Adoption for Java Enterprise Application Development

Platform Architecture & Integration with OpenShift

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

Networks and Services

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

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

The future of middleware: enterprise application integration and Fuse

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

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

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

ON-PREMISE OR IN THE CLOUD, A SINGLE JAVA EE APPLICATION PLATFORM

Nicholas S. Williams. wrox. A Wiley Brand

Web Development in Java Part I

How to choose the right PaaS Platform?

JAVA IN THE CLOUD PAAS PLATFORM IN COMPARISON

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

RED HAT JBOSS FUSE. An open source enterprise service bus

JBS-102: Jboss Application Server Administration. Course Length: 4 days

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

The end. Carl Nettelblad

Java Development for the Cloud, present and future. Scott Rich Distinguished Engineer, IBM Rational

This presentation is for informational purposes only and may not be incorporated into a contract or agreement.

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

What s new in Spring 3.1?

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

Continuous integration with Jenkins CI

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

RED HAT CLOUD SUITE FOR APPLICATIONS

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

OpenShift 3.0 in the Sogeti Services Factory

Operations and Monitoring with Spring

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

JSR-303 Bean Validation

Building Web Services with Apache Axis2

HPC Portal Development Platform with E-Business and HPC Portlets

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

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

Bienvenue chez le Ch ti JUG!

RED HAT JBOSS FUSE. A lightweight, flexible integration platform

WebSphere Application Server Development Environment. Anita Rass Wan WebSphere Foundation Product Manger

Software Development Interactief Centrum voor gerichte Training en Studie Edisonweg 14c, 1821 BN Alkmaar T:

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

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

EclipseLink. Solutions Guide for EclipseLink Release 2.5

WebSphere Training Outline

Red Hat in The Cloud

How To Write A Web Framework In Java

Web Development with the Eclipse Platform

JBoss Enterprise Application Platform 6.2 Development Guide

DevOps. Josh Preston Solutions Architect Stardate

Java, PHP & Ruby - Cloud Hosting

JAVA ENTERPRISE IN A NUTSHELL. Jim Farley and William Crawford. O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo.

Learning GlassFish for Tomcat Users

OpenShift and Cloud Foundry PaaS: High-level Overview of Features and Architectures

What's new in Java EE 6? Antonio Goncalves

JVA-122. Secure Java Web Development

FEATURE MATRIX. ORACLE WEBLOGIC SERVER STANDARD EDITION 11g ORACLE WEBLOGIC SERVER ENTERPRISE EDITION 11g ORACLE WEBLOGIC SUITE 11g

Mike Boyarski Jaspersoft Product Marketing Business Intelligence in the Cloud

Stackato PaaS Architecture: How it works and why.

Developer support in a federated Platform-as-a-Service environment

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

A Guide to Migrating Enterprise Applications to Spring

Transcription:

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

About Me ~ Shekhar Gulati OpenShift Evangelist at Red Hat Hands on developer Speaker Writer and Blogger Twitter @ shekhargulati

Agenda

PaaS == Platform as a Service A Cloud Application Platform Code Code your app Deploy Push-button Deploy, and your App is running in the Cloud! Enjoy Save Time and Money

Why PaaS? Lets developer focus on his job i.e. to write code. Improves developer productivity. Brings agility to product development. Gives developers the power to prototype their ideas quickly and rapidly.

OpenShift is PaaS by Red Hat

OpenShift Open PaaS Polyglot supports multiple programming languages Support multiple databases Auto scales Developer friendly Flexible Open source OpenShift Origin

Why OpenShift? Strength. OpenShift is built on proven Red Hat technologies. Freedom. In OpenShift, work the way you want. Choice of Interface: Web Console, Command-line, or IDE Choice of Middleware: Java(EE6), Ruby, Node.js, PHP, Python, and Perl Choice of Cloud: Public, Private, or Hybrid Cloud Choice of Elasticity: Automatic application scaling when needed Openness. OpenShift s open source software stack ensures application portability and No Lock-In.

OpenShift is the BEST Platform for Java Developers

Why I think OpenShift is Best? Can run any thing that's Java Java EE or Spring does not matter. Supports both Java 6 and Java 7 Supports JBoss AS7, JBoss EAP 6.0, and Tomcat Ability to write to persistent file system Debugging support Hot deployment Eclipse support

Getting Started with OpenShift https://openshift.redhat.com/app/account/new 1) Sign up with Promo Code JUDCON.IN 2) Verify Email

What I get after sign up? OpenShift is free-as-in-beer & free-as-infreedom You get three free gears, each with 512MB memory and 1GB of disk space. Need more resources, just ask! The catch is we are in developer preview right now

Sign up at OpenShift Booth and get an OpenShift T-Shirt

How To Work with OpenShift Developer IDE Integrations Command Line Tooling Web Browser Console REST APIs

Demo 1 Web Console Log in to OpenShift Web console Walkthrough various application types Creating Domain Name Wordpress Blog in less than 2 minutes Credentials admin/openshiftadmin

Install Client Tools and Setup Account Install the client tools Install Ruby 1.8.7 or above sudo gem install rhc Install Git rhc setup -l <openshift_login> Upload ssh keys Check if git is installed Create domain if not exists

Look at Java EE 6 Java EE 6 provides a platform to write enterprise applications in Java Consists of 28 specifications (Thousands of pages) Convention over configuration Less boilerplate code Promotes POJO programming model Annotations and types over XML Introduced EJB Lite Simplified Packaging Introduced concept of Profiles

Java EE 6 The simplest possible and most lightweight platform you can currently get Adam Bien

Java EE 6 Specifications JSF 2.0 EJB 3.1 JAX-RS 2.0 Servlet 3.0 JPA 2.0 JAX-WS 2.2 JSP 2.2 JTA 1.1 etc... EL, JSTL 2.0, etc. JavaMail etc. CDI (JSR 299)1.0 JAX-WS 2.2 @Inject 1.0 JAXB 2.2 Bean Validation 1.0 JDBC 4.0 JNDI 1.5 SAAJ 1.3 Common 1.1 Interceptor Managed Bean 1.0 JACC 1.0 1.1 Java SE 6 Note : This is not a full list

Let's now look at some specs Servlet 3.0 JPA 2.0 EJB 3.1

Servlet 3.0 Ease of development via annotations Pluggability Async support File upload support And many more..

JPA 2.0 Evolved separately from EJB now JSR 317 Richer mappings Richer JPQL Standard config options Criteria API And many more..

EJB 3.1 Optional local interface Use @Local and @Remote Packaged in war Asynchronous calls using @Asynchronous annotation Timer Service supports cron like syntax And many more @Singleton, Embeddable container,etc.

Demo 2 Servlet 3.0, JPA 2.0, EJB 3.1 Todo Application JPA 2.0 for persistence Servlet 3.0 as controller EJB 3.1 as business service Github repo of demo application https://github.com/shekhargulati/judcon-todo-servlet3-jpa2-ejb31-demo

Demo 2 Steps Create JBoss EAP 6.0 OpenShift Application Add PostgreSQL support Create domain model TodoList 1->n Todo Add persistence.xml Create EJB service TodoService Create TodoServlet to create and find TodoList Create FileUploadServlet Add page.jsp to WEB-INF/pages folder git add. git commit -am Todo Application created git push

Let's now look at some other specifications CDI Bean Validation JSF 2.0 Interceptors

Bean Validation 1.0 Enable declarative validation in your applications Constrain Once and Validate Anywhere restriction on a bean, field or property not null, size between 1 and 7, valid email... Standard way to validate constraints Integration with JPA 2.0 & JSF 2.0

CDI Stands for Context and Dependency Injection Glues the platform in a way never done before Provide two main things Dependency Injection Manages components in scope Leads to loose coupling and strong typing using annotations

Interceptors 1.1 Address cross-cutting concerns in Java EE Separate spec shipped with EJB 3.1 Can be used with EJBs as well as ManagedBeans @AroundInvoke @AroundTimeout for EJB timers

Demo 3 JSF 2.0, CDI, Bean Validation, Events, Interceptors git rm -rf src/ pom.xml git commit -am "removed demo 2" git remote add demo2 -m master git://github.com/shekhargulati/judcon-todo-jsf2-cdijsr303-events-interceptor-demo.git git pull -s recursive -X theirs demo2 master

Demo 3 Extending Todo application CDI for dependency injection JPA 2.0 Criteria API for querying EJB 3.1 for writing business service Interceptor for logging JAX RS for Restful web services

3 More Sessions ~ All Different Polyglot Persistence Apps on OpenShift - Today Building Java MongoDB application using Hibernate OGM - Tomorrow JBoss Forge + OpenShift = Rapid Enterprise Application Development for Cloud Tomorrow

Conclusion OpenShift is very easy to use and makes life great for developers Java EE 6 is easy OpenShift is best platform for Java developers Did I mention Free Sign up with promo code JUDCON.IN