Sei sulla pagina 1di 9

FIRST SYNOPSIS REPORT

ON
//Project Name

Submitted To:

Submitted By:

Department of Computer Science & Engineering


AMRITSAR COLLEGE OF ENGG. &
TECHNOLOGY

ORGANIZATION PROFILE

Features of Java Language


Here we list the basic features that make Java a powerful and popular programming language:

Platform Independent
The Write-Once-Run-Anywhere ideal has not been achieved (tuning for different
platforms usually required), but closer than with other languages.

Object Oriented
Object oriented throughout - no coding outside of class definitions, including main().
An extensive class library available in the core language packages.

Compiler/Interpreter Combo

Code is compiled to byte codes that are interpreted by a Java virtual machines (JVM).
This provides portability to any machine for which a virtual machine has been written.
The two steps of compilation and interpretation allow for extensive code checking and
improved security.

Robust
Exception handling built-in, strong type checking (that is, all data must be declared an
explicit type), local variables must be initialized.

Several dangerous features of C & C++ eliminated:


No memory pointers
No preprocessor
Array index limit checking

Automatic Memory Management


Automatic garbage collection - memory management handled by JVM.

Security
No memory pointers
Programs run inside the virtual machine sandbox.
Array index limit checking
Code pathologies reduced by
Byte code verifier - checks classes after loading
Class loader - confines objects to unique namespaces. Prevents loading a hacked
"java.lang.SecurityManager" class, for example.
Security manager - determines what resources a class can access such as reading and
writing to the local disk.

Dynamic Binding
The linking of data and methods to where they are located, is done at run-time.
New classes can be loaded while a program is running. Linking is done on the fly.
Even if libraries are recompiled, there is no need to recompile code that uses classes in
those libraries.
This differs from C++, which uses static binding. This can result in fragile classes for
cases where linked code is changed and memory pointers then point to the wrong addresses.

Good Performance
Interpretation of byte codes slowed performance in early versions, but advanced virtual
machines with adaptive and just-in-time compilation and other techniques now typically provide
performance up to 50% to 100% the speed of C++ programs.

Threading
Lightweight processes, called threads, can easily be spun off to perform multiprocessing.
Can take advantage of multiprocessors where available.
Great for multimedia displays.

Built-in Networking
Java was designed with networking in mind and comes with many classes to develop
sophisticated Internet communications.
Features such as eliminating memory pointers and by checking array limits greatly help to
remove program bugs. The garbage collector relieves programmers of the big job of memory
management. These and the other features can lead to a big speedup in program development
compared to other programming languages.

NETWORKING IN JAVA
The term network programming refers to writing programs that execute across multiple devices
(computers), in which the devices are all connected to each other using a network.
The java.net package of the J2SE APIs contains a collection of classes and interfaces that provide
the low-level communication details, allowing you to write programs that focus on solving the
problem at hand.
The java.net package provides support for the two common network protocols:

TCP: TCP stands for Transmission Control Protocol, which allows for reliable
communication between two applications. TCP is typically used over the Internet Protocol,
which is referred to as TCP/IP.

UDP: UDP stands for User Datagram Protocol, a connection-less protocol that allows
for packets of data to be transmitted between applications.

Java networking includes:


SOCKET:
A socket is one end-point of a two-way communication link between two programs running on
the network. Socket classes are used to represent the connection between a client program and a
server program. The java.net package provides two classes--Socket and ServerSocket--that
implement the client side of the connection and the server side of the connection, respectively.

Socket Programming:
Sockets provide the communication mechanism between two computers using TCP. A client
program creates a socket on its end of the communication and attempts to connect that socket to
a server.
When the connection is made, the server creates a socket object on its end of the communication.
The client and server can now communicate by writing to and reading from the socket.
The java.net.Socket class represents a socket, and the java.net.ServerSocket class provides a
mechanism for the server program to listen for clients and establish connections with them.
The following steps occur when establishing a TCP connection between two computers using
sockets:


The server instantiates a ServerSocket object, denoting which port number
communication is to occur on.

The server invokes the accept() method of the ServerSocket class. This method waits
until a client connects to the server on the given port.

After the server is waiting, a client instantiates a Socket object, specifying the server
name and port number to connect to.

The constructor of the Socket class attempts to connect the client to the specified server
and port number. If communication is established, the client now has a Socket object capable of
communicating with the server.

On the server side, the accept() method returns a reference to a new socket on the server
that is connected to the client's socket.
There are following useful classes providing ServerSocket Class Methods.

ServerSocket Class Methods

Socket Class Methods

InetAddress Class Methods

PROJECT DESCRIPTION
Project Name
============

Objective
= = == = = == = == = = = ==

Technology to be used
Java 2 Standard Edition

J2SE API to be used

java.net package: For networking purposes

swings package : For GUI development

java.io package: For Input Output

java.util package: For Collection Framework

java.awt package: For GUI purposes

javax.servlet package: For Servlets

Project Details
= == = = = = = == = == = = = == = = =

Features of the Project


= = = = = = = = = = = ==

FEASIBILITY STUDY
A feasibility study is a preliminary study which investigates the information needs of perspective
users and determines the resource requirements, determining the cost effectiveness of various
alternatives in the designs of the information system, benefits and feasibility of proposed project.
The goal of the feasibility study is to evaluate alternative systems to propose the most feasible
and desirable systems for development.
The feasibility of our proposed system can be evaluated as:

TECHNICAL FEASIBILITY:-Technical feasibility can be demonstrated if

reliable hardware and software capable of meeting needs of proposed system can be
developed or acquired by the business in required time. Our project is technically feasible
because the required hardware and software needed for our project are made available to
us by our lab technician.

SCHEDULE FEASILBILTY: - The scheduled feasibility of the system

evaluates whether the system finishes its task within the provided time of the
development or not. Our project is feasible according to schedule because our project is
being completed within the specified time period of our semester.

OPERATIONAL FEASIBILITY: - The operational feasibility is responsible for

the operations of management, faculty members, and students involved in a project. Our
project is operationally feasible because the modules we have considered such as Manual
Downloading, Auto Downloading and Manual Uploading provides a combined platform
by using which the related tasks can be handled in a easy manner. Though it doesnt
include the process of auto uploading but it is operational to full extent.

HARDWARE AND SOFTWARE SPECIFICATION:HARDWARE REQUIREMENTS:


Hardware requirements include that hardware which are required for its working. It includes:

SOFTWARE REQUIREMENTS:

Net beans 6.8

Potrebbero piacerti anche