Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JSP-Servlet 3 tier architecture in java

Have Programming Question? Ask it here!
 
 
 


krishna
3 tier architecture in java
1 Answer(s)      5 years and 3 months ago
Posted in : JSP-Servlet



Advertisement
View Answers

May 21, 2012 at 11:05 AM


A three-tier architecture is any system which enforces a general separation between the following three parts:

  1. Client Tier or user interface
  2. Middle Tier or business logic
  3. Data Storage Tier

Applied to web applications and distributed programming, the three logical tiers usually correspond to the physical separation between three types of devices or hosts:

  1. Browser or GUI Application
  2. Web Server or Application Server
  3. Database Server (often an RDBMS or Relational Database)

However, inside of the application server, there is a further division of program code into three logical tiers. This is kind of fractal: the part (app server object design) resembles the whole (physical system architecture). In a classic JSP/Servlet system, these objects are usually implemented as:

  1. JSPs or Servlets responsible for creating HTML or WML user interface pages
  2. Servlets or JavaBeans responsible for business logic
  3. Servlets, JavaBeans, or Java classes responsible for data access. These objects usually use JDBC to query the database.

In an EJB system, the three logical tiers are usually implemented somewhat differently:

  1. JSPs, Servlets, or Java client applications responsible for user interface
  2. Session Beans or Entity Beans whose methods implement business logic and business rules


