permaculture playing cards
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Development and Deployment environment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Development and Deployment environment" Watch "Development and Deployment environment" New topic

Development and Deployment environment

Rajitha Arun
Ranch Hand

Joined: Aug 24, 2006
Posts: 43

I am new to sevlets and jsp. I just started to read HFSJ and have a question. I am not sure whether this is a dumb question or not. I am trying to understand the difference between development and deployment environment . Why 2 copies?

Help please!

Thanks in advance.

Imran Vohra
Ranch Hand

Joined: Dec 12, 2005
Posts: 77

See, there are no dumb questions !
Development structure is where you put your java files, html files, all other resources. You will compile java files and .class files will be generated here only

While, Deployment structure is where you will copy all your resources from development structure which will include .class files and not .java files.

This is good practice to create both structures as they will help you to maintain the project, but if you are creating simple web-application for testing purpose or so, you can directly start with deployment structure.

Rajitha Arun
Ranch Hand

Joined: Aug 24, 2006
Posts: 43
See, there are no dumb questions !

Nice way of putting it. Thanks for clearing my doubt, Imran.
I agree. Here's the link:
subject: Development and Deployment environment
jQuery in Action, 3rd edition