Java 7 JAX-WS Web Services: Chapter No. 1 "Setting The Environment"
Java 7 JAX-WS Web Services: Chapter No. 1 "Setting The Environment"
Java 7 JAX-WS Web Services: Chapter No. 1 "Setting The Environment"
Deepak Vohra
In the Introduction window, click on Next. In the Installation Type window, select Typical Installation. Ports 4848 and 8080 must be available. For example, if the Oracle database XE is installed and running, the database needs to be stopped. Click on Next:
In the Install Directory window, specify an Installation Directory (C:/glasssh3) and click on Next. The directory does not need to be created prior to specifying the Installation Directory:
[6]
Chapter 1
If GlassFish Server updates need to be installed, select the Install Update Tool checkbox. Select the Enable Update Tool to enable the update tool. As we won't be using the Update Tool for the sample application in the book, in Update Tool deselect Install Update Tool and click on Next. In the Ready To Install window, click on Install to install and congure the Oracle GlassFish Server Open Source Edition:
The installation of GlassFish Server 3.1.1 starts and the Progress bar indicates the percentage installed:
[7]
The Cong Results window shows whether the required conguration domain (domain1) is created or not. If the domain creation fails with the error: "The system cannot nd the path specied", running the installer with the j JAVA_HOME option xes this issue.
[8]
Chapter 1
As shown in the following screenshot, the domain domain1 starts successfully. The Admin Port is 4848:
The Oracle GlassFish Server is now installed and congured. Click on Exit:
[9]
The GlassFish Server Administration server console may be accessed with the URL http://localhost:4848/common/index.jsf:
The application server may also be started/stopped from the Windows | Start program menu:
Chapter 1
In the License Agreement window, select the checkbox to accept the agreement and click on Next. Accept the JUnit License Agreement and click on Next.
[ 11 ]
Choose the installation folder for NetBeans IDE 7.0.1 and JDK 1.7.0, and click on Next:
[ 12 ]
Chapter 1
The installation of the NetBeans IDE and Java EE runtime environment begins:
Summary
In this chapter we downloaded and installed the Oracle GlassFish Server 3.1.1 and NetBeans IDE 7.0.1. In the next chapter, we will develop a JAX-WS web service with the Java 7 wsimport task.
[ 13 ]
Alternatively, you can buy the book from Amazon, BN.com, Computer Manuals and most internet book retailers.
www.PacktPub.com