Related Tutorials/Questions & Answers:
3 tier architecture in java - JSP-Servlet
3 tier architecture in java  H!, My shopping cart project... here that what are the 3 tiers. I tier is html ( it can also be jsp?) II tier is what ???????? is it servlets and jsp? or weblogic server? III tier is oracle
Developing Distributed application using Enterprise Java Beans, J2EE Architecture, EJB Tutorial, WebLogic Tutorial.
all the problems of two-tier architecture. It also eliminates... Two-tier application: In the past two-tier applications were used. Two
Advertisements
Architecture - Java Interview Questions
Architecture  Describe three tier architecture in detail
Java Architecture
Java Architecture  What is architecture of java
Java Architecture.
Java Architecture.  Explain Java Architecture.   Please visit the following links: http://www.roseindia.net/java/quick-java.shtml http://www.roseindia.net/java/java-virtual-machine.shtml
Java Architecture
Java Architecture  What is architecture of java   Architecture of Java program Here is an architecture of a java program where documentation part or writing comments into program is completely optional.Declaration
Java Architecture Over View
Client Tier Architecture Java client tier consists of application running.... J2EE architecture is logically divided in to many tiers such as client tier...; } Overview of Client tier, Presentation tier, Business tier, and Resource tier
Java Hibernate 3 Programmer
Java Hibernate 3 Programmer        Position Vacant: Java Hibernate 3 Programmer Job...; Reference ID: Java Hibernate 3 Programmer
architecture - Java Interview Questions
architecture  Hi, can any body tell me how to explain ATG architecture in interview
mvc architecture - Java Beginners
mvc architecture  i am asking you give me an example for the object oriented programming using MVC architecture then my problem is railway tickect... to that arraylist. for this one i have to do code in MVC architecture
mvc architecture - Java Beginners
mvc architecture  can u please provide a example program with code using mvc architecture mine problem is adding routes for the railwaystation... on the MVC architecture please send me the link for knowing the implementation code
3 queries on java class
3 queries on java class  Hey. I need to do 3 queries on same class ( JAVA) One is to populate the combobox, the another one to populate tje jlist and the last one to use on button to open a file from database (BLOB) Can some
3 Java Programs for Beginners
3 Java Programs for Beginners  Write a program that prompts the user for 2 different integers, then prints out the numbers between the 2 integers (inclusive) and their squares and the sum of their squares. Write a program
Project Architecture - Java Interview Questions
Project Architecture  i want project architectre diagram and also flow plz explian in layers of the project architecture flow?i want discrpption for this one
MVC architecture example - Java Beginners
MVC architecture example  hi.. I would like to ask the example...") 2.Then create a servlet page name like login.java 3.Then create another java... will be used. 4.Then create another java class where you will put your database
Java Query divide frame into 3 rows and 3 columns
Java Query divide frame into 3 rows and 3 columns  how can we divide the frame into 3 rows and 3 columns
OOP with Java 3 - Java Beginners
OOP with Java 3  Write a Temperature class that has two instances variables: temperature value (a floating-point number) and a character for the scale, wither C for Celsius or F for Fahrenheit. the class should have four
What is the Difference Between Presentation layer/tier and Business layer/tier?
What is the Difference Between Presentation layer/tier and Business layer/tier?  I have searched many Books, Articles, Forums to find this answer... or tier
Business Objects of Business Logic tier
will develop the objects of business logic tier. Business logic tier referrers to the mid tier of 3-tier web application architecture. Business Objects Business...Business Objects of Business Logic tier   
Java: Method Exercises 3
Java: Method Exercises 3 Name: _________________________________ What... 2 3 4 5 6 7 8 9 10 11... // Date : 3 May 2005 import javax.swing.*; class MethodExercises3
Java Programming: Chapter 3 Quiz
Quiz Questions For Chapter 3 THIS PAGE CONTAINS A SAMPLE quiz on material from Chapter 3 of this on-line Java textbook. You should be able... statements used in Java programs. Question 3: What is the main difference
Java Programming: Chapter 3 Index
Chapter 3 Programming in the Small II Control THE BASIC.... Java includes several control structures of each type, and we will look... of examples. Contents of Chapter 3: Section 1:Blocks, Loops, and Branches
java bits 3 - Java Interview Questions
java bits 3  Given: 11. public class Test { 12. public static void.... System.out.print(?2 ?); 20. if ((b2 = true) && b1) 21. System.out.print(?3 ?); 22. } 23. } What is the result? A. 2 B. 3 C. 1 2 D. 2 3 E. 1 2 3 F. Compilation
Java Programming: Chapter 3 Exercises
Programming Exercises For Chapter 3 THIS PAGE CONTAINS programming exercises based on material from Chapter 3 of this on-line Java textbook... that will evaluate simple expressions such as 17 + 3 and 3.14159 * 4.7. The expressions
WAP in java to print the series 1*2*3
WAP in java to print the series 1*2*3  WAP in java to print the series 123
MVC Architecture In Java
MVC Architecture In Java In this section we will discuss about the MVC architecture. This section will describe you all the aspects of MVC architecture..., what is MVC architecture, what is model, what is view, what is controller
School Timetable System in java spring mvc 3
School Timetable System in java spring mvc 3  I want to do project in timetable generation for my project. but i dont know how generate. i'm using java spring Hibernate. please some one help me. Thanks thuva
Integrating Business Logic Tier and Integration Tier Components
Integrating Business Logic Tier and Integration Tier Components...; In the business logic tier web have created business objects, business services... tier components Hibernate maps the business objects to database using XML
Java Programming: Chapter 3 Quiz Answers
Sample Quiz Answers For Chapter 3 THIS PAGE CONTAINS SAMPLE ANSWERS to the Quiz on Chapter 1 of this on-line Java textbook. Note... statements used in Java programs. Answer: A block statement is just a sequence
Java with EJB 3
Java with EJB 3       Position Vacant: Java with EJB 3 Job Description ...://www.roseindia.net  Reference ID: Java with EJB 3
JSF architecture
JSF architecture  What is JSF architecture
SEE with Java
SEE with Java       Position Vacant: SEE with Java Job Description  Java... responsibilities:  Developing the architecture for the system 
Architecture of application
Architecture of application  Hello, I would like to know your ideas... server will be running GlassFish 3, The GUI I already prepare will be build using Netbeans Platform module architecture. Almost everything is already clear
Java Architecture for XML Binding
Java Architecture for XML Binding             Today, XML has emerged as the standard for exchanging data across disparate systems, and Java technology
J2EE - Java Interview Questions
J2EE  What is J2EE architecture?  Hi friend, The Java... Java applications provide a dynamic interface to the middle tier. 2. Middle... applications with an extensive test suite. J2EE architecture supports component
Java Programmers with Financial Application
Java Programmers with Financial Application       Position Vacant: Java Programmers with Financial... the system  Developing architecture of the application  Creating
Struts Architecture - Struts
struts architecture with flow.   Hi friend, Struts is an open source... (MVC) design pattern. It uses and extends the Java Servlet API to encourage developers to adopt an MVC architecture. Struts framework provides three key
Application Architecture
. Three tier architecture of the application:  Presentation Layer JSF...Application Architecture     ... the architecture of the application and the different components that makes up
Java Spring Framework Programmer
Java Spring Framework Programmer        Position Vacant: Java Spring Framework...; Developing architecture of the application  Creating
3
Java Struts 2 Programmer
Java Struts 2 Programmer       Position Vacant: Java Struts 2 Programmer  Job...:  Designing the system  Developing architecture
Hibernate Architecture
Hibernate Architecture - Understand the architecture of the Hibernate ORM framework. Here we will discuss about the architecture of very extensible used Hibernate ORM framework. Hibernate is based on the Java technologies
Java Technical Architect with ERP Experience
Java Technical Architect with ERP Experience       Position Vacant: Java Technical Architect...; Developing architecture of the application  Creating SDD 
Java Technical Architect with Finance Experience
Java Technical Architect with Finance Experience       Position Vacant: Java Technical Architect... the system  Developing architecture of the application 
JPA Architecture
JPA Architecture       JPA Architecture: In this section we will discuss the architecture of JPA specification. Java Persistence API or JPA for short is a lightweight, POJO
JSF Architecture
also uses the MVC pattern. ?JSF Architecture? article in roseindia.net explains the architecture of a JSF application. Read about the topic at JSF Architecture
Java Architecture for XML Binding (JAXB)
Java Architecture for XML Binding (JAXB)       XML and Java together are the most ideal building blocks... documents: Java Architecture for XML Binding (JAXB). It allows java developer
Spring 3
Spring 3  Hi I want to know how to write code Spring 3 for registration and login pages with help of data bse.Please help me I am new to Spring
Hibernate Architecture
In this tutorial we are going to describe hibernate architecture with example
VoIP Architecture
VoIP Architecture Common VoIP Architecture This white paper describes the architecture of AT&T?s common infrastructure for real-time... services will migrate to this architecture over time and when appropriate
Advertisements
 

 

 

DMCA.com