Lesson 2 steps you through the creation of a web project
and Java™ Interface and Implementations
In this lesson, you
- Create a J2C bean
- Create a web project
- 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 Java bean, you
need to create a project to put it in. In the New J2C Bean page, type
the value MultiSegOutput in the Project Name field.
- Click the New button beside the Project Name field to create the new project
- Now you create a web project. On the New Source Project
Creation page, select Web project, and click Next.
- On the Web Project page,
- In the Project name field, type MultiSegOutput.
- In the Project Templates field,
select Simple.
- In the Programming Model field,
select Java EE.
- On the deployment page, from the list of available configuration
options, click Deployment to open the Deployment
configuration page.
- In the Target runtime select WebSphere
Application Developer v7 or v8 from the drop-down box.
- Clear Add support for WebSphere bindings and extensions.
- In the Web module version field, select 3.0
- In the EAR membership field, click Add project to an EAR..
- In the EAR project name field, ensure that MultiSegOutputEAR appears.
- Accept the other defaults and click Finish. If asked to Open Associated Perspective?, click Yes. Click Finish.
- On the J2C Java Bean
Output Properties page:
- In the Package name field, click Browse and select the MultiSegOutput project. Click OK.
- Type sample.ims in the Package name field.
- Type MSO in the Interface
name field.
- Type MSOImpl in the Implementation name field.
- Clear Save session as ant script .
- Click Finish.