New Microsoft PohhwerPoint Presentation

download New Microsoft PohhwerPoint Presentation

of 25

Transcript of New Microsoft PohhwerPoint Presentation

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    1/25

    NET CONFERENCING

    Submitted By :

    YASH SINGHAL

    Roll No.: 09214802711

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    2/25

    INTRODUCTION :-

    A PC based Net Conferencing System is to be developed in this project. Firstly, a Server ha be achieved and then a port number is provided to the server that will act like a un

    connection between server and the different clients. Using this, information can be transfe

    between different clients through the server end.

    As the project is based on the technique of Socket Programming. So, there are two diffe

    programs in this project i.e. The Server and The Clients. With the help of the common platf

    (Server) different clients can communicate with each other. We can chat with as much client

    we want.

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    3/25

    The main concept of Net Conference is developing the conference on the net. We can comp

    the Net conference with the Telephone Conference. Normally in Telephone Conference, th

    will be more than two users connected at a time and all the users are able to here words fr

    any one of the user. So implementing the same concept on the Net is nothing but

    Conference.

    Net Conferencing lets us bring our meeting to the Internet so we can present to hundrsimultaneously or collaborate with others on meeting materials right from our computer wh

    discussing them via audio conference.

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    4/25

    PROGRAMMING LANGUAGE :-

    A programming language must have a compiler inside it whichconverts the human readable instructions into machine binary

    code.

    JAVA implements platform independent by implementing

    platform specific JVM (Java Virtual Machine). These JVMs

    contains specific instructions to execute the binary file on the

    particular platform.

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    5/25

    Java Virtual Machine :-

    The heart of the Java platform is the concept of a "virtual machine" that executes Jav

    code programs. This byte code is the same no matter what hardware or operating syste

    program is running under. There is a JIT(Just In Time) compiler within the Java Virtu

    or JVM. The JIT compiler translates the Java byte code into native processor instructions a

    time and caches the native code in memory during execution.

    Java virtual machine provides environment for a program to execute. Basically it provides mem

    tackles memory management issues, invoke garbage collection etc.

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    6/25

    Java Runtime Environment :-

    JRE (Java Runtime Environment) provides full runtime environment to execute the Java

    program, apart from providing JVM it also provides class libraries like I/P, O/P classes, utilit

    classes, stream classes etc.

    JVM + Classes Libraries

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    7/25

    Java Development Kit:-

    JDK (Java Development Kit) provides full development environment in order to make JAVA

    application . Apart from providing JRE, JDK also provides development libraries and tools li

    Compiler, Debugger, Memory analyser etc.

    JVM + Classes Libraries Development Libraries+

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    8/25

    Socket Programming :-

    Server : Server is a program that waits for another program, only completes after fulfilli

    request.

    Client : Client is a program that fulfill its requirements by connecting to a server program.

    Ports : Ports are the logical addresses to differentiate among various server programs runnin

    the same system / JAM.

    Algorithm for creating Server Program :

    Create the object of Server Socket by providing a port no.

    ServerSocket ss = new ServerSocket (port_no) ;

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    9/25

    Call the accept method of the Server Socket.

    ss.accept() ;

    Fetch the I/O State.

    Read and Write on the Screen.

    Close the Streams.

    Algorithm for creating Client Program :

    First create an object of socket by providing IP Address and port no.

    Socket s = new Socket (ip_address , port_no) ;

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    10/25

    Fetch the I/O Streams.

    Read and Write on the I/O Streams.

    Close the Streams.

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    11/25

    Kernel

    Shell

    Multithreading :-

    User

    Hardware

    Process Level

    Thread Level

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    12/25

    Multithreading enables an application to divide its program into multiple processes. T processes are indivisible and can be executed by a CPU without being divided into subprocesses. These indivisible miniature processes are called Threads that can work concurren

    Advantages :

    If a thread gets a lot of cache misses, the other thread(s) can continue, taking advantage ounused computing resources, which thus can lead to faster overall execution, as these resouwould have been idle if only a single thread was executed.

    If a thread cannot use all the computing resources of the CPU (because instructions depeneach other's result), running another thread can avoid leaving these idle.

    If several threads work on the same set of data, they can actually share their cache, leadin better cache usage or synchronization on its values.

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    13/25

    Disadvantages :

    Multiple threads can interfere with each other when sharing hardware resources such as caor translation look aside buffers (TLBs).

    Execution times of a single thread are not improved but can be degraded, even when onlythread is executing. This is due to slower frequencies and/or additional pipeline stages thanecessary to accommodate thread-switching hardware.

    Hardware support for multithreading is more visible to software, thus requiring more chto both application programs and operating systems than multiprocessing.

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    14/25

    SWINGS GUI :-

    Swing is the primary Java GUI widget toolkit. It is part of Oracles Java Foundation Cla

    an API for providing a graphical user interface (GUI) for Java programs.

    Swing was developed to provide a more sophisticated set of GUI components tha

    earlier Abstract Window Toolkit (AWT). Swing provides a native look and feel that emulate

    look and feel of several platforms, and also supports a pluggable look and feel that al

    applications to have a look and feel unrelated to the underlying platform. It has more powerfulflexible components than AWT. In addition to familiar components such as buttons, check bo

    and labels, Swing provides several advanced components such as tabbed panel, scroll panes, t

    tables, and lists.

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    15/25

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    16/25

    EVALUATION :-

    For getting the desired result we have to follow the following steps :

    Run the Server Program.

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    17/25

    Write a valid port number i.e. positive no.

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    18/25

    Start the Server.

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    19/25

    Run the Client Program.

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    20/25

    Enter valid chat name and the same port number that was given to the Server program.

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    21/25

    You can start your chat after clicking login button.

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    22/25

    After login the information and the messages of the client will be displayed in the serverwindow.

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    23/25

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    24/25

    Advantages of Net Conferencing :-

    Time plays an important role in todays world. Any information is useful if it is availabl

    right time. Quick and correct information at the right time needs computerization. Many scien& engineers have to spend their valuable time to attend a conference, which is going on a

    distance place. So this project will help them to participate in the conferences. This project ca

    used to:

    Conduct conferences with their employees. So they can get online decisions from emplo

    from the different branches of the company.

    The another advantage is that the company is having branches throughout the country. So

    will help them to communicate business affairs of the company and live meeting

    conferences between their directors. They can conduct board of directors meeting.

  • 8/11/2019 New Microsoft PohhwerPoint Presentation

    25/25