I am trying to build a social web application in Java using Database. I need to know what is the preferable way to transfer the read & interpreted data from DB to the webpages. I have created a DB abstraction layer which models my application. Should I use objects arrays to transfer the data between backend java class files and webpages?
Also any simple example application or explanation of how to build a web application right from defining the DB layer to the GUI/View layer would be most appreciated!