How to deploy Jar, War files in J2EE?



How to deploy Jar, War files in J2EE?..

Answer / Rajnish Kumar Shriwastawa

To deploy Java Archive (Jar) and Web Archive (War) files in J2EE, follow these steps: 1. Copy the Jar or War file to the deployment directory of your application server (like tomcat's webapps directory). 2. If necessary, update the deployment descriptor (web.xml) located in the WEB-INF folder inside the deployed WAR. 3. Restart the application server for the changes to take effect.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

I wantr to know, How many number of users logged in to website? can any one answer

7 Answers   Cap Gemini,


Why threads will block on I/O?

2 Answers  


What is difference RMI registry and OSAgent?

1 Answers  


Which containers use a border layout as their default layout?

1 Answers  


Name three subclasses of the component class?

1 Answers  


difference of inheritance and interface

3 Answers  


What is the difference between long.class and long.type?

1 Answers  


What does module-relative mean?

1 Answers  


What is a modular application?

1 Answers  


What is a compilation unit?

1 Answers  


Explain lazy activation?

1 Answers   HCL,


what is the proxy pattern?

1 Answers  


Categories