Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt related to deployment

 
Srini vasu
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I have a doubt related to deployment of struts application.

In general, in development environment how do the people do deployment?

If I am using MyEclipse, It has built-in tool for deployment.
Do the people use that tool or do they write ant scripts again for deployment.


Thanks in advance,
Srini vasu.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my experience, about the only time IDE deployment is used is to deploy to the developer's own "sandbox" environment. Any deployment to an integration test environment or to a production environment is usually done through an Ant script. The Ant script will usually check out the code from whatever SCM tool is being used, compile it, package it, and sometimes copy the EAR or WAR file to the receiving environment.

One of the problems with using WAR files created through an IDE is that the WAR file reflects only what was in that particular developer's work environment, not what was checked in to the SCM tool. With an Ant script, there is no question about the fact that the WAR file contains only what was actually checked in to the SCM tool.
 
Srini vasu
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Merrill Higginson,

Thank you for you reply.my doubt is clarified.

cheers,
srini
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic