Oracle Server E10293-02 User Manual

Page of 108
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:
1.
Close the "welcome" window of Eclipse if it is shown.
2.
Select the Eclipse Java perspective by selecting WindowOpen Perspective, and 
Java
.
3.
Create a new project by selecting File, New, Project, OCMS SCE, Dynamic Web 
Project with SIP Support
.
4.
Enter the project name.
5.
Select the target runtime from the drop-down menu. 
This runtime will be preconfigured if the OCMS Server has been added as 
described in 
.
6.
Click Finish
A new Java Project is created in the Package Explorer. Access the Package 
Explorer by selecting WindowShow ViewPackage 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:
1.
Close the "welcome" window of Eclipse if it is shown.
2.
Select the Eclipse Java perspective by selecting WindowOpen Perspective, and 
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.
5.
Select the project.
6.
Select "OCMS SipAS - OC4J 10.1.3.2" as the target runtime from the drop-down 
menu. 
This runtime will be preconfigured if the OCMS Server has been added as 
described in 
.
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.