60 likes | 201 Vues
Explore the significant advancements in Java SE 6 regarding web services, particularly the transition from JAX-RPC to JAX-WS 2.0. This article delves into the redefined policies by SUN for supporting web service technologies, including remote procedure calls (RPC), XML-RPC, and SOAP. Learn how the integration of JAX-WS and JAXB simplifies service-oriented architecture, providing support for service discovery with UDDI and WSDL. This comprehensive overview helps developers grasp the evolution of web services in Java SE 6, featuring a testing-friendly small web server and improved performance standards.
E N D
Новости в Java SE 6 Java SE 6 Retooled for Web Services Mihail Stoynovmihail.stoynov.com
Styles of use • Remote Procedure Calls (RPC) • XML-RPC • WSDL was invented for that reason • Distributed programming – method oriented • Maps services directly to method calls • Service-oriented Architecture • Message-oriented • Loosely-coupled • Representational State Transfer
Web service protocol stack • Service Transport • HTTP, SMTP, FTP, Blocks Extensible Exchange Protocol (BEEP) • XML Messaging • XML-RPC, SOAP, REST • Service Description • WSDL • Service Discovery • UDDI
How’s it done in Java SE 6 • SUN entirely revisioned its policy towards Web Services in Java SE 6 • Rewritten JAX-RPC into JAX-WS 2.0 • Integrated JAX-WS and JAXB into Java SE • Small web server for testing integrated • JAX-WS is • Easier to use • Faster • Implements standards
Demo Deploying and using web services
Questions? Java SE 6 Retooled for Web Services Mihail Stoynovmihail.stoynov.com