Conduct JBoss EAP 6 seminar

36
Syed M Shaaf Solution Architect 9th October 2012 Ease into Cloud with JBoss EAP 6

description

Update on the latest

Transcript of Conduct JBoss EAP 6 seminar

Page 1: Conduct JBoss EAP 6 seminar

Syed M ShaafSolution Architect

9th October 2012

Ease into Cloud with JBoss EAP 6

Page 2: Conduct JBoss EAP 6 seminar

2 RED HAT, INC. | ENTERPRISE APPLICATION PLATFORM

WHAT WE DO

We offer a range of mission-critical software and services covering:

HOW WE DO IT. THE BENEFITS.We develop everything usingan OPEN SOURCE model.

Shared development reducescosts & accelerates innovation.

Open collaboration offers products that genuinely meet customers' requirements.

Better price & performance

Better quality

Faster technology innovation

Alignment to your needs

Flexibility

CLOUD OPERATING SYSTEM

VIRTUALIZATION STORAGE

MIDDLEWARE

Page 3: Conduct JBoss EAP 6 seminar

3 RED HAT, INC. | ENTERPRISE APPLICATION PLATFORM

PRODUCT PROCESS

We participate in & create upstreamprojects.

We build & support open communitiesaround integrated projects.

We enable software & hardware partners to participate at every stage of development.

We commercialize theseinnovations together with a richecosystem of services & certifications.

PARTICIPATE

INTEGRATE

STABILIZE

100,000+PROJECTS

Page 4: Conduct JBoss EAP 6 seminar

4 RED HAT, INC. | ENTERPRISE APPLICATION PLATFORM

OUR CUSTOMERS

The largest global exchangeon the planet. The largest global distribution

system in the world.

A leading enterprise cloudcomputing vendor.

We are pleased to offer supported enterprise-class Red Hat Enterprise Linux on demand for our customers.

Wherever you live, it is likely that several letters that youhave received have been read, coded, and processed for delivery by one of our systems using JBoss EnterpriseApplication Platform as the middleware foundation.

Red Hat has impressed us with itsoutstanding engineering capabilitiesand commitment to our strategicalliance.

Page 5: Conduct JBoss EAP 6 seminar

An Enterprise application platform

JBoss Enterprise Application Platform 6● Cloud (IaaS/PaaS) Ready Architecture● Developer Productivity

Page 6: Conduct JBoss EAP 6 seminar

MEGATREND: Explosion of Mobile DevicesMulti Form-Factor. Multi Platform.

By 2014 there will be 1.7 Bn connected PCs, Smartphones, and Tablets

820 M will be Smartphones running Android, iOS, or Windows

Source – Morgan Stanley

Page 7: Conduct JBoss EAP 6 seminar

MEGATREND: Hybrid CloudsOn-Premises Cloud. Public Cloud. Now Both.

WORLDWIDE IP TRAFFIC WILL QUADRUPLE BY 2015

80% OF IT WILL ADOPT SOME FORM OF CLOUD BY 2014

83% OF ORGANIZATIONS ASK FOR DEPLOY ANYWHERE

BY 2015, THE MAJORITY OF THE ENTERPRISE…WILL REQUIRE INTEGRATED HYBRID CLOUD MANAGEMENT CAPABILITIES

HOW DO YOU MAKE APPLICATIONS PORTABLE AMONG CLOUDS

CONNECT ACROSS CLOUDS?

PRIVATE CLOUD PHYSICAL SERVERS PUBLIC CLOUD

Source: IDC Cloud Management Study, 2011 Survey

Page 8: Conduct JBoss EAP 6 seminar

8 RED HAT, INC. | ENTERPRISE APPLICATION PLATFORM

PHYSICAL VIRTUAL PRIVATE PUBLIC

What is cloud-ready architecture?

• High degree of automation• Flexible management• Dynamic and frugal use of resources• Lean, agile development• Open platform

JBOSS ENTERPRISE MIDDLEWARE

Page 9: Conduct JBoss EAP 6 seminar

What is EAP 6?

• Stands for JBoss Enterprise Application Platform

• stable, innovative and supported Platform

• based on the JBoss AS7.1.x

• Implements the Java EE 6 Specification, that consist of two profiles, that target specific use-cases

• Web profile

• for web-based technologies like Servlets, JavaSever Pages, JavaSever Faces, CDI, JPA and EJB Lite (a subset of the EJB 3.1 specification without remote invocations, message-driven beans and Web-Services capabilities)

• Full profile

• contains all the Java EE technologies

Page 10: Conduct JBoss EAP 6 seminar

EAP 6 and Java EE 6 Spec.• Java EE 6 Goals

• More flexible technology stack and further Ease of Development

• Enhanced portability and Richer Platform

• EAP 6 implements the full Java EE 6 stack and will pass the Java EE 6 TCK

Page 11: Conduct JBoss EAP 6 seminar

11 RED HAT, INC. | ENTERPRISE APPLICATION PLATFORM

EAP6 Core Architecture

Page 12: Conduct JBoss EAP 6 seminar

12 RED HAT, INC. | ENTERPRISE APPLICATION PLATFORM

Architecture

● JBoss Modules

● JBoss Modular Service Container (MSC)

Page 13: Conduct JBoss EAP 6 seminar

13 RED HAT, INC. | ENTERPRISE APPLICATION PLATFORM

Fast

● Reduced Startup Time

