Escolar Documentos
Profissional Documentos
Cultura Documentos
Architectures
Needs of large business Applications
Functionality
Stability
Adaptability under rising workloads and changing
business requirements
Highest levels of performance and availability
Cost Effective
Contents of Business Applications
Business Logic
Database
Graphical User Interface
Explanation of keywords
Business Logic: Rules governing the business.
These can change frequently depending upon the
business.
Disadvantages
Difficult to upgrade
Not scalable
Don't protect valuable "Business Logic"
The 2-Tier Architecture
The 2-Tier Architecture
Advantages:
Protects business logic from UI
Disadvantages:
Business-logic is implemented on the PC
Increased network traffic
Application logic can’t be reused
Must design/implement protocol for
communication between client and server.
The 3-Tier Architecture
The 3-Tier Architecture
Advantages
Clear separation of user-interface-control
and data presentation from application-
logic.
Change in business logic wont need change
in other layers.
Dynamic load balancing by use of multiple
servers
N-tier architecture
Advantages
Advantages
Skills: none
IT concepts: protocol, the RFC process,
communication protocol layers, application
layer
HTTP vs HTML
Client Server
I would like to open a
connection OK
Display response
Close connection
OK
GET /fac/lpress/shortbio.htm
Tim Berners-Lee was knighted by Queen Elizabeth for his invention of the
World Wide Web. He is shown here, along with the first picture posted on the
Web and a screen shot from an early version of his Web browser.
HTTP is an application layer protocol
Your boss says: Send this package to Miami -- I don't care if you
use Federal Express, UPS, or any other means. Also, let me know
when it arrives or if it cannot be delivered for some reason.
Protocol Application
Defined as RFC959
Developed in 1971
Telnet Protocol
Availability
Available for almost all operating systems
Can be used in command prompt by using FTP commands
Can be used in the web browser
FTP applications
Why FTP (Continued)
Independency
Allow between client and server machine system files
Efficiency
Enable efficient data transfer
Security
It provide the a environment to transfer files indirectly and
implicitly between users
Accessing by user name and password makes it reliable and
safe to use FTP anywhere
Some FTP server allows people to use anonymous as a
default user name
How Does FTP Work
FTP has to be on both server and client computers to work
Connection
Control connection (port 21)
Used to send and receive FTP commands
Data connection (port 20)
Used to upload and download files
Processes
Data Transfer Process
Establishing the connection and managing the data channel
Protocol Interpreter
Interprets the protocol
let DTP be controlled using commands received over the control
channel
Transferring mode between server and client
Active mode
Control connection port: Client: Large port (N>1023); Server: 21
Data connection port: Client: N+1; Server: 20
Passive mode
Control connection port: Client: Large port (N>1023); Server: 21
Data connection port: Client: N+1; Server: large port (P>1023)
File Transferring mode
ASCII mode
.txt, .html, .asp, .vbs,.js
Binary
.doc, .pdf, .mp3/mp4
Where is FTP
Desktop Environment
Use “ftp” command to implement FTP
FTP server
Used to keep files that are available users
Websites
Easy to update
Internet
Very efficient to get a specific file through the internet
Everywhere
Advantages
Allows multiple File transfer
Failed file download tolerance
Resume the file when failed to download in the middle of
process
User can choose whether to use ASCII or Binary mode
as needed
Be able to get file from FTP server on any computer
that has access to internet by using his own username
and password
Easy to manage files by using FTP applications and to
set the read/write privilege
Softwares
Cute FTP
FileZilla
Leech FTP
Windows FTP
FTP Explorer