Oracle Server E10293-02 Manuel D’Utilisation
Importing an Existing Project
Building a SIP Servlet Application 5-3
7.
Test your application
a.
Deploy the application to the application server.
b.
Test and debug the application.
Creating a New Dynamic Web Project with SIP Support
Perform the following procedure to create a new project in Eclipse for deployment to
OCMS:
OCMS:
1.
Close the "welcome" window of Eclipse if it is shown.
2.
Select the Eclipse Java perspective by selecting Window, Open Perspective, and
Java
Java
.
3.
Create a new project by selecting File, New, Project, OCMS SCE, Dynamic Web
Project with SIP Support
Project with SIP Support
.
4.
Enter the project name.
5.
Select the target runtime from the drop-down menu.
.
6.
Click Finish.
A new Java Project is created in the Package Explorer. Access the Package
Explorer by selecting Window, Show View, Package Explorer. To deploy your
project, perform the steps described in
Explorer by selecting Window, Show View, Package Explorer. To deploy your
project, perform the steps described in
.
Importing an Existing Project
Perform the following procedure to import an existing project into Eclipse for
deployment to OCMS:
deployment to OCMS:
1.
Close the "welcome" window of Eclipse if it is shown.
2.
Select the Eclipse Java perspective by selecting Window, Open Perspective, and
Java
Java
.
3.
Create a new project by selecting File, Import, Web, WAR file.
4.
Navigate to the Eclipse workspace directory and locate the WAR file to be
imported.
imported.
5.
Select the project.
6.
Select "OCMS SipAS - OC4J 10.1.3.2" as the target runtime from the drop-down
menu.
menu.
.
7.
Click Finish.
Note:
When importing a new project into Eclipse for use with the
OCMS SCE, the project must be located in the workspace directory.
Otherwise the deployment into OCMS will not work.
Otherwise the deployment into OCMS will not work.