0% found this document useful (0 votes)
42 views21 pages

Introduction To Java 2 Enterprise Edition (J2Ee)

1) The document introduces Java 2 Enterprise Edition (J2EE) and discusses basic web terminologies like static vs dynamic websites, web servers, web containers, and application servers. 2) It explains different multi-tier architectures for enterprise applications - single tier, two-tier, three-tier - and how they evolved to be more scalable and maintainable. 3) As an assignment, students are asked to explain the advantages and consequences of single, two, three-tier architectures, and illustrate and explain an N-tier architecture with an example application mapping.

Uploaded by

Mesum
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views21 pages

Introduction To Java 2 Enterprise Edition (J2Ee)

1) The document introduces Java 2 Enterprise Edition (J2EE) and discusses basic web terminologies like static vs dynamic websites, web servers, web containers, and application servers. 2) It explains different multi-tier architectures for enterprise applications - single tier, two-tier, three-tier - and how they evolved to be more scalable and maintainable. 3) As an assignment, students are asked to explain the advantages and consequences of single, two, three-tier architectures, and illustrate and explain an N-tier architecture with an example application mapping.

Uploaded by

Mesum
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 21

INTRODUCTION TO JAVA 2

ENTERPRISE EDITION (J2EE)


Week – 2 (Part – 3)
Enterprise Application Development
(CS4183)
By: Maryam Zahid
Capital University of Science and Technology (C.U.S.T)
Content
• Basic Web Terminologies
• Preview on Enterprise Applications
• Introduction to J2EE
Web Terminologies - Website
• Website is a collection of related web pages that may
contain text, images, audio and video. Each website has
specific internet address (URL) that you need to enter in
your browser to access a website.
• Website is hosted on one or more servers and can be
accessed by visiting its homepage using a computer
network.
• A website is managed by its owner that can be an
individual, company or an organization.
Types of Website

Static
Website

Dynamic
Website
Static Website
• Static website is the basic type of website that is easy to
create.
• Static web pages are coded in HTML.
• You don't need web programming and database design to
create a static website.
• The codes are fixed for each page so the information
contained in the page does not change and it looks like a
printed page.
Dynamic Website
• Dynamic website is a collection of dynamic web pages
whose content changes dynamically. It accesses content
from a database or Content Management System
(CMS).
• When you alter or update the content of the web page or
database, the content of the website is also altered or
updated.
• Dynamic website uses client-side scripting or server-side
scripting, or both to generate dynamic content.
Static VS Dynamic Website - Example
Web Server
• Define HTTP?
• Web Server or HTTP Server: a server which is capable of
handling HTTP request send by a client and respond back
with a HTTP response.
Web Container
• In Java: Web Container or Servlet Container or Servlet
Engine : is used to manage the components like servlets,
JSP.
Application Server
Application Server or App Server: can handle all application
operations between users and an organization's back end
business applications or databases.
Static VS Dynamic Website
• Home Task (Assignment # 1b):
• Write down the similarities and the differences between static and
dynamic websites. Also represent is using an example
diagrammatically!
• Plagiarized Assignment will be marked ZERO!!
• Due Next Lecture!
Basic Terminologies

• A physical separation of
Tier components

• A logical separation of
Layer components
What is an Enterprise?
• In broad terms, enterprise means a business organization
• Enterprise applications are those software applications that f
facilitate various activities in an enterprise
• Enterprise applications help an enterprise to mange its
various business activities
Evolution of Enterprise Applications

Singl N-
2-Tier 3-Tier
e Tier Tier
Single Tier
• Also known as “One-Tier” or “Monolithic Code”
• Presentation, business logic, and data access are
intertwined in one mainframe application
• Dumb terminals are directly connected to mainframe
• Centralized model
• Presentation, business logic, and data access are
tightly coupled
• Changes required to any part of the functionality may
potentially affect other parts. Why ?
2-Tier
• Interaction of two-tier architecture
• Client: simply accesses web pages through web browser
• Server: retrieves html documents
• Disadvantages?
Java Applet-based Web Client/Server
• Interaction of two-tier architecture
• Client: uses Java Applet for client-side computation
• Server: provides Applet bytecode
• Fat Client/Thin Server
• Disadvantages?
3-Tier
• Comprises of 3 independent layers:
• Presentation Layer (Client Layer)
• Application Layer (Business Logic Layer)
• Data Access Layer connected to the database
• Is easier. How?
• Concurrent programming is possible
• Drawbacks?
Assignment # 1:
• List down the advantages and consequences of Single-
tier, Two-tier, 3-Tier and N-tier web applications

• Briefly explain N-Tier architecture using a diagram (with


highlighted and explained components). Also give an
example of an application mapping onto N-Tier
architecture using diagram!

• Plagiarized Assignment will be marked ZERO!!


• Due Next Week!

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy