OpenESB and NetBeans - JavaZone

draindecorumΛογισμικό & κατασκευή λογ/κού

15 Αυγ 2012 (πριν από 4 χρόνια και 4 μήνες)

519 εμφανίσεις

Jason Baragry
Lead Architect, SOA / Business Integration
Sun Microsystems, Norway
OpenESB and
NetBeans: JBI-based,
SOA runtime
infrastructure and
tooling
Agenda

JBI Overview

JavaEE 5 SDK,
OpenESB, and
GlassFish

Project Tango

Tooling Support
What Is JBI?

Standard “meta-container” for
integrated services

Provides for plug-in:
>
Service Engines: business logic
>
Bindings: communications
protocols

Standard component
lifecycle

Standard deployment model

Loose coupling via WSDL
message exchanges
between WSDL described
Services
What is JBI?
JBI
Core
Services
J2SE

/J2EE

Platforms
System
Management
Installation
Deployment
Management
Normalized Message Router
Normalized Message Router
Protocol Binding
Components
Service Engines
Example SEs & BEs
JBI
Core
Services
Normalized Message Router
Normalized Message Router
J2EE

Platform
System
Management
Orchestration
(BPEL)
Transformation
(XSLT)
J2EE Platform
AS2
JMS
WS-I Basic
SOAP
JBI
Core
Services
Normalized Message Router
J2EE Platform
System
Management
Orchestration
(BPEL)
Transformation
(XSLT)
J2EE Platform
AS2
JMS
WS-I Basic
SOAP
Service Provider Self-Description
WSDL
WSDL
WSDL
WSDL
WSDL
WSDL
Components register the
services they provide
Engines
Bindings
Admin
Rules
EDI
xForm
JMS
BPE
WS-I
Java Business Integration
Rules/Policies
BPEL
Service
Service
Service
Service
Service
Service
Service
Service
Evolution of the Platform to Enable SOA
Normalized Message Router

Key to interoperation between components

Mediated Message Exchange

Normalized Message
>
Abstract Message (payload) +
>
Message Properties (metadata)

Message Exchange Pattern
>
Support for simple communications primitives
Administration

Component Life Cycle (containers)
>
Installation

Deployment to Components
>
Service Units
>
Service Assemblies
JBI and ESBs
Workshop Scenario
Demo Scenario: Loan Processing

Loan Requestor Service
Activities:
>
Loan Request
>
Loan Processor
>
Loan Report Store
>
Loan Report Mailer
Demo Scenario: Loan Processing

Loan Requestor Service:
>
LoanRequest
>
WS-I BP
>
BPEL Orchestration
>
LoanProcessor
>
JavaEE
>
TransformReport
>
XSLT
>
LoanReportStore
>
Business Partner thru FTP
>
LoanReportMailer
>
Legacy thru JMS
NMR
BPEL
XSLT
JavaEE
WS-I BP
JMS
File
JBI-based
Infrastructure
NMR
Loan
Request
Service
Transform
Report
Loan
Processor
EJB
LoanRS WS
ReportMail
ReportStore
BPEL
XSLT
JavaEE
File
JMS
WS-I BP
JBI-based
Infrastructure
NMR
Loan
Request
Service
Transform
Report
Loan
Processor
EJB
LoanRS WS
ReportMail
ReportStore
BPEL
XSLT
JavaEE
File
JMS
WS-I BP
NMR
Loan
Request
Service
Transform
Report
Loan
Processor
EJB
LoanRS WS
ReportMail
ReportStore
BPEL
XSLT
JavaEE
File
JMS
WS-I BP
Architecture
Refactoring
NMR
Loan
Request
Service
Transform
Report
Loan
Processor
LoanRS WS
ReportMail
ReportStore
BPEL
XSLT
RulesEngine
File
JMS
WS-I BP
LoanRS Q
JMS
Agenda

JBI Overview

JavaEE 5 SDK,
OpenESB, and
GlassFish

Tooling Support
OpenESB: Projects

Open ESB
>
Umbrella Project, includes all subprojects
>
Additional functionality such as Management and Monitoring
Framework

Glassfish JBI Integration
>
Place where JBI runtime will be implemented
>
Currently Sun Employees but will be open for others

Open JBI Components
>
Component Development
>

Independant” of OpenESB. E.g., could be used in other JBI
based environment. E.g., JBossESB

Open B2B
>
B2B specific components: HIPAA, RFID, EDI, ebXML
Open ESB Distribution

Open ESB
>
JBI Runtime
>
Full collection of
OpenESB components
>
NetBeans based tooling
(see Tooling section of
presentation)

Java Application
Platform SDK
>
Glassfish
>
JBI Runtime
>
Minimal set of OpenESB
components
>
Includes other open
source projects
>
Portal, OpenSSO, etc
http://open-esb.dev.java.net
http://java.sun.com/developer/technicalArticles/J2EE/sdk_overview/

https://open-b2b.dev.java.net/
https://jcaps-b2b.dev.java.net/

OpenESB Functionality

