building service-oriented architectures with java and web
DESCRIPTION
TRANSCRIPT
![Page 1: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/1.jpg)
Building Service Oriented Architectures with Java and Web ServicesNY Java SIG Meeting – Feb 1st, 2005
Ashutosh Kulkarni, Group Mktg Manager
![Page 2: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/2.jpg)
SOA v/s
Web services
![Page 3: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/3.jpg)
The Solution is SOA
Service Oriented Architecture (SOA) is an integrated software infrastructure and design approach, leveraging Web computing standards, for delivering business functions as shared services.
![Page 4: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/4.jpg)
SOA vs. Web Services
● Web Services– Business logic exposed as self-describing,
loosely coupled, reusable services – Uses low level protocols and infrastructure
● Service Oriented Architecture– Integrates web services architecture with
legacy systems in a loosely coupled way.– Enables higher level IT functionality, such
as Identity, Security, Management, BP modeling
![Page 5: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/5.jpg)
Before SOA
S1
S2Traditional EAI MiddlewareMOMIntegration Broker Suites
![Page 6: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/6.jpg)
SOA Architecture
Computing Approach
SOA Middleware
S1
SOA Middleware
S2Web ComputingStandards(Internet)
![Page 7: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/7.jpg)
Service Integration
![Page 8: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/8.jpg)
A Service as a Component
![Page 9: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/9.jpg)
A Composite Application
![Page 10: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/10.jpg)
Service Integration – many Technologies and artifacts
![Page 11: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/11.jpg)
JSR 208: New Container for Service Integration
![Page 12: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/12.jpg)
JSR 208: Java Business Integration
![Page 13: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/13.jpg)
JSR 208 Architecture
JBI CoreServices
Normalized Message Service InstallationDeploymentManagement
Component Registry
Syst
em
M
an
ag
em
en
tA
dm
in.
Con
sole
Log
ger
Dis
covery
&
Dep
loym
en
t
Orchestration
(BPEL)WSD
L
Transformation
(XSLT)WSD
L
J2EE
WSDL
Filesystem
WSDL
JMS
WSDLWS-I Basic
+Basic
Security
WSDL
Other Bindings
WSDL
Other Service Engines
WSDL
Service1
Service2
Service3
SOAP SOAP JMS
WSDL WSDL WSDL
J2SE/J2EE
![Page 14: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/14.jpg)
Composite Application Descriptor
JBI CoreServices
Normalized Message Service InstallationDeploymentManagementComponent
Registry
Syst
em
M
anagem
ent
Adm
in.
Conso
leLo
gg
er
Dis
covery
&
Deplo
ym
ent
Orchestration
(BPEL)WSD
L
Transformation
(XSLT)WSD
L
J2EE
WSDL
Filesystem
WSDL
JMS
WSDLWS-I Basic +
Basic Security
WSDL
Other Bindings
WSDL
Other Service Engines
WSDL
Service1
Service2
Service3
SOAP SOAP JMS
WSDL WSDL WSDL
J2SE/J2EE
Application Element Artifact
Service Orchestration BPEL
Data Transformation XSLT
Service 1 WSDL
Service 2 WSDL
Service 3 WSDL
SOA Composite App Descriptor
![Page 15: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/15.jpg)
Deploying a Composite Application
JBI CoreServices
InstallationDeploymentManagementComponent
Registry
Syst
em
M
anagem
ent
Adm
in.
Conso
leLo
gg
er
Dis
covery
&
Deplo
ym
ent
Orchestration
(BPEL)WSD
L
Transformation
(XSLT)WSD
L
J2EE
WSDL
Filesystem
WSDL
JMS
WSDLWS-I Basic +
Basic Security
WSDL
Other Bindings
WSDL
Other Service Engines
WSDL
Service1
Service2
Service3
SOAP SOAP JMS
WSDL WSDL WSDL
J2SE/J2EE
Application Element Artifact
Service Orchestration BPEL
Data Transformation XSLT
Service 1 WSDL
Service 2 WSDL
Service 3 WSDL
![Page 16: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/16.jpg)
Optimizing Service Integration
![Page 17: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/17.jpg)
Why XML? And why not?
● Advantages– Ubiquity and momentum– Transparency
● One syntax (unicode with <>)● Human readable
– Enables loosely coupled robust (infoset) systems● Disadvantages
– Verbose● Redundancy● Data as characters
– More processing● Parsing and binding
Advantages and disadvantages
![Page 18: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/18.jpg)
Why & Who “Binary XML”?
● Expand range of use of WS– Limited bandwidth– Large docs/images– Fast response– Many requests, ...
●With the cost-benefits of XML tools!●Standarization Is Critical!
– W3C Workshop @ Sun– ISO/ITU-T Effort
● Fast Infoset, Fast Schema, Fast WebServices
– W3C XML Binary Characterization WG● Sun is co-editor, 41 participants, 25 organizations
![Page 19: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/19.jpg)
Standards for InteroperabilityJoint ITU-T | ISO/IEC standards
Fast Web ServicesFastInfoset
FastSchemaFast
SOAP
X.finf X.694
X.fws
Self-describingor structured
content SOAPmessage
with content
Schema-basedcontent
![Page 20: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/20.jpg)
The Set of Technologies● Fast Infoset
– For efficient XML Infoset processing– Binary encoding of XML Infosets– Substantial improvements (x3-x4 for JAX-RPC)
● Fast Schema– For efficient schema-based processing– Binary encoding utilizing schema– Even better improvement than FI (another x2)
● Fast Web Services– Combines Fast Infoset and Fast Schema– Fast SOAP - Binary encoding of SOAP 1.2– Use of protocol negotiation to adjust encoding
![Page 21: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/21.jpg)
Fast and APIs● Fast Infoset
– Easy under JAX-RPC 1.x, StAX, SAX, DOM– Easy to use with intermediaries– Available as Open Source at Java.Net
● FWS– Limited under 172– New APIs being refined
● JAX-RPC 2.0 (JSR-224)● JAXB 2.0 (JSR-222)
– New integrated stack implementation
![Page 22: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/22.jpg)
In a Nutshell● There is a need – today – for optimized
Service Integration● Sun leads in Interop Standards
– WS-I BP, WSS, Liberty, ebRegistry, WSRP
● Sun leads Java specifications and specifications
– JSR 208, Binary XML (Fast Infoset, etc.)
● Sun will continue to lead the industry in helping developers build and deploy Service Oriented Architectures on the Java platform
![Page 23: Building Service-Oriented Architectures with Java and Web](https://reader033.vdocuments.mx/reader033/viewer/2022051109/5480daf45806b506118b45c6/html5/thumbnails/23.jpg)
23
For More Information● JSR 208 EG Page
– http://www.jcp.org/en/jsr/detail?id=208● WSDL 2.0
– http://www.w3.org/TR/wsdl20/
● Fast Web Services– http://jwsdp.dev.java.net– http://fi.dev.java.net (Open Source)
● W3C XML Binary Characterization WG– http://www.w3c.org/XML/Binary
● Oasis BPEL TC– http://www.oasis-open.org/committees/tc_home.php?
wg_abbrev=wsbpel