Creating war file with JDeveloper 10g
1- Right click the project or go to File> New
2- Select Deployment Profiles under General and Select WAR file from Items list on the right side and pres OK.
3- Provide any name and the location where you want to save the WAR file and press OK.
4- On the next screen Browse to the location where you want to save the war file and provide the same location for the EAR file as well. Here you can provide the context path of you project. I have provided /myproject, so when the project is deployed on any web server it will access with this name. For example the URL will be something similar to this http://localhost:8080/myproject
5- You will now see a file you_war_file_name.deploy under a newly created folder Resources.
6- Right click the .deploy file and select Deploy to WAR file.
7- Now the files will be complied and deployed to the war file.
8- Finally, you will see the war file created. Now you can deploy it to any server, like tomcat, jboss or OC4J that comes embedded in JDeveloper.
Filed under: JDeveloper, Tutorials | 4 Comments
Tags: creating war file with jdeveloper, deployment using jdeveloper, JDeveloper, jdeveloper 10g, war with jdeveloper