Step 1: Create a Web Application Project

In this step you will create the application that you will be working with throughout this tutorial. In WebLogic Workshop, an application contains one or more projects that hold the various components of the application. In this tutorial you will create a web project for the page flow.

The tasks in this step are:

To Start WebLogic Workshop

... on Microsoft Windows

If you are using a Windows operating system, follow these instructions.

  1. From the Start menu, choose Programs-->WebLogic Platform 8.1-->QuickStart.
  2. In the QuickStart dialog, click Experience WebLogic Workshop 8.1.

...on Linux

If you are using a Linux operating system, follow these instructions.

  1. Open a file system browser or shell.
  2. Locate the Workshop.sh file at the following address:
    $HOME/bea/weblogic81/workshop/Workshop.sh
    
  3. In the command line, type the following command:
    sh Workshop.sh
    

 

To Create a Web Application

  1. From the File menu, select New-->Application.
  2. In the New Application dialog, in the upper left-hand pane, select All,
    in the upper left-hand pane, select Default Application,
    in the Name field, enter GettingStarted_WebApp,
    in the Directory field, use the Browse button to select a location to save your source files. A suggested location is BEA_HOME\user_projects\applications\GettingStarted_WebApp is selected,
    in the Server field, select BEA_HOME\weblogic81\samples\domains\workshop.

  3. Click Create.

When you create a new Default Application, Workshop creates the application structure shown to the right.

The top-level folder GettingStarted_WebApp is the containing folder for the entire application. All of the source files for your application exist in this folder.

The folder GettingStarted_WebAppWeb is a project folder. An application can contain any number of project folders and there are many different kinds of project folders, including Web projects, Web Services projects, Schema projects, and so forth. GettingStarted_WebAppWeb is a Web project, created by default when you created the default application in the last dialog. Web projects contain the following common resources for web applications:

The Modules folder stores stand-alone applications (packaged as WAR and JAR files) that can be deployed parallel with your web application, if you wish.

The Libraries folder is for the storage of resources that are to be used across multiple projects, provided the resources are packaged as JAR files. For example, if you had a control or an EJB that you wanted to re-use across all your projects, you would store it in the Libraries folder.

The Security Roles folder lets you define security roles and test users for your web application. You can test the security design of your web application by logging in as a test user.

To Start WebLogic Server

In order to run and test your page flow application, it must first be deployed on WebLogic Server. For convenience you will start WebLogic Server now, so you can test your page flow as you design it.
  1. From the Tools menu, select WebLogic Server-->Start WebLogic Server.
  2. On the Start up Progress dialog, you may click Hide and continue to the next task.

You can confirm whether WebLogic Server is running by looking at the status bar at the bottom of WebLogic Workshop. If WebLogic Server is running, a green ball is displayed.

If WebLogic Server is not running, a red ball is displayed.

You are now ready to begin designing your web application.

Click one of the following arrows to navigate through the tutorial: