We already know that BPEL presents the orchestration technology in the service-oriented architecture (SOA). We have already learned quite a few functionalities of BPEL, but now it's time to learn more about the fundamental building blocks that are consumed by the BPEL processes. We are talking about the web services.
In this chapter, we will focus on the lifecycle of web services through the JAX-WS specification. Throughout the recipes, we will learn the bottom-up approach of developing a web service. Usually, we can find a piece of code suitable for exposure as a web service. Through the bottom-up approach, we achieve this goal.
We can also use the top-down approach for web service development, where the starting point of the development is a WSDL document. From the web service definition, we continue the implementation of the web service methods. This approach is preferred in scenarios where we need to implement a web service from the start and no code exists.
The JAX-WS web...