Название: Java Tutorial (Web Services) Автор: Cerberus Publications Издательство: Amazon Digital Services LLC ASIN: B01F2KTSD2 Год: 2016 Страниц: 198 Язык: английский Формат: epub, pdf (conv) Размер: 10.25 MB
In the early days of the Internet, Web applications delivered static webpages via HTML. Certainly, the development of websites was simpler; however, static content can quickly become outdated; thus, the content management of a website is important. In order to provide dynamic content to Web users, 2-tier web applications were realized with the introduction of the Common Gateway Interface (CGI), which retrieves content from external data resources, such as a database.
Nowadays, n-tier Web application architecture is commonly used. In this architecture, middleware or an application server is introduced to connect the Web server and the database more efficiently. The performance of an n-tier application is improved because Web servers, middleware and databases can be hosted by separate machines. Each tier can be replicated for the purposes of load balancing. Security is also improved because data is not stored on the Web or application server, which makes it harder for hackers to gain access into the database where data is stored.
The concept of a Web Service can be difficult to comprehend without seeing a concrete example of how a Web Service is created and used. The top-down approach starts with a WSDL file that describes the services. The top-down approach may increase the level of interoperability and allow more control of the WS, wehereas the bottom-up approach starts at the low level of the Java bean or enterprise Java bean (EJB) and is faster and easier.
Contents:
1 Introduction 1.1Browsing the Internet 1.2Web Service architecture 1.3Benefits of Web Services 1.4Program a HelloWorld Web Service 1.5Host a Web Service 1.6Verify a Web Service 1.7Test a Web Service with SOAPUI 1.8Create a Web Service Client 1.9Run a Web Service Client 2 SOAP 2.1Examples of SOAP messages 2.2Mapping SOAP to HTTP 2.3SAAJ Client 2.4Summary 3 Web Service Description Language (WSDL) 3.1WSDL structure 3.2WSDL Interface 3.3WSDL Implementation 4 A Sample Web Service Application 4.1A Sample application 4.2Develop a Web Service 4.3Deploy Web Services 4.4Check WSDL and XSD 4.5Test Web Services with SOAPUI 4.6Develope a Web Service Consumer 5 Apache CXF and Tomcat Server 5.1Configuration Parameters 5.2Apache Tomcat Server 5.3Develop CXF Web Service 5.4Deploy the Service 5.5Testing services with SOAPUI 5.6Develop a Web Service Consumer 6 Apache CXF and Oracle WebLogic Server 6.1Oracle WebLogic Server 12 6.2Deployment Diagram 6.3Creating a WebLogic Domain 6.4Deploy the Web Service 6.5Test CXF Web Service with WebLogic Test Tools 6.6Run the Client Application 7 Appendix A – Development Environment 7.1Install Java Development Kit (JDK) 6 7.2Install Eclipse Interactive Development Environment (IDE) 7.3Install MySQL Community Server Database 7.4Install Oracle Fusion Middleware Software 7.5Install Apache Tomcat server 7.6Apache CXF 7.7Install SOAPUI software 7.8Source Code 8 Endnotes
Скачать Java Tutorial: Creating Web Services
|