8.7 CHAPTER SUMMARY Most key techniques and knowledge in Java Web database programming are fully discussed and analyzed in this chapter with real project examples. The most popular and important techniques in Java Web database programming, such as JavaServer Pages (JSP), JavaServer Faces (JSF) and Enterprise Java Beans (EJB), are…
Continue Reading....Author: Rebecca Fleeman
INTRODUCTION TO JAVA WEB SERVICES – Develop Java Web Services to Access Databases
9.1 INTRODUCTION TO JAVA WEB SERVICES Web services are distributed application components that are externally useful and available. You can use them to integrate computer applications that are written in different languages and run on different platforms. Web services are language and platform independent because vendors have agreed on common…
Continue Reading....SOAP-Based Web Services – Develop Java Web Services to Access Databases
9.1.2 SOAP-Based Web Services In SOAP-based Web services, Java utilities create a WSDL file based on the Java code in the Web service. The WSDL is exposed on the net. Parties interested in using the Web service create a Java client based on the WSDL. Messages are exchanged in SOAP…
Continue Reading....THE STRUCTURE AND COMPONENTS OF SOAP-BASED WEB SERVICES – Develop Java Web Services to Access Databases
9.2 THE STRUCTURE AND COMPONENTS OF SOAP-BASED WEB SERVICES To effectively find, identify and return the target information required by computer programs, a SOAP-based Web Service needs the following components: 1) XML (Extensible Markup Language) 2) SOAP (Simple Object Access Protocol) 3) UDDI (Universal Description, Discovery and Integration) 4) WSDL…
Continue Reading....THE PROCEDURE OF BUILDING A TYPICAL SOAP-BASED WEB SERVICE PROJECT – Develop Java Web Services to Access Data
9.3 THE PROCEDURE OF BUILDING A TYPICAL SOAP-BASED WEB SERVICE PROJECT Different methods and languages can be used to develop various Web Services, such as C# Web Services, Java Web Services and Perl Web Services. In this section, we concentrate on developing Java Web Services using the NetBeans IDE. Prior…
Continue Reading....Create a New Java SOAP-Based Web Service Project WSTest – Develop Java Web Services to Access Databases
9.3.2 Create a New Java SOAP-Based Web Service Project WSTest The function of this Web service is to add two integers together and return the result. Perform the following operations to create this new Web service project WSTest: 1) In the opened Projects window, right-click on our new created project,…
Continue Reading....Add Desired Operations to the Web Service – Develop Java Web Services to Access Databases
9.3.3 Add Desired Operations to the Web Service The goal of this service project is to add two integers received from a client via an operation. The NetBeans IDE 12.0 provides a dialog for adding an operation or a method to a Web service. You can open this dialog either…
Continue Reading....Deploy and Test the Web Service on the Selected Container – Develop Java Web Services to Access Databases
9.3.4 Deploy and Test the Web Service on the Selected Container The NetBeans IDE provides a server test client to help us test our Web service after it has been successfully deployed. Perform the following operations to deploy our Web service to our Web container, GlassFish: 1) Click on the…
Continue Reading....Create Web Service Clients to Consume the Web Service – Develop Java Web Services to Access Databases
9.3.5 Create Web Service Clients to Consume the Web Service In fact, you can develop any kind of Java application as a project to consume a Web service, such as desktop Java with an Ant project, a Java Web application. To make this client project simple, we prefer to build…
Continue Reading....