Spring Web Services (Spring-WS) is a product of the Spring community focused on creating document-driven Web services. Spring Web Services aims to facilitate contract-first SOAP service development, allowing for the creation of flexible web services using one of the many ways to manipulate XML payloads. The product is based on Spring itself, which means you can use the Spring concepts such as dependency injection as an integral part of your Web service.
People use Spring-WS for many reasons, but most are drawn to it after finding alternative SOAP stacks lacking when it comes to following Web service best practices. Spring-WS makes the best practice an easy practice. This includes practices such as the WS-I basic profile, Contract-First development, and having a loose coupling between contract and implementation. The other key features of Spring Web services are:
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 Spring Security. This means you can use your existing 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.
บริการเว็บ ( WS ฤดูใบไม้ผลิฤดูใบไม้ผลิ ) เป็นผลิตภัณฑ์ของชุมชน เน้นการสร้างเอกสารฤดูใบไม้ผลิขับเคลื่อนบริการเว็บ ฤดูใบไม้ผลิมีวัตถุประสงค์เพื่ออำนวยความสะดวกในการบริการเว็บสัญญาแรกสบู่การพัฒนาบริการให้สามารถสร้างบริการเว็บแบบยืดหยุ่นโดยใช้หนึ่งของหลายวิธีที่จะจัดการกับส่วนของข้อมูล ( XML สินค้าจะขึ้นอยู่กับสปริงเอง ซึ่งหมายความว่าคุณสามารถใช้สปริงแนวคิดเช่นการฉีดพึ่งพา ในฐานะส่วนหนึ่งของบริการเว็บของคุณคนที่ใช้ WS สปริงสำหรับหลายเหตุผล แต่ส่วนใหญ่จะวาดให้มันหลังจากการค้นหาสบู่กองขาดทางเลือกเมื่อมันมาถึงต่อไปนี้การปฏิบัติที่ดีที่สุดบริการเว็บ คือสปริงทำให้การปฏิบัติที่ดีที่สุดการฝึกง่าย ซึ่งรวมถึง การปฏิบัติ เช่น ข้อมูลพื้นฐาน ws-i พัฒนาก่อนสัญญา และมี coupling หลวมระหว่างสัญญาและดำเนินการ คีย์คุณสมบัติอื่น ๆของบริการเว็บฤดูใบไม้ผลิ :คุณสมบัติทำให้การปฏิบัติที่ดีที่สุดการฝึกง่าย : บริการเว็บฤดูใบไม้ผลิทำให้การบังคับใช้วิธีปฏิบัติที่ดีที่สุดได้ง่ายขึ้น ซึ่งรวมถึง การปฏิบัติ เช่น ข้อมูลพื้นฐาน ws-i พัฒนาก่อนสัญญา และมี coupling หลวมระหว่างสัญญาและดำเนินการแมปที่มีประสิทธิภาพ : คุณสามารถแจกจ่ายขอ XML เข้ามาที่วัตถุใด ๆ ขึ้นอยู่กับการกระทำของข้อความ , สบู่หัว หรือ นิพจน์ XPath .XML API สนับสนุน : ขาเข้า XML ข้อความที่สามารถจัดการใน jaxp API มาตรฐาน เช่น ดอม แซ็กโซโฟน และ ตค แต่ยัง jdom dom4j ขึ้น , , , หรือแม้กระทั่ง marshalling เทคโนโลยีมีความยืดหยุ่น XML marshalling : วัตถุ / XML แผนที่โมดูลในฤดูใบไม้ผลิเป็นเว็บที่ให้บริการการกระจายสนับสนุน jaxb 1 และ 2 , ลูกล้อ , xmlbeans jibx Xstream , และ . และเพราะมันเป็นโมดูลที่แยกต่างหาก คุณสามารถใช้มันในการไม่บริการเว็บรหัสได้เป็นอย่างดีการเปลี่ยนตำแหน่งขาเข้าความเชี่ยวชาญของคุณฤดูใบไม้ผลิฤดูใบไม้ผลิฤดูใบไม้ผลิ : WS ใช้โปรแกรมบริบทสำหรับการตั้งค่าซึ่งจะช่วยให้นักพัฒนาในฤดูใบไม้ผลิได้รับถึงความเร็วที่ดีและรวดเร็ว นอกจากนี้ สถาปัตยกรรมของ WS คล้ายคลึงของ MVC ฤดูใบไม้ผลิฤดูใบไม้ผลิสนับสนุนการรักษาความปลอดภัย WS : การรักษาความปลอดภัย มันช่วยให้คุณสามารถเข้าสู่ระบบข้อความ SOAP , เข้ารหัสและถอดรหัสพวกเขาหรือตรวจสอบกับพวกเขารวมกับการรักษาความปลอดภัย : การรักษาความปลอดภัย acegi WS ของบริการเว็บฤดูใบไม้ผลิให้บูรณาการกับการรักษาความปลอดภัยฤดูใบไม้ผลิ ซึ่งหมายความว่าคุณสามารถใช้ปรับแต่งที่มีอยู่ของคุณสำหรับบริการสบู่ของคุณเช่นกันที่สร้างขึ้นโดยผู้เชี่ยวชาญ : นี้ช่วยให้คุณได้อย่างมีประสิทธิภาพในการนำเว็บบริการผู้เชี่ยวชาญของคุณเองโดยใช้สปริงสิ่งประดิษฐ์ในโครงการอาปาเช่อนุญาต คุณสามารถใช้มันในฤดูใบไม้ผลิในโครงการของคุณ
การแปล กรุณารอสักครู่..
