• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Development and Deployment environment

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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.
 
Ranch Hand
Posts: 77
Eclipse IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Thanks
Imran
 
Rajitha Arun
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

See, there are no dumb questions !


Nice way of putting it. Thanks for clearing my doubt, Imran.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic