Java 2 Enterprise Edition and Web Services
Java 2 Enterprise Edition and Web Services
Java 2 Enterprise Edition and Web Services
William Cox
BEA Systems, Inc.
http://www.bea.com/
william.cox@bea.com
Agenda
• Java Standards
• Web Services Stack
• Java, XML, and Web Services
• Conclusions
Copyright 2003 BEA Systems, Inc All Rights Reserved OMG Web Services Workshop February 2003 2
Which Java?
Copyright 2003 BEA Systems, Inc All Rights Reserved OMG Web Services Workshop February 2003 3
Java Standards
Copyright 2003 BEA Systems, Inc All Rights Reserved OMG Web Services Workshop February 2003 5
The Web Services “Stack”
Transactions Business Process
XML
Orchestration
Routing Attachments
Message
XML
Sequences
Security Reliability
Capabilities
XML
XML XMLXML
Schema Inspection
XML
Copyright 2003 BEA Systems, Inc All Rights Reserved OMG Web Services Workshop February 2003 6
“Wire level” is XML and
SOAP
• SOAP 1.1
• SOAP 1.2 (w3c XML Protocol)
• XML Language
Copyright 2003 BEA Systems, Inc All Rights Reserved OMG Web Services Workshop February 2003 7
Description
• WSDL 1.1
• WSDL 1.2 in process
• Also XML Schema
– From W3C architecture
Copyright 2003 BEA Systems, Inc All Rights Reserved OMG Web Services Workshop February 2003 8
Discovery
• Repository
– UDDI is usually described as the Web Services
Repository
– ebXML Registry/repository may be implemented in
UDDI, and vice versa
• Inspection
Copyright 2003 BEA Systems, Inc All Rights Reserved OMG Web Services Workshop February 2003 9
Five Levels of
Description
• In this talk we break the “Wire” level into two
parts, giving four levels:
1) XML Infrastructure (including XML Schema)
2) Wire packaging (SOAP versions)
3) Description (WSDL versions)
4) Discovery (UDDI, ebXML Reg/Rep, etc)
5) Additional Capabilities using or extending Web
services
• For example, Web Services Remote Portlet,
Web Services Security, Transactions
• We discuss standardization and technologies
in the Java 2 platforms for each level
Copyright 2003 BEA Systems, Inc All Rights Reserved OMG Web Services Workshop February 2003 10
The Base—
XML Infrastructure
• XML Language
• XML Schema
• Java Processing for XML (JAXP) JSR 63
– Final Release 2 10 Sept 2002
• Streaming API for XML Parsing JSR 173
• Java Binding for XML (JAXB) JSR 31
– Final Approval Ballot 27 Jan 2003
• JDOM JSR 102
Copyright 2003 BEA Systems, Inc All Rights Reserved OMG Web Services Workshop February 2003 11
Wire—SOAP
Copyright 2003 BEA Systems, Inc All Rights Reserved OMG Web Services Workshop February 2003 12
Description—WSDL
Copyright 2003 BEA Systems, Inc All Rights Reserved OMG Web Services Workshop February 2003 13
Discovery—
Registries and Repositories
• JAXR (Java API for XML Registries) JSR 93
– Final Release 11 June 2002
– Covers UDDI and ebXML core functions
Copyright 2003 BEA Systems, Inc All Rights Reserved OMG Web Services Workshop February 2003 14
Additional Capabilities
• Security
– XML Trust Service APIs JSR 104
– XML Digital Signature JSR 105
– XML Digital Encryption APIs JSR 106
– Web Services Security Assertions JSR 155
– Web Services Message Security JSR 183
• Metadata
– A Metadata Facility for the Java Platform JSR 175
– Web Services Metadata for the Java Platform JSR
181
Copyright 2003 BEA Systems, Inc All Rights Reserved OMG Web Services Workshop February 2003 15
Additional Capabilities
(continued)
Copyright 2003 BEA Systems, Inc All Rights Reserved OMG Web Services Workshop February 2003 19
Toolkits—Target
• Target is either
– A servlet container (not necessarily J2EE certified)
• Often Apache, other generic servlet containers
– A specific J2EE Container (or several), as in
• WebLogic Workshop
• Cape Clear CapeConnect
• IBM alphaWorks, others targeting WebSphere
• Iona XMLBus
• Systinet WASP
Copyright 2003 BEA Systems, Inc All Rights Reserved OMG Web Services Workshop February 2003 20
Some Toolkits
• Apache AXIS
• BEA WebLogic Workshop
• IBM Web Services Toolkits
• Iona XML Bus, WS Integration Platform
• Java Web Services Developer Pack (Sun)
• Microsoft SOAP Toolkit
• The Mind Electric Glue
• Systinet WASP
Copyright 2003 BEA Systems, Inc All Rights Reserved OMG Web Services Workshop February 2003 21
Conclusions:
Java and Web Services
• Java is the strongest enterprise execution environment
today
• Java is supported by products from many companies
• Java is well-supported by open source projects
• Java standards (JSRs) allow consistent Web services
usage in the Java platform; many JSRs for XML and
Web Services, some complete and deployed
• Java is closest to an open standard
• Toolkits and development environments are a ripe
area for competition
Copyright 2003 BEA Systems, Inc All Rights Reserved OMG Web Services Workshop February 2003 22