Java Tutorial: Creating Web Services
By 作者: Cerberus Publications
Publication Date 出版日期: 2016
Pages 页数: 198
Language 语言: English
Size: 10 Mb
Learn java practically. Both for basic and advanced users.
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.
Web Service Description Language (WSDL)
A Sample Web Service Application
Apache CXF and Tomcat Server
Apache CXF and Oracle WebLogic Server
Java Tutorial Creating Web Services c.pdf
Java Tutorial Creating Web Services.azw3
Java Tutorial Creating Web Services.epub