Planning to use web services

You can plan to develop and implement web services based on a variety of Java™ programming models.

Before you begin

Web services reflect the service-oriented architecture approach to programming. This approach is based on the idea of building applications by discovering and implementing network-available services, or by invoking the available applications to accomplish a task. Web services deliver interoperability, for example, web services applications provide a way for components created in different programming languages to work together as if they were created using the same language. Web services rely on existing transport technologies, such as HTTP, and standard data encoding techniques, such as Extensible Markup Language (XML), for invoking the implementation.

最佳作法 最佳作法: IBM® WebSphere® Application Server 支援 Java API for XML 型 Web 服務 (JAX-WS) 程式設計模型和 Java API for XML 型 RPC (JAX-RPC) 程式設計模型。JAX-WS 是延伸 JAX-RPC 程式設計模型所提供之基礎的下一代 Web 服務程式設計模型。 當使用策略性 JAX-WS 程式設計模型時,透過支援標準型註釋模型,簡化了 Web 服務和用戶端的開發工作。 雖然仍支援 JAX-RPC 程式設計模型和應用程式,但請利用易於實作的 JAX-WS 程式設計模型來開發新的 Web 服務應用程式和用戶端。best-practices

[AIX Solaris HP-UX Linux Windows][z/OS]Read the web services scenario overview information to learn about the story of a fictional online garden supply retailer named Plants by WebSphere and how this retailer incorporated the web services concept. You can also review the Samples section of the Information Center for web services samples. These samples demonstrate enterprise beans and JavaBeans components that are available as web services.

The JAX-WS Web services samples demonstrate the simple message exchange patterns using both synchronous and asynchronous invocation of web services in SOAP 1.1 and SOAP 1.2 environments. The samples are composed with web service standards such as WS-Addressing (WS-A) , WS-Reliable Messaging (WS-RM), and WS-Secure Conversation (WS-SC), which you can use to complete a broad range of interoperability tests. The samples demonstrate the use of JavaBeans artifacts and static service endpoints and proxy-based clients. Additionally, a sample is provided that demonstrates Message Transmission Optimization Mechanism (MTOM).

About this task

You must re-write existing JAX-RPC applications if you want to take advantage of the features of the JAX-WS programming model.

Procedure

  1. Identify your goals and design web services to fit your e-business solution. Consider what you want to accomplish by using web services. Decide how web services fit into your current topology, applications and programming model. Determine how the Web services process requests on the server and how the clients manage and use the web service.
  2. Design your web services for reliability, availability, manageability and security. For example, you want your web services to process a transaction in a reasonable time at all hours of the day and provide users with optimal security, such as authentication for buyers. Planning to use web services to work with WebSphere Application Server helps to meet these requirements.
  3. Review the standards used in developing and deploying web services onto WebSphere Application Server. Development and deployment are based on a variety of Java programming models.
  4. Decide what development and implementation tools to use. You can use a variety of manual development and implementation tasks. Whether you have an existing web service to implement or you want to develop your own from a JavaBeans implementation or from an Enterprise JavaBeans (EJB) module, you can choose different tasks respective to your resources. You can also use assembly tools to complete development and implementation tasks.
  5. Install the application server. For detailed information on installing the application server, read about installing your application serving environment.
  6. Review web services samples.

Results

You have a design plan for implementing web services applications into your business architecture.


指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: July 9, 2016 11:18
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=twbs_planwbs
檔名:twbs_planwbs.html