Your SlideShare is downloading. ×
Glassfish Metro - Java Web Services Stack
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Glassfish Metro - Java Web Services Stack

2,523

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,523
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
34
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. 1
  • 2. <Insert Picture Here>Glassfish Metro – Java Web Services StackMartin GrebacMetro Project Lead
  • 3. The following is intended to outline our general productdirection. It is intended for information purposes only,and may not be incorporated into any contract. It isnot a commitment to deliver any material, code, orfunctionality, and should not be relied upon in makingpurchasing decisions.The development, release, and timing of any featuresor functionality described for Oracle’s products remainsat the sole discretion of Oracle. 3
  • 4. Agenda• Overview• Architecture• Demos• Roadmap• Q&A 4
  • 5. What is Metro?Metro is one-stop shop for all your web services needs. 5
  • 6. What is Metro?• Java Web Services Stack• Part of GlassFish project• Production Quality• High-Performance• Interoperability – Tested for Interop with RSP 1.0 and WS-I BSP 1.1 – Tested with WCF Stack 3.0 / 3.5 versions – Tested with other Oracle 11g products (security) • X.509, SAML, Username Token against SOA, OSB, ADF, WLS 6
  • 7. METRO = JAX-WS RI + WSIT (Tango)• JAX-WS RI – Implements Java API for XML Web Services (JAX-WS) – Provides core web services support – Extensible and Pluggable Architecture• Web Services Interoperability Technology (WSIT) – Provides Quality Of Service (QoS) support • Security, Reliability, Transactions – Implementation of WS-* Specifications • Interoperability with .NET 3+ 7
  • 8. Architecture 8
  • 9. Core Features• JAX-WS – Easy to use Web services API• POJO concepts via annotations – Descriptor free programming• Databinding (new), Encoding, Protocol, Transport independence• Default integrated with Java Architecture for XML Binding (JAXB) – Java platform API – 100% schema support 9
  • 10. Advanced Features• Bootstrapping Communication and Configuration – WS-MetadataExchange – WS-Policy• Quality of Service – Reliable Message Delivery – Atomic Transactions – Secured Communication• Transparent to application code 10
  • 11. Reliable Messaging• Message Delivery Protocol• Different Message Delivery Assurance Modes – Exactly Once, At Least Once, At Most Once <wsrmp:RMAssertion> – In Order – can be combined with above <wsp:Policy> <wsrmp:SequenceSTR/>• Incomplete Message Sequence Handling <wsrmp:DeliveryAssurance> <wsp:Policy> – Discard entire sequence, discard after first gap <wsrmp:ExactlyOnce/> – Enforcing same-origin on a message sequence <wsrmp:InOrder/> </wsp:Policy> • Sequence bound to a WS-SC session </wsrmp:DeliveryAssurance>• Supports High Availability </wsp:Policy> </wsrmp:RMAssertion> 11
  • 12. Transactions wsp:Policy wsu:Id=“TransactedPolicy”> <wsat:ATAssertion wsp:optional=“true”/> </wsp:Policy>• Message Delivery Protocol• Different Message Delivery Assurance Modes – Exactly Once, At Least Once, At Most Once – In Order – can be combined with above• Incomplete Message Sequence Handling – Discard entire sequence, discard after first gap – Enforcing same-origin on a message sequence • Sequence bound to a WS-SC session• Supports High Availability 12
  • 13. Security• Supports Security Mechanisms – X.509 – Username Token – Saml Token – Kerberos …• Configurable Through WS-Policy configuration WSDL – Better in NetBeans• WS-Security, WS-Trust, STS, … 13
  • 14. Programming Model• Develop using JAX-WS APIs – Server side: @WebService – Client side: use wsimport.sh to generate client proxy• Advanced features in configuration file – Server side: wsit-$endpointClassName.xml – Client side: wsit-client.xml – generate through NetBeans GUI 14
  • 15. Latest Features• High Availability – Since Metro 2.1• Works with GlassFish 3.1(.x) Cluster• Replication of stateful session data – Reliable Messaging • Sequences, Unacknowledged Messages, … – Secure Conversation • Secure Conversation session – Security • Nonce Manager 15
  • 16. Latest Features 16
  • 17. Latest Features 17
  • 18. Latest Features• Security Improvements – RSA-SHA256, 384, 512 – Use of JAAS KeystoreLoginModule – Policy Alternatives for client authentication tokens• Modular Databinding – JAXB RI / Moxy / SDO switchable• Lots of small improvements and bugfixes 18
  • 19. DEMO • “Hello World” Service • Message Level Security • Reliable Message delivery 19
  • 20. Which version?• Metro 2.1.1 – Latest greatest, download from http://metro.java.net – Production ready version – High Availability• Metro 2.2 – In development – Aligned with GlassFish 3.1.2 – Available early next year• Metro 2.2.1, 2.3 - TBD 20
  • 21. Community• Lots of Adoption – Java SE/EE SDK, IBM JDK, GlassFish, Weblogic, …• Active mailing lists and forum• Extensible – JAXB, JAX-WS extensions – Spring, JSON, SMTP, …• Be Active! – Vote on issues, provide patches, improve and/or review our docs 21
  • 22. Summary• METRO – Full featured WS Stack• Popular in Java Community• Many advanced features• Interoperability (Microsoft .NET)• High Performance• Integrated with GlassFish• Running standalone on Servlet containers 22
  • 23. Q&A 23
  • 24. Interested?• http://metro.java.net – http://wsit.java.net – http://jax-ws.java.net – http://jaxb.java.net – http://glassfish.java.net• users@metro.java.net 24

×