Skip to main content

Creating war file with JDeveloper 12c


Creating war file with JDeveloper 12c
                                 Kailash Nirmal


Creating a WAR Deployment Profile Document

Introduction

This will be useful for the Creating a WAR Deployment Profile in jDeveloper 12c by providing the details for how the war file should be built. 

Prerequisites

Before going through this post, you should:

1.     Have access to or have installed Oracle JDeveloper 12c Studio Edition Version  12.1.3.0.0.
2.     Have project setup done in jDeveloper.



Web Application Archive (WAR)

This also called Web Archive.  This can alternatively be deployed without an EAR.Contains all files required for an application.




Steps:


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 press 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. 






       Note the path of war file. You can see the deploy folder. Press the OK.

           5.  You will see now the provided name in the Deployment profiles list : 


  




6.  Right click on the Project, go to-> Deploy and select the name provided in the step 4 and 5.




7.       Select the deployment action. Select “Deploy to WAR”.







8.  Press Next and then Finish. Now the files will be complied and deployed to the war file.
9.  Finally, you will see the war file created inside Deploy folder. Now you can deploy it to any server, like tomcat, jboss or WebLogic in our case.


Note:

You can edit in WAR Deployment Profile Properties dialog. Repeat Steps 1 through 8 for all web projects that you want to deploy.

Comments

Popular posts from this blog

How to Create Cross-References in Microsoft Word

  How to Create Cross-References in Microsoft Word When writing a document, you might want to refer to other sections or items within the same document. This is where cross-references come in handy! Cross-references allow you to link to other parts of your document, making it easy for readers to find related information. Here’s a simple guide on how to do it in Microsoft Word. What is a Cross-Reference? A cross-reference is a way to point your readers to additional information somewhere else in your document. Think of it as a signpost that directs someone to another part of the text. This is especially useful in longer documents, where readers might need to find related information quickly. For example, imagine you are writing a report about different species of birds. In one section, you describe the characteristics of sparrows. Later, you mention sparrows again in a different section discussing their habitats. Instead of repeating all the information about sparrows, you can creat...