Back-End application for Distributed systems

Preview:

Citation preview

Back-End Application for Distributed System

TEAM MEMBERS:

1.HIMANSHU PANWAR

2.KARTHIKEYAN S

3.BONALA SANDEEP

4.ATIF IMAM

5.PRIYAM SURAI

Introduction:

Recent trends in IT modernization, presents a growing need for

distributed Computing.

The main aim of this project is to reduce the workload of an

individual data server.

This is done by using a PROXY SERVER. The main object of which is to handle the User request and to produce User response.

The proxy server sends and receives the Data by means of http

request and http response from the data servers which are in different locations.

Introduction:

Normally all department data will be stored in a single server. Due to

this, single server will maintain all department request so the server workload is increased .

Secondly, a single failure would mean that the whole system is

down.

So, to avoid this problem we are creating a web-enabled software,

which acts as proxy server for the clients who, have to access the

data from the database.

Proxy Server

M6 M5 M3 M2 M1

Internet Proxy server:

Our Proposed System:

The System reduces the server workload of the data server by using

sub servers.

Each Department Data should be in the same department server, this helps in avoiding wastage of network capacity.

All the servers are interconnected via the proxy server to be able to

provide data to the clients system.

Database Proxy server:

Language : Java 1.7

Front End Tool : HTML, Java

Operating System : Linux

Web Server : Tomcat 7.0

Software Requirements:

DISTRIBUTED COMPUTING:

In the modern Internet World, Distributed Computing is one of the

key technology that play an important role.

Distributed system requires that servers are running in different

address spaces, potentially on different hosts, to be able to communicate with each other.

Large amounts of data (several Terabytes) can be read and

processed in parallel, in a matter of seconds in this type of

computing.

Remote Method Invocation(RMI):

RMI provides the mechanism by which the server and the client

communicate and pass information back and forth.

Server creates a number of remote objects, and makes references

to those remote objects. The client gets a remote reference to one

or more remote objects in the server and then invokes them.

In such systems, a local surrogate (stub) object manages the

invocation on a remote object.

JAVA VIRTUAL MACHINE JAVA VIRTUAL MACHINE

Application Layer Application Layer

SERVER

SKELETON

Transport Layer

Remote Reference Layer

Proxy Layer

CLIENT

STUB

Proxy Layer

Figure 2.1 Architecture of RMI

TCP Transport Layer

Remote Reference Layer

Architecture of RMI:

Servlets Overview:

Servlets extend the request-response-oriented servers, such as Java-

enabled Web servers.

For example, a servlet can retrieve data from an HTML form and

apply the business logic and use it to update Product database.

Applet is used in browsers. Similarly, Servlets is used for server. The

servlet API assumes nothing about the server’s environment or

protocol. So Servlet can be embedded in many different servers.

Client System

HTTP

Server

Servlet

Product

Database

Servlets Overview:

Demo:

Thank You.

Recommended