● Reduced Memory Footprint

Page 14: Conduct JBoss EAP 6 seminar

14 RED HAT, INC. | ENTERPRISE APPLICATION PLATFORM

JBoss Modules

● Lightweight, Modular Class Loading

● Graph Based● O(1) Dependency Resolution

● Concurrent

● External Definitions

● Restricted Visibility● Server / Peer

● Implicit Dependencies (e.g. Java EE)

Page 15: Conduct JBoss EAP 6 seminar

15 RED HAT, INC. | ENTERPRISE APPLICATION PLATFORM

JBoss MSC

● Lightweight

● Services● Concurrent Startup● On-Demand● Up / Down

Page 16: Conduct JBoss EAP 6 seminar

16 RED HAT, INC. | ENTERPRISE APPLICATION PLATFORM

JBoss MSC

Page 17: Conduct JBoss EAP 6 seminar

17 RED HAT, INC. | ENTERPRISE APPLICATION PLATFORM

Centralized Configuration

● Security

● Logging

● Data Sources

● EJB

● Caching

● JGroups

● JMS

● mod_cluster

● Web

● Web Profile

● Full Profile

● High Availability

Page 18: Conduct JBoss EAP 6 seminar

EAP 6 Configuration tree structure

Page 19: Conduct JBoss EAP 6 seminar

19 RED HAT, INC. | ENTERPRISE APPLICATION PLATFORM

Maven

● Complete Maven repository available for download.

● Consolidate Java EE API dependencies.

● Multiple Java EE 6 and JBoss archetypes (project templates).

● Full featured Maven plugin.

Page 20: Conduct JBoss EAP 6 seminar

Login Modules• EAP 6 ships out of the box with a large collection of LoginModules

and here are the most useful

Login ModuleLogin Module DescriptionDescription

Databaselogin module loads user/role information from a database

Certificatelogin module is designed to authenticate users based on X509Certificates

CertificateRoleslogin module extends the Certificate login module to add role-mapping capabilities from a properties file

DatabaseCertificatelogin module extends the Certificate login to add role mapping capabilities from a database table

Ldaphis login module loads user/role information from an LDAP server

LdapExtended

login module is an alternate LDAP login module implementation that uses searches for locating both the user to bind the authentication as well as the associated roles.

RoleMappinglogin module is used to map roles that are the end result of the authentication process to one or more declarative roles

UserRoleslogin module is a simple Properties Map-based login module that consults two Java Properties-formatted text files

Page 21: Conduct JBoss EAP 6 seminar

Management interfaces topology

Page 22: Conduct JBoss EAP 6 seminar

Horizontal scalability in standalone mode

Page 23: Conduct JBoss EAP 6 seminar

Vertical scalability in standalone mode

Page 24: Conduct JBoss EAP 6 seminar

24

Domain topology - BIG PICTURE

24

Page 25: Conduct JBoss EAP 6 seminar

Load Balancing with mod_cluster

Page 26: Conduct JBoss EAP 6 seminar

Clustering subsystems

• JGROUPS - toolkit for the underlying communication between nodes . Configured with 2 stacks for communication UDP (default) and TCP (if the environment is not multicasting)

• INFINISPAN - data caching and object replication and comes with 3 preconfigured caches:

• cluster - Replication of objects in a HA cluster

• web - Session replication

• sfsb - Replication of stateful session bean

• hibernate - 2nd level entity caching for JPA/Hibernate

• MODCLUSTER- software LB spreads requests among two or more nodes

Page 27: Conduct JBoss EAP 6 seminar

Web connectors

Page 28: Conduct JBoss EAP 6 seminar

Making your web application mobile

Page 29: Conduct JBoss EAP 6 seminar

29 RED HAT, INC. | ENTERPRISE APPLICATION PLATFORM

Developer ProductivityMaven Support

● EAP6 Artifacts provided .zip, to be imported into your own local repository manager

● Red Hat hosted repo. coming soon

● BOM POMs provided for major EE 6 use cases

● 20+ quickstart samples● Tool Integration● Hosted Maven coming soon.

Page 30: Conduct JBoss EAP 6 seminar

30 RED HAT, INC. | ENTERPRISE APPLICATION PLATFORM

Developer Productivity

● Architecture

● Centralized Configuration

● Maven

● Java EE 6

● Quickstarts

● Integration Testing

● Cloud

Page 31: Conduct JBoss EAP 6 seminar

PRESENTER NAME | Non Confidential 31

Page 32: Conduct JBoss EAP 6 seminar

32 RED HAT, INC. | ENTERPRISE APPLICATION PLATFORM

Get Started Fast With OpenShift

Page 33: Conduct JBoss EAP 6 seminar

33

33

What is OpenShift?

Red Hat’s cloud-hosted PaaS for apps

Page 34: Conduct JBoss EAP 6 seminar

34

34

Kind of like Amazon, right? Nope.

Page 35: Conduct JBoss EAP 6 seminar

35 RED HAT, INC. | ENTERPRISE APPLICATION PLATFORM35

Why Platform as a Service?• Start quickly, iterate quickly

• Manages the cloud & app stack for you

• Lets you focus on code & customers

Code Deploy Enjoy

Save Time and MoneyCode your app

Push-button Deploy, and your App is running in the Cloud!

Page 36: Conduct JBoss EAP 6 seminar

Syed M ShaafSolution Architect

9th October 2012

Thank you