When developing a Web Service Endpoint (the server-side) you have the option of starting from Java (bottom-up development), or from the abstact contract (WSDL) that defines your service (top-down development). If this is a new service (no existing contract), the bottom-up approach is the fastest route; you only need to add a few annotations to your classes to get a service up and running. However, if you are developing a service with an already defined contract, it is far simpler to use the top-down approach.
Bottom-up use cases:
• Providing a new service, and you want the contract to be generated for you.
Top-down use cases:
• Replacing the implementation of an existing Web Service, and you can't break compatibility with older clients.
• Exposing a service that conforms to a contract specified by a third party (e.g. a vender that calls you back using an already defined protocol).
• Creating a service that adheres to the XML Schema and WSDL you developed by hand up front.
There are no of tools for working with Top-down and Bottom-up Web Service Development.
1. JBossWS is one of the implementation of JAX-WS, provided by JBoss.
Bottom-up
• JBossWS - wsprovide :- Generates JAX-WS portable artifacts, and provides the abstract contract. Used for bottom-up development(Java).
Top-down
• JBossWS - wsconsume :- Consumes the abstract contract (WSDL and Schema files), and produces artifacts for both a server and client. Used for top-down and client development.
2. Sun's implementation of JAX-WS, available with JDK6 distribution.
Bottom-up
• wsgen :- Generates JAX-WS portable artifacts, and provides the abstract contract. Used for bottom-up development(Java).
Top-down
• wsimport :- Consumes the abstract contract (WSDL and Schema files), and produces artifacts for both a server and client. Used for top-down and client development.
Helli,
ReplyDeleteReally appreciate this post. It’s hard to sort the good from the bad sometimes, but I think you’ve nailed it!
Ecommerce Website Development
Multi-Access-Dig J2534 Pass-Thru OBD2 Gerät ist kompatibel mit 100percent Pass-Thru XS von Actia.J2534 Pass-Thru Gerät ist kompatibel mit Autodata-CD bieten wir Ihnen hier
ReplyDeleteThis is what I have seen the best articles, I am Hidenobu come here. Also welcome you to my jordan Stores, purchase high-quality Jordan shoes. ... http://www.customretrojordans.com/cheap-jordan-shoes-air-jordan-11-c-1_12.html is cool sprot site
ReplyDeleteWhere else could anyone get that kind of info written in such a perfect way? I have a presentation that I am presently working on, and I have been on the look out for such information. Furniture Manufacturer in India
ReplyDelete