luni, iunie 09, 2008

Servicii Web

Notitele mele legate de Web Services. Incerc de cateva zile sa-mi fac o idee despre acest domeniu. In principiu JAX-WS merita abordat (majoritatea informatilor sunt despre JAX-WS).

Tipuri de servicii
- SOAP - Simple Object Access Protocol
- XML-RPC - conform specificatiei de la http://www.xmlrpc.com; o implementare in Java: Apache XML-RPC
- REST - Representational State Transfer; o implementare in Java: Restlet
- JSON -
JavaScript Object Notation - non XML - Jettison
Specificatii implicate
Vechea specificatie
- JAX-RPC (deprecated inlocuita de JAX-WS; folosea un meacanism propriu de binding)
Specificatii noi (J2EE-5.0)
- JAX-WS 2.0 [JSR 224]—The Java API for XML-Based Web Services.
- JAXB 2.0 [JSR 222]—The Java Architecture for XML Binding.
- WS-Metadata [JSR 181]—Web Services Metadata for the Java Platform.
- WSEE 1.2 [JSR 109]—Web Services for Java EE.
- WS-* -in continua dezvoltare
Alte specificatii implicate
- SOAP 1.2
- SAAJ 1.3
- WS-I's BP-1.1 - Basic Profile
Web service stacks
Certified JAX-WS stacks
- Apache CXF
- Metro
Servere cu suport de JAX-WS
- Jboss (JBossWS Native, Sun's Metro and Apache CFX)
- GlassFish (Metro)
Altele ("frontend" programming models)
- Axis 2
Carti + articole
- SOA Using Java Web Services
- Video
Probleme implicate
- binding
Moduri de lucru (probleme la sincronizare instre contract si cod)
- WSDL to Java
- Java to WSDL (expunere de servicii)
- EJB 3
- Spring
- Pojo