Java Tutorial: Creating Web Services

时间:2021-10-07 03:24:59
【文件属性】:

文件名称:Java Tutorial: Creating Web Services

文件大小:6.7MB

文件格式:PDF

更新时间:2021-10-07 03:24:59

Java Web Services

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 iscommonly 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.


网友评论