This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tutorial for 3-tier architectures

 
stefan bisang
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi folks

I would like to learn more about 3-tier architecture(presentation, business logic, data) programming in java. Does anybody know a good tutorial (or a book)? Especially tutorials about building a sample application would be very interesting.

Any proofen tutorial would be a help

Thanks
Stefan
 
Saurabh Pillai
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wiki entry about MVC http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller. Try to understand the concept first.

Quick googling returned tutorial on MVC on Oracle's website http://www.oracle.com/technetwork/articles/javase/mvc-136693.html

If you are looking for implementation of MVC in web app, then search for Spring MVC.
 
Snehal Masne
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
3-tier is any project having a

a.) Presentation Layer containing UI ( written in asp.net)

b.) BusinessLogic Layer containing business logic ...UI will call this layer instead of calling data layer directly for security reasons

c.) Data Access Layer so that all calls to database are abstracted and no-one can fire any query directly into database.

Similarly you can implement n-tier by adding more layers like

d.) A Service layer Now flow will by Presentation Layer -> Service -> Business Layer -> Database

and so on...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic