2007/08/22 14:51 Developer
Interface21 announces Spring Web Services 1.0
Spring WS1.0이 릴리즈가 되었다.
웹서비스 자체는 플랫폼이나 랭귀지에 상관이 없이 이 기종간에 서비스가 가능해야 하므로, Contract-First스타일의 개발이 올바르다고 할수가 있을거 같다.
Spring-WS는 Contract-First스타일만을 지원한다.
Why Contract-First?
http://static.springframework.org/spring-ws/site/why-contract-first.html
http://static.springframework.org/spring-ws/site/reference/html/tutorial.html#tutorial.implementing.endpoint
웹서비스 자체는 플랫폼이나 랭귀지에 상관이 없이 이 기종간에 서비스가 가능해야 하므로, Contract-First스타일의 개발이 올바르다고 할수가 있을거 같다.
Spring-WS only supports the contract-first development style
Spring-WS는 Contract-First스타일만을 지원한다.
Why Contract-First?
When creating Web services, there are two development styles: contract-last and contract-first. When using a contract-last approach, you start with the Java code, and let the Web service contract (WSDL, see sidebar) be generated from that. When using contract-first, you start with the WSDL contract, and use Java to implement said contract.
http://static.springframework.org/spring-ws/site/why-contract-first.html
http://static.springframework.org/spring-ws/site/reference/html/tutorial.html#tutorial.implementing.endpoint
Key Features
- Makes the Best Practice an Easy Practice: Spring Web Services makes enforcing best practices easier. This includes practices such as the WS-I basic profile, Contract-First development, and having a loose coupling between contract and implementation.
- Powerful mappings: You can distribute incoming XML request to any object, depending on message payload, SOAP Action header, or an XPath expression.
- XML API support: Incoming XML messages can be handled in standard JAXP APIs such as DOM, SAX, and StAX, but also JDOM, dom4j, XOM, or even marshalling technologies.
- Flexible XML Marshalling: The Object/XML Mapping module in the Spring Web Services distribution supports JAXB 1 and 2, Castor, XMLBeans, JiBX, and XStream. And because it is a separate module, you can use it in non-Web services code as well.
- Reuses your Spring expertise: Spring-WS uses Spring application contexts for all configuration, which should help Spring developers get up-to-speed nice and quickly. Also, the architecture of Spring-WS resembles that of Spring-MVC.
- Supports WS-Security: WS-Security allows you to sign SOAP messages, encrypt and decrypt them, or authenticate against them.
- Integrates with Acegi Security: The WS-Security implementation of Spring Web Services provides integration with Acegi Security. This means you can use your existing Acegi configuration for your SOAP service as well.
- Built by Maven: This assists you in effectively reusing the Spring Web Services artifacts in your own Maven-based projects.
- Apache license. You can confidently use Spring-WS in your project.
http://static.springframework.org/spring-ws/site/