• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tutorial for 3-tier architectures

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 541
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
reply
    Bookmark Topic Watch Topic
  • New Topic