< Previous | Next >

Lesson 1.1: Set up the Java project

In this lesson, you will set up the MyDirectory project by importing a project into your workspace. The project includes a single Java class, as well as other files that will be used later.

Because the main focus of this tutorial is binding visual components to a Web service, most of the Java GUI for the "My Company Directory" application has been designed for you already.

The MyDirectory project is the main Java project that you will work with in this tutorial. It contains your DirectoryApp.java file, which is the Java file that contains the main Java application that you are building. This tutorial includes several versions of the MyDirectory project to help you: one for the start of each module and a finished version of the completed project.

  1. Import the MyDirectory project.
  2. In the Package Explorer of the Java perspective, make sure that your MyDirectory project looks like the following image:

    MyDirectory project in Package Explorer

Lesson checkpoint

In this lesson you imported the example MyDirectory project, which acts as the starting point for this tutorial.

The MyDirectory project includes the following resources:
  • DirectoryApp.java: A Java file that contains the application that you are developing in this tutorial. The DirectoryApp.java file is in a Java package named directory.client.
  • EmployeeDirectory.ear: An enterprise application that contains the sample Web service. In Module 2, you will deploy this Web service on a local installation of WebSphere Application Server v6.0.
  • EmployeeDirectory.wsdl: An XML file that uses the Web Services Description Language (WSDL) to describe the sample Web service that you will deploy. In Module 2, you will use this WSDL file to generate a Java proxy for your application to use.
< Previous | Next >