Java Tutorial: Creating Web Services

Java Tutorial: Creating Web ServicesReviews
Author: Cerberus Publications
Pub Date: 2016
ISBN: n/a
Pages: 198
Language: English
Format: EPUB/AZW3
Size: 10 Mb

Download

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.

Inside:

  • SOAP
  • Web Service Description Language (WSDL)
  • A Sample Web Service Application
  • Apache CXF and Tomcat Server
  • Apache CXF and Oracle WebLogic Server
  • Development Environment