This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
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?
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.
Joined: Aug 24, 2006
See, there are no dumb questions !
Nice way of putting it. Thanks for clearing my doubt, Imran.