wood burning stoves 2.0*
The moose likes Servlets and the fly likes Basics Of a J2EE Web Application (Algorithm of a J2EE Web Application) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Basics Of a J2EE Web Application (Algorithm of a J2EE Web Application)" Watch "Basics Of a J2EE Web Application (Algorithm of a J2EE Web Application)" New topic
Author

Basics Of a J2EE Web Application (Algorithm of a J2EE Web Application)

Mehta Tejas
Greenhorn

Joined: Aug 16, 2009
Posts: 15
Hi All,
I am a 3+ yrs experienced Java developer and i've worked on ATG framework. This framwork uses some of the most sophisticated concepts in J2EE such as DI, ORM , Servlet pipelines, State Machines ,etc. However, I know a lot of these things I'm still not clear about wht exact steps occur when a Web App runs.
It would be nice if anyone can explain the basic steps that are followed when a J2EE application server gets a request from the web browser. I would like to know the basics of any Application Server and Web Server, The role of different components involved here such as Servlets, Filters (in a web.xml), Request Dispatcher , EJB's and their basic role.
I have referred quite a few books while studying for different components but none of them clearly gives a picture of the entire process involved in request processing. I found a few books but they were too big (700+ pages) and would take months to finish.
If someone can list out the steps like the steps of an Algorithm here, then it would become very easy and clear for any new J2EE developers to get a holistic picture of the entire Web Application and would thereby help in clearly understanding of any other J2EE frameworks/products.

Thanks,
Tejas
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


I found a few books but they were too big (700+ pages) and would take months to finish.

JEE is a complex subject. I'd recommend making the time to read one of these books. The basics of an Application Server and web server is not something that is easily (and usefully) sumarised in a forum post. If you've worked with ATG you will already be beginning to have an understanding of most of the concepts anyway - for example if you understand the Servlet technology there's probably not a lot anyone could add about web servers you wont already know.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
wood burning stoves
 
subject: Basics Of a J2EE Web Application (Algorithm of a J2EE Web Application)