0% found this document useful (0 votes)
4 views

Unit1 Chap1 Overview

Uploaded by

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

Unit1 Chap1 Overview

Uploaded by

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

Cloud Computing Basics

● Definition: Cloud computing is a model for delivering computing services over the internet,
allowing users to access and use computing resources on-demand.
● Characteristics:
○ On-demand self-service: Users can provision and manage resources without human
intervention.
○ Broad network access: Resources are accessible over the internet or private networks.
○ Resource pooling: Resources are pooled together to provide multi-tenancy and
scalability.
○ Rapid elasticity: Resources can be quickly scaled up or down to meet changing
demands.
○ Measured service: Users only pay for the resources they use.
● Service models:
○ Infrastructure as a Service (IaaS): Provides virtualized computing resources, such as
servers and storage.
○ Platform as a Service (PaaS): Provides a complete development and deployment
environment for applications.
○ Software as a Service (SaaS): Provides software applications over the internet.

Web Services

● Definition: Web services are software systems designed to support interoperable


machine-to-machine communication, allowing different systems to exchange data and
functionality.
● Distributed Computing:
○ Breaking down complex tasks into smaller, independent tasks that can be executed
simultaneously, improving processing speed and scalability.
● Parallel Computing:
○ Executing multiple tasks simultaneously to improve processing speed and reduce
processing time.
● WSDL (Web Service Description Language):
○ Structure:
■ Definitions: Define the service and its components.
■ Types: Define the data types used in the service.
■ Message: Define the format of the messages exchanged.
■ PortType: Define the operations provided by the service.
■ Binding: Define the protocol and data format used.
■ Service: Define the service and its endpoints.
● SOAP (Simple Object Access Protocol):
○ Structure of SOAP Message (in JAX-WS):
■ Envelope: The root element of the message.
■ Header: Contains metadata, authentication, and routing information.
■ Body: Contains the payload of the message.
○ Messaging Architecture:
■ Request/Response: Client sends a request, server responds with a response.
■ One-way: Client sends a request, no response is expected.
○ SOAP Header:
■ Used for metadata, authentication, and routing.
○ Client-side SOAP Handler:
■ Handles SOAP messages, provides additional functionality, such as authentication and
logging.

REST (Representational State of Resource)

● Definition: REST is an architectural style for designing networked applications, emphasizing


a stateless client-server architecture and HTTP protocol.
● HTTP methods:
○ GET: Retrieve a resource.
○ POST: Create a new resource.
○ PUT: Update an existing resource.
○ DELETE: Delete a resource.
● Java API for RESTful Web Services (JAX-RS):
○ Annotations for defining resources, methods, and parameters, such as @Path, @GET,
and @POST.

Additionally, here are some more points about REST:

● Resources:
○ Identified by URIs (Uniform Resource Identifiers).
○ Can be manipulated using HTTP methods.
● Client-Server Architecture:
○ Separation of concerns between client and server.
○ Client and server are independent and can be developed and deployed separately.
● Statelessness:
○ Server does not maintain session information.
○ Each request contains all the information necessary to complete the request.
● Cacheability:
○ Responses can be cached by the client.
○ Reduces the need for repeat requests and improves performance.
● Layered System:
○ Architecture is composed of layers, each with a specific function.
○ Allows for flexibility and scalability.

You might also like