Home Answers Viewqa JSP-Servlet 3 tier architecture in java

 
 


krishna
3 tier architecture in java
1 Answer(s)      4 years and a month ago
Posted in : JSP-Servlet

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 Pages:
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
Architecture - Java Interview Questions
Architecture  Describe three tier architecture in detail
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
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
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   
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
Java Architecture
Java Architecture  What is architecture of java
Java Hibernate 3 Programmer
Java Hibernate 3 Programmer        Position Vacant: Java Hibernate 3 Programmer Job...; Reference ID: Java Hibernate 3 Programmer
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 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
an overview of ejb 3
An overview of EJB 3. As we know that EJB architecture has failed in keeping... the development of Java applications much more easier and also it aims at standardizing the persistence API for the Java platform. Moreover it has been given
MVC Architecture
MVC Architecture      ... the model changes. 3). Controller:  Whenever the user sends a request... Model 1 and Model 2 architecture: Features of MVC1: Html or jsp files
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
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
The Beginners Guide to JAXB part 3
; -------------------------------------------- Let us now generate the java source...\*.java generated\impl\*.java generated\impl\runtime\*.java We get compilation... will create a java object tree and then send it to a file as xml document
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
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
JDBC Architecture
JDBC architecture can be classified in 2 broad categories:- 1. JDBC API 2... in library of java kit. It is not written in java entirely because the non-java...;t support "Applets". Network-Protocol Type 3 driver   
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
Web 3
Architecture Another debate originates over the artificial intelligence direction... associated to a possible hub of SOA (Service Oriented Architecture
Web 3
: Artificial intelligence Automated reasoning Cognitive architecture Composite
Hibernate Architecture
Hibernate Architecture       In this lesson you will learn the architecture of Hibernate.  The following diagram describes the high level architecture of hibernate
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
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
JSP Architecture, JSP Model 1 architecture, JSP Model 2 architecture
popular architecture and there are many frameworks available for developing Java...JSP Architecture In this section we are discussing JSP Architecture and types.... In the JSP page programmers embeds Java code for generating dynamic content. JSP
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
help me 3
help me 3  write aprogram in java using two dimentional array.Accept the two dimentional array from the user and perform addition and subtraction of these two arrays and display the result for each add and subtruct
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
java - Java Beginners
java  explain the three tier architecture in detail
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
3
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
Understanding the JDBC Architecture
Architecture Type 3 Java to Network Protocol Or All- Java Driver. Type 3...; databases. Type 3 JDBC Architecture Type 4 Java to Database....) Type 1 JDBC Architecture Type 2 Java to Native API. Type
A Brief Introduction to JDBC
- Tier Architecture In 2-tier architecture java application communicates directly... will communicated back to the client. JDBC 2-Tier Architecture JDBC 3- Tier Architecture In 3-tier architecture a ‘middle-tier’ is used between java
Computer Architecture and Programming Languages
Computer Architecture and Programming Languages CPU - Central... architecture. Main Memory / RAM Main memory is also known as RAM (Random Access..., C, C++, Java, C#, ... Human writes "source program". It's translated
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
Introduction to spring 3, Spring framework 3
Introduction to spring 3 In this section we will discuss about Spring 3 framework. Finally Spring 3 is here with new features and enhancements. The Spring Framework is Java based lightweight framework for developing enterprise
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 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
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
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
About MVC 2 architecture and jsp - JSP-Servlet
About MVC 2 architecture and jsp  Sir, I want to know about MVC 2 architecture and can we bring all functionalities of servlets in jsp.What... to use the tags with java language. It is basically used for presentation
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
Detailed introduction to Struts 2 Architecture
Detailed introduction to Struts 2 Architecture       Struts 2 Framework Architecture In the previous section we learned...;  Following diagram shows the high level architecture of Struts 2 Framework

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.