Difference between revisions of "EDT:Tutorial: RUI With Database Lesson 10"

From Eclipsepedia

Jump to: navigation, search
(New page: Access a database with EGL Rich UI {| style="float: right" |< Previous | [[EDT:Tutor...)
 
(Download and access the server)
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
 
 
[[EDT:Tutorial: Access a database with EGL Rich UI|Access a database with EGL Rich UI]]
 
[[EDT:Tutorial: Access a database with EGL Rich UI|Access a database with EGL Rich UI]]
  
Line 22: Line 21:
 
Right-click the empty space and click '''New''' &gt; '''Server'''. <br />[[Image:EDT_Tutorial_edt_richui_sql12_new_server.jpg|The New-&gt;Server drop-down menu.]]
 
Right-click the empty space and click '''New''' &gt; '''Server'''. <br />[[Image:EDT_Tutorial_edt_richui_sql12_new_server.jpg|The New-&gt;Server drop-down menu.]]
 
<li>In the Define a New Server window,
 
<li>In the Define a New Server window,
expand '''Apache''' and click '''Tomcat v6.0
+
expand '''Apache''' and click '''Tomcat v6.0 Server'''. Accept the default
Server with EGL debugging support'''. Accept the default
+
 
values for the other fields. Click '''Next'''.
 
values for the other fields. Click '''Next'''.
<li>In the Tomcat Server window, access
+
<li>In the '''Tomcat Server''' window, access
 
the open-source software either by using the '''Browse''' to
 
the open-source software either by using the '''Browse''' to
 
find an existing installation directory (for example, apache-tomcat-6.0.26)
 
find an existing installation directory (for example, apache-tomcat-6.0.26)
 
on your machine; or click '''Download and Install'''.
 
on your machine; or click '''Download and Install'''.
If you found an existing installation directory, click '''Finish''' and
+
If you found an existing installation directory, click '''Finish''' and skip the installation steps.<br />[[Image:EDT_Tutorial_edt_richui_sql12_server_install.jpg|The New Server wizard requests an installation directory.]]<br />
continue the lesson at step [egl_richui_sql10.html#props__green 5]. <br />[[Image:EDT_Tutorial_edt_richui_sql12_server_install.jpg|The New Server wizard requests an installation directory.]]
+
 
Accept the terms of the license agreement.
 
Accept the terms of the license agreement.
Browse to a directory for the application files, such as C:\Program
+
Browse to a directory for the application files, such as '''C:\Program Files\Apache'''. While the workbench completes the installation,
Files\Apache. While the workbench completes the installation,
+
the '''Define a New Server''' window is displayed with
the Define a New Server window is displayed with
+
 
the installation directory specified. Progress is shown at the lower
 
the installation directory specified. Progress is shown at the lower
 
right of the workbench.
 
right of the workbench.

Latest revision as of 21:46, 1 December 2011

Access a database with EGL Rich UI


< Previous | Next >

[edit] Lesson 10: Install Apache Tomcat

You can use Apache Tomcat to display the web page and to run the EGL-generated service.

[edit] Download and access the server

If you have IBM® WebSphere® Application Server installed, you can skip to the next lesson. In any case, you can download Apache Tomcat, if necessary, and make it available in the workbench.

To gain access to server:

  1. Locate the Servers view, which is by default at the lower right of the workbench. EGL created an AJAX Test Server by default. Right-click the empty space and click New > Server.
    The New->Server drop-down menu.
  2. In the Define a New Server window, expand Apache and click Tomcat v6.0 Server. Accept the default values for the other fields. Click Next.
  3. In the Tomcat Server window, access the open-source software either by using the Browse to find an existing installation directory (for example, apache-tomcat-6.0.26) on your machine; or click Download and Install. If you found an existing installation directory, click Finish and skip the installation steps.
    The New Server wizard requests an installation directory.
    Accept the terms of the license agreement. Browse to a directory for the application files, such as C:\Program Files\Apache. While the workbench completes the installation, the Define a New Server window is displayed with the installation directory specified. Progress is shown at the lower right of the workbench.
  4. When the installation is completed, click Finish.
  5. Start the server by highlighting the server name and clicking the green Start icon at the top of the Server view.
    The green Start icon.

[edit] Lesson checkpoint

In this lesson, you completed the following tasks:

  • Downloaded Apache Tomcat, if necessary
  • Started the server.

In the next lesson, you deploy the application to a server and run it there.

< Previous | Next >