Current Release:
>
Glassfish / AS 9.0
>
BPEL SE
>
XSLT SE
>
JavaEE SE
>
HTTP BC
>
JMS BC
>
File BC

Under Development:
>
IEP (BAM) SE
>
ETL SE
>
SQL SE
>
MQSeries BC
>
HL7 BC
>
SAP BC
>
SMTP BC
>
...
Current release targeted at Developers
Sun to freeze a supported version in April 2007
- similar to the Glassfish -> Sun AppServer relationship
OpenESB and GlassFish
Source: http://www.glassfishwiki.org/jbiwiki/Wiki.jsp?page=Glassfish9.1OpenESBArch

Glassfish
provides:
>
Host for
administration
of the ESB
>
Host for each
node of the ESB
>
JavaEE Service
Engine
More Info

JBI
>
http://www.jcp.org/en/jsr/detail?id=208

>
http://java.sun.com/integration/


OpenESB Project
>
http://open-esb.dev.java.net/

>
https://open-jbi-components.dev.java.net/

>
https://open-b2b.dev.java.net/


JavaEE SDK
>
http://java.sun.com/javaee/downloads/index.jsp


Examples and Demos:
>
http://blogs.sun.com/gopalan/category/JBI_and_SOA
Agenda

JBI Overview

JavaEE 5 SDK,
OpenESB, and
GlassFish

Project Tango

Tooling Support
Interoperable WebServices
between Java and Microsoft
WSF:
WSIT / Project Tango
Project Tango

Goal
>
Deliver next-generation Web Services technologies
enabling first-class interoperability between Sun’s Java™
Technology Products and Windows Operating
environments supporting WCF

Implementation strategy
>
Build on Java API for XML-based Web Services (JAX-
WS) and Java™ Architecture for XML Binding (JAXB)
technologies
>
Work closely with Microsoft and perform product level
testing
>
Build an active Open Source community centered around
the Project GlassFish community
Relevant Standards

Messaging
>
WS-Addressing, MTOM

Metadata
>
WS-MetadataExchange, WS-Policy, WSDL

Security
>
WS-SecurityPolicy, WS-SecureConversation, WS-Trust,
WS-Security

Reliability
>
WS-ReliableMessaging

Transactions
>
WS-Coordination, WS-AtomicTransaction
Layered View
More Info

Project Tango
>
http://java.sun.com/developer/technicalArticles/glassfish/ProjectTango/


Open Source Project
>
https://wsit.dev.java.net/

Agenda

JBI Overview

JavaEE 5 SDK,
OpenESB, and
GlassFish

Project Tango

Tooling Support
Netbeans: The Packs Story

Packs are an an evolution toward running all Sun
tools functionality on a common NetBeans binary
>
In the past, they have forked

JFluid

Sun Java Studio Mobililty

Sun Java Studio Enterprise

Sun Studio

Sun Java Studio Creator

Profiler

Mobility Pack

Enterprise Pack

C/C++ Pack

Visual Web Pack
NetBeans Enterprise Pack

Support for composite applications in NetBeans

Design BPEL business processes to orchestrate:
>
Java EE Web services
>
External Web services
>
Other BPEL processes

Develop secure, identity-enabled Java EE Web
services

Visualize, analyze, and edit real-world XML
Schema, WSDL, and XML instance documents

Model architectures and designs using UML 2.0
Web Service Orchestration

Visually author BPEL 2.0 business processes with the
BPEL Designer
>
Step-through debugging support
>
Built-in testing capability for unit testing
>

Beyond syntax” validation of schema, WSDL, and BPEL
>
BPEL Refactoring

BPEL Mapper
>
Visually create complex XPath expressions

Deploy to the built-in BPEL engine
>
JBI-based BPEL service engine + SOAP/HTTP bindings
>
Running within the bundled Sun Java System Application
Server
XML Development

Visualize, analyze, and edit XML Schemas with the

XML Schema Editor
>
Refactor across XML Schema, WSDL, and BPEL files
>
Run advanced queries and visually analyze XML
Schema
>
Visual where-used of Schema components
>
Apply design patterns to XML Schema

Author-by-example Design view
>
Author complex XML Schemas by editing

easy-to-understand virtual instance documents

Schema-based code completion for XML instances

Create WSDL files with the
WSDL Editor
Secure Service Creation

Secure Java EE Web service development
>
Message-level security for Web service clients and
providers
>
J2EE 1.4 and Java EE 5
>
Support provided by the bundled Sun Java System
Access Manager
>
Easy installation of runtime components

Both
WSI-BSP
and Liberty token profile support
>
SAML, X.509, Username/password

Includes Identity Blueprints with samples
More Info

NetBeans Enterprise Pack
>
http://enterprise.netbeans.org/


Examples and Videos
>
http://blogs.sun.com/barkodar/entry/enterprise_pack_5_5

>
http://blogs.sun.com/barkodar/resource/99secdemo-1.htm

WebServices in JavaEE 5
>
http://www.netbeans.org/kb/trails/java-ee.html

jason.baragry@sun.com
Sun Microsystems, Inc.
Q&A