Lesson 1.2 steps you through the creation of a Web project
and Java Interface and Implementations
In this lesson, you
- Create a dynamic Web project
- Create a J2C bean
- All work done in the workbench must be associated with
a project. Projects provide an organized view of the work files and
directories, optimized with functions based on the type of project.
In the workbench, all files must reside in a project, so before you
create the J2C bean, you need to create a project to put it in. In
the New J2C Bean page, type the value InOutArray in
the Project Name field.
- Click the New button beside the Project
Name field to create the new project.
- Now you create a dynamic Web project. In the New Source
Project Creation page, select Web project,
and click Next.
- In the New Dynamic Web Project page, ensure that the following
values are selected:
- Project name: InOutArray
- Contents: accept default
- Target Runtime : WebSphere® Application Server v7.0
- Dynamic Web Module Version: 2.5
- Configuration: accept default
- Add project to an EAR: checked
- EAR Project name: InOutArrayEAR
- Click Next.
- On the Web Modules page, accept the defaults.
- Click Finish.
- A dialog box appears asking if you would like to switch
to the Dynamic Web perspective. Click Yes.
- On the J2C Java Bean
Output Properties page:
- In the Package name field, click Browse and
select the InOutArray project. Click OK.
- Type sample.ims in the Package
name field.
- Type InOut in the Interface
name field.
- Type InOutImpl in the Implementation
name field.
- Clear Save session as ant script .
- Click Finish.