WA1909 Core Spring 3.0 and Spring Web Flow on ......WA1909 Core Spring 3.0 and Spring Web Flow on...

14
WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite Classroom Setup Guide Web Age Solutions Inc. Copyright © Web Age Solutions Inc. 1

Transcript of WA1909 Core Spring 3.0 and Spring Web Flow on ......WA1909 Core Spring 3.0 and Spring Web Flow on...

Page 1: WA1909 Core Spring 3.0 and Spring Web Flow on ......WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide __5.

WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide

WA1909 Core Spring 3.0 and Spring WebFlow on SpringSource tc Server Using

SpringSource Tool Suite

Classroom Setup Guide

Web Age Solutions Inc.

Copyright © Web Age Solutions Inc. 1

Page 2: WA1909 Core Spring 3.0 and Spring Web Flow on ......WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide __5.

WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide

Table of ContentsPart 1 - Minimum Hardware Requirements .........................................................................................3Part 2 - Minimum Software Requirements ...........................................................................................3Part 3 - Software Provided....................................................................................................................3Part 4 - Important Ghosting or Imaging Information............................................................................4Part 5 - Software Instructions................................................................................................................4Part 6 - Installing JDK 6 Update 20......................................................................................................5Part 7 - Verification of JDK 6 Update 20..............................................................................................9Part 8 - Installing SpringSource Tool Suite 2.6.0................................................................................10Part 9 - Installation verification of SpringSource Tool Suite 2.6.0.....................................................13

Copyright © Web Age Solutions Inc. 2

Page 3: WA1909 Core Spring 3.0 and Spring Web Flow on ......WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide __5.

WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide

Part 1 - Minimum Hardware Requirements

● 2 Ghz Pentium IV

● 1 GB RAM minimum, 2 GB recommended

● 8 GB in the hard disk

● Network connection

Part 2 - Minimum Software Requirements

● Microsoft Windows XP sp2, Windows Vista SP1, or Windows 7

● Internet Explorer 7.0

● Zip file utility

● JDK 6.0 Update 20*

● SpringSource Tool Suite 2.6.0 *

● Derby 10.7.1.1 *

* - indicates software provided as part of the courseware.

Part 3 - Software Provided

You will receive one USB memory stick containing the following file:

● WA1909.ZIP

All other software listed under Minimum Software Requirements is either commercially licensed software that you must provide or software that is freely available off the Internet.

Copyright © Web Age Solutions Inc. 3

Page 4: WA1909 Core Spring 3.0 and Spring Web Flow on ......WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide __5.

WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide

Part 4 - Important Ghosting or Imaging Information

The software for this course can be ghosted.

Part 5 - Software Instructions

__1. From the USB memory stick, extract the WA1909.ZIP file to C:\

__2. Review that the following folders were created:

● C:\hsqldb

● C:\Java

● C:\LabFiles

● C:\Software

● C:\Software\db-derby-10.7.1.1-bin

● C:\Software\MavenRepository

● C:\student

__3. Review that the following file was created:

● C:\Software\jdk-6u20-windows-i586.exe

● C:\Software\springsource-tool-suite-2.6.0.RELEASE-e3.6.2-win32-installer.exe

Copyright © Web Age Solutions Inc. 4

Page 5: WA1909 Core Spring 3.0 and Spring Web Flow on ......WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide __5.

WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide

Part 6 - Installing JDK 6 Update 20

__1. Make sure there is no previous Java version already installed on the system. You can check this by using the Windows “Add/Remove Programs” utility. For the best compatibility with the labs it is suggested that all previous versions of Java be uninstalled before proceeding with these instructions. If this is an issue, please contact the setup support person for the course.

__2. From the C:\Software directory run the following file:

jdk-6u20-windows-i586.exe

Note: If using prompted by a security prompt allow the installation to continue.

__3. After a few moments the license agreement will appear. Press the Accept button to move to the next step.

Copyright © Web Age Solutions Inc. 5

Page 6: WA1909 Core Spring 3.0 and Spring Web Flow on ......WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide __5.

WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide

__4. Leave the defaults for installation location and options, and press the Next button.

The installation will begin installing files.

__5. The Destination Folder will appear, leave the default folder and click Next.

Wait until the software is completely installed.

Copyright © Web Age Solutions Inc. 6

Page 7: WA1909 Core Spring 3.0 and Spring Web Flow on ......WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide __5.

WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide

__6. Click Finish.

__7. Close any browser that appears asking to register the JDK software.

Set the Environment variables.

__1. From Start > Control Panel, double click on System.

Note: If the "Classic" control panel is not displayed you might need to click the "System and Maintenance" link.

__2. If using Windows Vista click the link for "Advanced System Settings".

__3. Select the Advanced tab.

__4. Click the Environment Variables button.

Copyright © Web Age Solutions Inc. 7

Page 8: WA1909 Core Spring 3.0 and Spring Web Flow on ......WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide __5.

WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide

__5. From the System Variables list, select Path and click Edit.

__6. At the beginning of the line enter the following:

C:\Program Files\Java\jdk1.6.0_20\bin;

Note: If you are using a 64-bit OS use 'C:\Program Files (x86)\Java\jdk1.6.0_20\bin' instead. You might want to check the folder already exists on your system.

__7. Click OK.

__8. Under the System Variables list, click the New button.

__9. Enter JAVA_HOME as Variable name.

__10. As Variable value enter the following. This is similar to the previous variable but without the 'bin' directory.

C:\Program Files\Java\jdk1.6.0_20

Note: If you are using a 64-bit OS use 'C:\Program Files (x86)\Java\jdk1.6.0_20' instead. You might want to check the folder already exists on your system.

__11. Click OK to create the variable.

Copyright © Web Age Solutions Inc. 8

Page 9: WA1909 Core Spring 3.0 and Spring Web Flow on ......WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide __5.

WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide

__12. Click OK to close the Environment Variables window.

__13. Click OK to close the System Properties window.

__14. Restart the computer.

Part 7 - Verification of JDK 6 Update 20

__1. Open a Windows command prompt. You can do this by selecting 'Start -> Run', entering 'cmd', and then pressing the OK button.

__2. Enter the following command:

java -version

Make sure you see the response shown below.

__3. Enter the following command:

javac

Verify that you get the options to run the Java compiler:

__4. Close the command prompt window and any extra windows that are open.

Copyright © Web Age Solutions Inc. 9

Page 10: WA1909 Core Spring 3.0 and Spring Web Flow on ......WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide __5.

WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide

JDK 6 Update 20 is now installed!

Part 8 - Installing SpringSource Tool Suite 2.6.0

This setup will install the SpringSource Tool Suite and link it to an existing installation of the Java JDK. Make sure that Java is installed separately first.

__1. Run the 'springsource-tool-suite-2.6.0.RELEASE-e3.6.2-win32-installer.exe' file in the C:\Software directory.

Note: If prompted by security allow the installation to continue.

__2. On the Welcome screen click the Next button.

__3. Accept the license and click the Next button.

__4. Leave the default installation path and click the Next button.

__5. Confirm to create the directory.

Copyright © Web Age Solutions Inc. 10

Page 11: WA1909 Core Spring 3.0 and Spring Web Flow on ......WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide __5.

WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide

__6. Accept the default installation packages and click the Next button.

__7. Use the Browse button to select the root folder of the Java JDK installation. Most likely this is something like 'C:\Program Files\Java\jdk1.6.0_20'. Make sure you choose a "JDK" path and not a "JRE" path. Once your options appear similar to that shown below click the Next button.

Note: Your Java JDK installation may be slightly different than that shown above. Your version may be slightly different. On a 64 bit OS it may be in the 'Program Files (x86)' folder. A Java JDK of 1.5 and up is required for the software.

__8. The software will begin installing. Once it is finished click the Next button.

__9. Leave the default shortcut options and click the Next button.

Copyright © Web Age Solutions Inc. 11

Page 12: WA1909 Core Spring 3.0 and Spring Web Flow on ......WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide __5.

WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide

__10. Click the Finish button to exit the installation.

__11. Close the browser that appears.

Copyright © Web Age Solutions Inc. 12

Page 13: WA1909 Core Spring 3.0 and Spring Web Flow on ......WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide __5.

WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide

Part 9 - Installation verification of SpringSource Tool Suite 2.6.0

__1. Run Start → Programs → SpringSource → SpringSource Tool Suite 2.6.0.RELEASE.

SpringSource Tool Suite will start.

__2. A Workspace Launcher dialog will appear. Change the workspace directory to:

C:\workspace

__3. Click OK.

Copyright © Web Age Solutions Inc. 13

Page 14: WA1909 Core Spring 3.0 and Spring Web Flow on ......WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide __5.

WA1909 Core Spring 3.0 and Spring Web Flow on SpringSource tc Server Using SpringSource Tool Suite - Classroom Setup Guide

SpringSource Tool Suite will open showing the Welcome page.

__4. If the 'Spring User Agent Analysis' dialog is displayed, click Reject.

__5. Close the welcome page by clicking the X at top left.

__6. From the menu, select File > Exit to close SpringSource Tool Suite.

SpringSource Tool Suite is working fine.

Copyright © Web Age Solutions Inc. 14