How to structure code of Java Enterprise Edition 7 application


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.


Questions asking us to recommend or find a book, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. See ‘What topics can I ask about here?’
You could try looking at the official JavaEE documentation?
@Michael – Alright.
– 100pipers
20 secs ago


Add a Comment