64773894 client server design sharing system project

Upload: yogeshdhuri22

Post on 03-Apr-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    1/28

    CLIENT SERVER DESIGN

    SHARING SYSTEM

    Prepared By:

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    2/28

    INTRODUCTION

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    3/28

    Objective of Project

    The aim of this project Client Server Design SharingSystem is to provide a communication system withinan organization.

    This application will be capable of facilitatingmembers of the organization to communicate throughtext as well as graphical designs.

    Application has client and server based architecturewhich allows multiple user to interact with each otherindividually and in groups at the same time remotely.

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    4/28

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    5/28

    Need of the System

    As many of the chat applications are available in themarket today but still may wonder how it has beendeveloped. Thus, this is a simple chat applicationdeveloped in java using a web service.

    The application targets mainly the beginners of theorganization who sometimes fear of using the web

    service. The members will get a taste of how webservice can be easily developed and can be used in achatting application.

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    6/28

    DESCRIPTION

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    7/28

    The project I have worked on is the development of aClient Server Design Shar ing System.

    Today java client server application is the primary needof the working personnel specially and other people.

    We have tried to provide a user-friendly interface for

    providing a complete solution to the Client Server

    Design Sharing System.

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    8/28

    Characteristics of a client:

    Initiates requests.

    Waits for replies.

    Receives replies.

    Supports design sharing.

    Typically interacts directly with end-usersusing a graphical user interface.

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    9/28

    Never initiates requests or activities.

    Listens to network and responds only to

    requests from connected,authorized clients. Waits for and replies to requests from

    connected clients.

    Characteristics of a server:

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    10/28

    Basic Functionality of the system:

    Whenever any user logs into the application, anotification window will get popup in all the onlineuser machines from the right corner of the screen toshow the name of the new online user.

    Whenever the user minimizes the chat window, thenew messages will start coming to that user in a

    popup window from the right corner of the screen.

    If the user wishes not to get the messages in a popupwindow he can select a suitable checkbox.

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    11/28

    DESIGN

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    12/28

    Design Description

    Design of the project basically includes two applicationsnamely

    Client Application:Main goal while designing the client is to make it

    multi-threaded.

    One thread runs the user interface.

    A separate thread handles the I/O with the server.

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    13/28

    Server Application:Here also the goal is to make the server multi-threaded.

    It handles the user interface with one thread.

    A second thread listens on a well-known port for clientconnections.

    A third thread is started when a client connection is made tohandle that client's requests.

    After launching the thread to handle a client's connection, theserver continues listening for additional client connections. Ifanother connection comes in while an earlier client is being

    served, a fourth thread is started to handle the new client'srequests, etc. Thus, the server includes at least three threads

    but may start additional threads for multiple simultaneousconnections.

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    14/28

    USE CASE DIAGRAM OF LOGIN TO

    SYSTEM

    Authentication

    Process

    User1

    User2

    Server

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    15/28

    USE CASE DIAGRAM OF USER PROFILING

    INFORMATION SHARING

    Registration

    Process

    User Server

    User-Network

    Profiling Initialization

    User-Network

    Profiling Update

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    16/28

    USE CASE DIAGRAM FOR TEXT/DESIGN

    SHARING

    Send Message

    Parsing Process

    User1

    User2

    Server

    Forward Send Message

    Received Message Parser

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    17/28

    SEQUENCE DIAGRAM

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    18/28

    USER LOGIN

    Connection Request

    CLIENT SERVER

    Validate Client

    Accept Connection

    User Credentials and profiling information

    Network and Peer profile information

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    19/28

    UPDATE CLIENT

    Subscribe User Update Events

    CLIENT SERVER

    Client Update Information

    Subscribe Network Update Events

    Network Update Information

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    20/28

    LOGOFF

    Connection Close Request

    CLIENT1 SERVER NETWORK

    Connection Closed

    Client Update Event

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    21/28

    SYSTEM DEVELOPMENT

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    22/28

    TOOL/PLATFORMA program used for software development or system

    maintenance. Virtually any program or utility that helps

    programmers or users develop applications or maintain

    their computers can be called a tool.

    Here in our application we are using Textpad (Java).

    SOFTWARE REQUIREMENTSJava (JDK 1.3)

    Some of the advantages of Java framework are: - Consistent programming model

    Multi-platform applications

    Multi-language integration

    Automatic resource management

    Ease of deployment

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    23/28

    SYSTEM IMPLEMENTATION

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    24/28

    HARDWARE PLATFORM

    The Client Server Design Sharing System will be available to the Userswho are the members of the organization. Therefore the system has twoaspects, namely the client and the server.

    The Client:The hardware requirements of the client are as follows:

    A Local Area Network Connection

    Color Monitor or any other Visual Display Unit

    Mouse and Keyboard for User Inputs

    The Server:The hardware requirements for the server are as follows:

    A minimum of 512 MB of Random Access Memory

    Connection to LAN

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    25/28

    SOFTWARE PLATFORM

    The Client:The software requirements of theclient are as follows:

    Operating System

    Web Browser

    The Server:The software requirements of theserver are as follows:

    The Java Framework

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    26/28

    Glossary

    An I P addressis a 32-bit number that uniquely

    identifies each computer physically attached to the

    Internet.

    A protocolis a set of rules and standards defining

    a certain type of Internet communication.

    A portis a 16-bit number that identifies each

    service offered by a network server.

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    27/28

    A socketis a software abstraction for an input or

    output medium of communication.

    A datagramis an independent, self-contained piece

    of information sent over a network whose arrival,arrival time, and content are notguaranteed.

  • 7/28/2019 64773894 Client Server Design Sharing System Project

    28/28

    Thank you