wood burning stoves 2.0*
The moose likes Servlets and the fly likes General Programming Practices for Web Applications. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "General Programming Practices for Web Applications." Watch "General Programming Practices for Web Applications." New topic
Author

General Programming Practices for Web Applications.

Hemanth Presingu
Ranch Hand

Joined: Oct 01, 2000
Posts: 30
I am a newbie to doing web based application and would like to get inputs from others on how handle various situations.
1. What is the best method to generate HTML( Presentation + Data.)
2. As there is no strucure concept in Java(unlike C/C++), how are large elements of data passed between functions.
Arrays - You have to hardcode/Know the corresponding column for each array element.
Objects - Lot of get/set methods needed.
3. Persistence layer. - Do we have a separate set of classes to handle DB interaction, or do we do all of those in servlets?

I would appreciate if anyone already done some of these give some inputs with respect to pros and cons of each approach.
Thanks.
-Hemanth
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: General Programming Practices for Web Applications.