wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Tutorial for 3-tier architectures Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Tutorial for 3-tier architectures" Watch "Tutorial for 3-tier architectures" New topic
Author

Tutorial for 3-tier architectures

stefan bisang
Greenhorn

Joined: Jun 03, 2010
Posts: 3
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

Joined: Sep 12, 2008
Posts: 506
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

Joined: Nov 02, 2013
Posts: 7
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...
 
Consider Paul's rocket mass heater.
 
subject: Tutorial for 3-tier architectures
 
Similar Threads
New to springs
URLYBird1.3.3 must use 2 tier ?
Right tier of the EJB implementing an exposed web service
[SCEA 5] Multitier architecture vs Three-tier architecture
3-Tier or 2-Tier?