Module 5-1 Client Server Architecture Notes
Module 5-1 Client Server Architecture Notes
Web Services History. Web Server Technology- Web Server, Web Server
Communication, Role of Java for Client/Server on Web. Web Services-
MicroServices, APIs, API Gateway, Authentication of users/clients,
Tokens/Keys for Authentication, Service Mesh, Message Queues, SaaS,
Web Sockets. Client/Server/Browser – Server Technology, Client/Server
Technology and Web Applications, Balanced Computing and the Server’s
Changing Role. Thin client computing - Computing models-Comparison-
Computing Environment.
Future of client/ server Computing Enabling Technologies,
Transformational system.
Client/Server Technology and Web Services
• WHAT ARE WEB SERVICES?
History of Web Services
1. Origins and Development (1989-1991)
• The World Wide Web (WWW) was developed by Tim Berners-Lee at CERN (European Organization for Nuclear Research) between
1989-1991.
• In 1990, Berners-Lee wrote the first web browser and HTML editor, which became the foundation for the web.
• The program was the first to use both FTP (File Transfer Protocol) and HTTP (HyperText Transfer Protocol) for data transfer.
2. Key Internet Protocols
• FTP (File Transfer Protocol): Used for transferring data over a network.
• HTTP (HyperText Transfer Protocol): Supports hyper-text documents, enabling web communication.
• Both protocols are essential for communication over the Internet and the WWW.
3. Public Availability and Expansion (1991-1994)
• In 1993, the source code for the World Wide Web was made public, making it available to everyone with a computer.
• Initially, web communication was limited to scientific organizations but later extended to universities and industries (1991-1994).
• By 1994, computers could transfer data between different operating systems using network cables.
4. Early Web Technologies
• The first web server, also developed by Berners-Lee, ran on NeXTSTEP, the operating system of NeXT computers.
• Berners-Lee also introduced URLs (Universal Resource Locators), which act as unique global identifiers for web documents.
• He wrote the initial specifications for HTML (HyperText Markup Language), which became the standard for web pages.
5. Expansion to the United States
• The first web server in the U.S. was installed on December 12, 1991, at SLAC (Stanford Linear Accelerator Center), a U.S.
Department of Energy laboratory.
6. World Wide Web Consortium (W3C) (1994)
• In 1994, Berners-Lee founded the World Wide Web Consortium (W3C) to regulate and standardize web technologies.
• The W3C established core standards to ensure compatibility between different operating systems, software, and web browsers.
7. Post-2000 Web Explosion
• After the year 2000, the World Wide Web expanded rapidly.
• Currently, there are over 110 million websites on the internet, making it a fundamental part of modern communication and business.
Web Server Technology
Basic Web Communication Process
• A web browser allows users to request, communicate, and
display HTML web pages.
• Popular web browsers: Internet Explorer, Mozilla Firefox, Safari,
Opera, and Netscape.
• When a user enters a URL and presses enter, a request is sent to
a server machine running a web server.
• A web server is software that delivers web pages to clients.
• Most popular web server software: Apache.
• The web server processes the request and returns the requested
web page.
Web Server Technology…..
Evolution of Web Technology
• Earlier Web Technology (Fig. 8.1(a))
• Web communication involved basic HTML pages transferred via HTTP requests.
• A simple browser-to-web server interaction existed.
• Modern Web Technology (Fig. 8.1(b))
• Websites can be static or dynamic.
• Uses databases, CGI scripts, and web applications to generate content dynamically.
Web Server Technology…..
Client-Server Model
• Clients: Devices requesting web pages (e.g., personal computers, smartphones).
• Servers: Machines providing web services (e.g., Google, Yahoo!).
• Clients send search requests, and servers process and return results.
Role of Web Servers in URL Processing
• Web servers translate URL path components into local file system paths.
• The root directory of the web server is structured like an inverted tree hierarchy.
•Example of a URL request:
A. Networking
• Current bandwidth is insufficient; need for faster, more reliable networks.
• Technologies like ATM, frame relay, and switched networks will improve bandwidth.
• Networks will become the infrastructure for distributed applications.
• WAN performance improvements are critical, especially as Internet usage surges.
B. Development Tools
• True Compilers: Tools like Delphi provide efficient compiled apps; trend toward
compiling rather than interpreting.
• Native Links: Tools will increasingly support native connections to distributed objects
and transaction processing monitors (TP monitors).
• Component Development: More focus on building and integrating reusable
components (e.g., ActiveX, Java).
• Standards Usage: Importance of adopting standards like CORBA, COM, SQL92 to
promote interoperability.
• Consistent Language Support: Movement away from proprietary languages to
widely-used ones (e.g., C++, Pascal, VBA).
• Application Partitioning: Tools will better support splitting applications into
distributed parts using open standards.
• Intranet Consistency: Overloaded with technologies now; expected consolidation of
2. Technology of the Next
Generation…
C. Processors and Servers
• Processing power will continue to grow rapidly.
• SMP (Symmetric Multiprocessing) and component-based servers will
rise.
• Operating systems like Windows NT will dominate due to ease of use
and broad support.
• NT expected to take market share from Unix for server tasks.
• Web server dominance will shift to NT due to bundled server software.
D. Paradigms
• Object-oriented development will remain central.
• Components will become plug-and-play as standards improve.
• Future systems will enable seamless integration of components from
various tools.
ENABLING TECHNOLOGY
Definition:
Enabling technologies are hardware and software components
used to create client/server applications. They include:
• Transaction-processing (TP) monitors
• Databases
• Middleware
• Expert systems
• Imaging systems
• Point-of-Service (POS)
• Intranet and extranet systems
ENABLING TECHNOLOGY……
1. Transaction-Processing (TP) Monitors
• Crucial for large-scale, mission-critical distributed computing.
• Provide reliable application execution and load distribution.
• Gaining popularity over proprietary tools.
• Microsoft Transaction Server: Tailored for Windows and intranet,
supports ActiveX.
• TP monitors will become more common in the market.
2. Databases
• Continued innovation in performance and features.
• Dominated by Oracle, Sybase, and Informix.
• Relational model remains the standard.
• Universal servers to handle multiple data types (relational, object-
oriented, binary, etc.).
• Integration with distributed objects offers competitive advantages.
ENABLING TECHNOLOGY……
3. Middleware
• Middleware connects different applications, systems, and databases.
• Expected to evolve with easier deployment and consistent interfaces.
• Includes message-based and RPC-based middleware.
• Example: Microsoft Falcon—consumer-friendly messaging middleware.
• Middleware will become more modular (“snap-in”) and user-friendly.
4. Expert Systems
• A branch of AI that mimics human expert decision-making.
• Uses a knowledge base and inference engine to draw conclusions.
• Components:
• User interface
• Knowledge base (rules and expertise)
• Inference engine (applies logic)
• Benefits:
• Encapsulates expert knowledge for reuse across the organization.
• Reduces need for professional programmers—rules can be maintained by domain
experts.
Expert Systems
ENABLING TECHNOLOGY……
5. Imaging Systems
• Converts paper documents into digital images using scanners.
• Stored as bit-mapped images with indexed keywords.
• Indexes are stored in relational databases for easy retrieval.
• Accessed through image servers by client workstations.
• Digital document types include:
• Imaging (scanned documents)
• Structured documents
• Distributed hypertext
• Active/compound documents
Imaging Systems
ENABLING TECHNOLOGY……
6. Point-of-Service (POS)
• Widely used example of client/server systems (e.g., supermarkets,
hotels, restaurants).
• Integrates IT, MIS, and trade processes.
• Uses barcodes and scanners to log sales into a central server.
• Supports:
• Inventory control
• Pricing
• Reordering via EDI (Electronic Data Interchange)
• Demand forecasting
• Promotes efficient distribution and stock management.
• Reduces manual operations in warehouses and speeds up
distribution.
TRANSFORMATIONAL SYSTEM
Transformational Systems Overview
Client/Server technologies have significantly altered
business processes. The key transformational technologies
include:
• Electronic Mail
• Client/Server and User Security
• Object-Oriented Technology (CORBA)
• Electronic Data Interchange (EDI)
TRANSFORMATIONAL
SYSTEM……
1. Electronic Mail (E-Mail)
• Basic Concept: Allows users at workstations/terminals to
compose and exchange messages.
• Traditional E-mail Limitations:
• Often inflexible.
• Limited in attaching multimedia content.
• Modern Intranet Mail Features:
• Support for attachments (documents, images, sound, etc.).
• Mailing lists for group discussions and topic-specific
communication.
• Types of E-mail Systems:
• Single System Mail: Users on the same machine send/receive
messages via file-based mailboxes.
• Distributed Mail System: Multiple mail servers exchange
messages across WAN/Internet.
TRANSFORMATIONAL SYSTEM……
TRANSFORMATIONAL SYSTEM……
2. Client/Server and User Security
• Security Vulnerabilities:
• Distribution of services increases risk of breaches.
• Front-end clients (desktops) are typically least secure.
• Connections between client and server can be exploited if unsecured.
• Common Threats:
• Unauthorized access via weak or shared passwords.
• Physical access to machines (e.g., no disk locks).
• Users are often the weakest link.
• Security Measures:
• Use of password management (e.g., passphrases, password complexity, rotation
policies).
• Spyware detection and daily system updates.
• Securing gateways to block malware at network entry points.
• Application in Real Scenarios:
• Emergency Dispatch Systems:
• Real-time vehicle tracking using AVL (Automatic Vehicle Locator).
• Dynamic maps for incident and environment monitoring.
TRANSFORMATIONAL SYSTEM……
3. Object-Oriented Technology: CORBA
• Definition: CORBA (Common Object Request Broker
Architecture) enables distributed object communication
across diverse platforms.
• Architecture:
• Client requests services via an Object Request Broker (ORB).
• ORB locates the correct remote object, sends the request, and
returns the result.
• Objects communicate via RPC or object messaging.
• Components:
• ORB: Routes requests to appropriate services.
• CORBA Services: Basic services like naming, transactions, etc.
• CORBA Facilities and Domains: Application and industry-
specific services.
Object-Oriented Technology:
CORBA
Object-Oriented Technology:
CORBA
• Interface Definition Language (IDL):
• Standardized way to define object interfaces.
• Ensures platform/language independence.
• CORBA Model:
• A component can act both as a client and a server.
• Distributed computing model with object encapsulation, request
messaging, and service-oriented architecture.
• Conceptual Pillars:
• Object-Oriented Model: Everything is an object offering services via
operations.
• Open Distributed Computing: Uses ORB to simplify client-server
interaction.
• Component Integration & Reuse: Standardized interfaces (via IDL) enable
rapid integration and reusability of components.
Object-Oriented Technology:
CORBA
TRANSFORMATIONAL SYSTEM……
4. Electronic Data Interchange (EDI)
• Definition: EDI is the electronic transmission of
standardized documents between businesses without
human intervention.
• Examples of EDI Documents:
• Purchase orders, invoices, delivery notes, receiving reports, etc.
• How It Works:
• Documents are exchanged through EDI servers.
• Documents are structured with defined fields (e.g., sender,
recipient, amount).
• Users can download/upload data from their workstations.
• Advantages:
• Eliminates the need for paper documents.
• Reduces manual data entry and errors.
• Speeds up transaction processes, reducing cost and time.