IT Community - Software Programming, Web Development and Technical Support

Understanding the Three-Tier Architecture

This is a discussion on Understanding the Three-Tier Architecture within the Other Web Programming Languages forums, part of the Web Development category; The three-tier Web application architecture generally includes the connection of a server-side Java application to the database through ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Other Web Programming Languages

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 05-18-2007, 04:38 AM
Jeyaseelansarc Jeyaseelansarc is offline
D-Web Genius
 
Join Date: Mar 2007
Location: Chennai
Posts: 1,159
Jeyaseelansarc is on a distinguished road
Send a message via AIM to Jeyaseelansarc
Default Understanding the Three-Tier Architecture

The three-tier Web application architecture generally includes the connection of a server-side Java application to the database through a JDBC connection (see Figure 2-3). In this pattern, TopLink resides within a Java server (a J2EE server or a custom server), with several possible server integration points. The application can support Web clients such as servlets, Java clients, and generic clients using XML or Common Object Request Broker Architecture (CORBA).

The three-tier application is a common architecture in which TopLink resides within a Java server (either a J2EE server or a custom server). In this architecture, the server session provides clients with shared access to JDBC connections and a shared object cache. Because it resides on a single JVM, this architecture is simple and easily scalable. The TopLink persistent entities in this architecture are generally Java objects.

This architecture often supports Web-based applications in which the client application is a Web client, a Java client, or a server component.

Although not all three-tier applications are Web-based, this architecture is ideally suited to distributed Web applications. In addition, although it is also common to use EJB in a Web application, this TopLink architecture does not.

Example Implementations

Examples of three-tier architecture implementation include the following:

* A Model-View-Controller Model 2 architectural design pattern that runs in a J2EE container with servlets and JSP that uses TopLink to access data without EJB.
* A Swing or Abstract Window Toolkit (AWT) client that connects to a server-side Java application through RMI, without an application server or container.

Advantages and Disadvantages

The three-tier Web application architecture offers the following advantages:

* High performance, lightweight persistent objects
* High degree of flexibility in deployment platform and configuration
The disadvantage of this architecture is it is less standard than EJB.
Attached Images
File Type: gif 3tierov.gif (19.4 KB, 1 views)
__________________
With,
J. Jeyaseelan

Everything Possible
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two tier, three tier or multi tier vigneshgets Software Testing 0 01-15-2008 08:53 PM
"Understanding Session State Modes" - to help you to understand the difference betwee Archer ASP and ASP.NET Programming 1 07-23-2007 11:44 PM
Oracle Single -Tier and Multi-Tier Architecture Murali Database Support 0 07-16-2007 03:50 AM
MYSQL Single-Tier and Multi-Tier Architecture Murali Database Support 0 07-16-2007 02:51 AM
business logic in three-tier architecture Jeyaseelansarc PHP Programming 0 05-18-2007 09:30 PM


All times are GMT -7. The time now is 11:51 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0