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.



4 Responses to “Creating war file with JDeveloper 10g”

  1. 1 Mike

    Enjoy reading your blog.Btw, this is first time I visit to your blog 🙂

  2. 2 Juan Zuluaga

    hello there.

    I follow this “how to” but at the end of the file creation (step 5) i don’t see any deploy file, even when i see it in the windows explorer.

    can you help me?

  3. 3 meter down

    @Juan Zuluaga

    The problem could be that you did not create a proper web project. WAR file can only be created if the project is proper web project.

    To create a web project go to New > General > Project > web project and follow the wizard. This will create a web project. Without doing anything create a WAR file right now and you will see a WAR file under deploy folder in you project folder.

    Hope that solves the problem.

    P.S : I have started bloggin at another address, please visit my blog and give your feedback

  4. 4 Joseph

    A really good step by step guide to create a war file. Thanks for posting.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: