I intend to write code to build a web application which will be attract a lot of traffic like a social networking website. For some reasons, we are restricted to using java to build our technology stack and we are comfortable with it.
I have worked on a java web application quite a few years back and recall that building a n tier application would demand the following two constituents
a) dynamic web project (to create a war file)
b) enterprise project (to create an ear file)
But beyond this, I don’t recall anything, can someone guide me to a pdf which I can go through to structure the code for building such an application ? I am using an eclipse ide and would deploy the code in Apache Tomcat. Also it will be great if someone can guide me to some ebooks so that I can understand the technical architecture to build a social networking application.