Sei sulla pagina 1di 28

Summer Training Report

University Institute of Engineering and Technology


Kurukshetra University

SESSION (2017-2021)

Submitted to: Submitted by:


Mr. Deepak Sood Mukul Yadav
Department UIET, 251701022
KUK ECE-5TH SEM.
CONTENTS
S.No. Topics

1. Preface

2. Introduction

3. Company Profile

4. Service

5. Sections
 Mobile Section
 Transmission Section
 Microwave
 Power Station
6. Synopsis

7. Conclusion
ACKNOWLEDGEMENT

With due respect, I express our deep sense of gratitude to our respected and learned guides Mr. Puneet
Bansal(HOD, Electronics and Communication, UIET KUK ) for their co-operation and guidance. I
acknowledge their invaluable help and suggestions in implementing the project. I am thankful to them for
sparing their valuable time and encouraging me at every stage.
I am particularly in debited to my parents for inspiring me to this work..

Miss Simran, Teacher at ARC, Ambalawho had to bear a heavy load of responsibility and concern in
bringing this project to a successful end, indeed in selfless spirit.

I am also grateful to faculty of the Electronics and Communication Department, UIET KUK for their
ready support.
DECLARATION

I, Vishvas Bharti, student of Bachelor of Technology (Electronics&Communication Engineering), in


the Department o of Electronics&Communication Engineering, University institute of
Engineering and Technology, Kurukshetra University, Kurukshetra, under class Roll No.
251701149 for the session 2017-2021, hereby, declare that the report entitled
“Core JAVA Language” has been completed by me in 4th semester. I hereby declare, on behalf of
myself and my co-authors (if any), that:

The matter embodied in this Dissertation is an original work and has not been
submitted earlier for award of any degree or diploma to the best of my knowledge and
belief. Moreover, the Dissertation does not breach any existing copyright or any other
third party rights.

The Dissertation contains no such material that may be illegal and offensive.

I hereby agree to indemnify UIET and its Teaching Staff against any and all losses incurred in
connection with any claim or proceeding assert plagiarism and/or copyright infringement if the
investigation carried out to determines that my work is the plagiarizing or infringing work.

Signature Ishan Bharti


ECE-5TH SEM
251701013
CERTIFICATE
INTRODUCTION TO JAVA

Java programming language was originally developed by Sun Microsystems which was initiated by
James
Gosling and released in 1995 as core component of Sun Microsystems' Java platform (Java 1.0 [J2SE]).

The latest release of the Java Standard Edition is Java SE 8. With the advancement of Java and its
widespread popularity, multiple configurations were built to suite various types of platforms. Ex:
J2EE for Enterprise Applications, J2ME for Mobile Applications.

The new J2 versions were renamed as Java SE, Java EE and Java ME respectively. Java is guaranteed to be
Write Once, Run Anywhere.

Java is an object-oriented programming language with a built-in application programming interface (API) that
can handle graphics and user interfaces and that can be used to create applications or applets. Because of its rich
set of API's, similar to Macintosh and Windows, and its platform independence, Java can also be thought of as a
platform in itself. Java also has standard libraries for doing mathematics.

Much of the syntax of Java is the same as C and C++. One major difference is that Java does not have pointers.
However, the biggest difference is that you must write object oriented code in Java. Procedural pieces of code
can only be embedded in objects. In the following we assume that the reader has some familiarity with a
programming language. In particular, some familiarity with the syntax of C/C++ is useful.

In Java we distinguish between applications, which are programs that perform the same functions as those
written in other programming languages, and applets, which are programs that can be embedded in a Web page
and accessed over the Internet. Our initial focus will be on writing applications. When a program is compiled, a
byte code is produced that can be read and executed by any platform that can run Java.
• Characteristics of java:
• Object Oriented: In Java, everything is an Object. Java can be easily extended since it is based
on the Object model.

• Platform independent: Unlike many other programming languages including C and C++,
when Java is compiled, it is not compiled into platform specific machine, rather into
platform independent byte code. This byte code is distributed over the web and interpreted by
virtual Machine (JVM) on whichever platform it is being run.
• Simple: Java is designed to be easy to learn. If you understand the basic concept of OOP Java
would be easy to master.

• Secure: With Java's secure feature it enables to develop virus-free, tamper-free systems.
Authentication techniques are based on public-key encryption.

• Architectural-neutral: Java compiler generates an architecture-neutral object file format which


makes the compiled code to be executable on many processors, with the presence of Java
runtime system.

• Portable: Being architectural-neutral and having no implementation dependent aspects of the


specification makes Java portable. Compiler in Java is written in ANSI C with a clean
portability boundary which is a POSIX subset.

• Robust: Java makes an effort to eliminate error prone situations by emphasizing mainly on
compile time error checking and runtime checking.

• Multithreaded: With Java's multithreaded feature it is possible to write programs that can do
many tasks simultaneously. This design feature allows developers to construct smoothly running
interactive applications.
• Interpreted: Java byte code is translated on the fly to native machine instructions and is not
stored anywhere. The development process is more rapid and analytical since the linking is an
incremental and light weight process.

• High Performance: With the use of Just-In-Time compilers, Java enables high performance.

• Distributed: Java is designed for the distributed environment of the internet.

• Dynamic: Java is considered to be more dynamic than C or C++ since it is designed to adapt to
an evolving environment. Java programs can carry extensive amount of run- time information
that can be used to verify and resolve accesses to objects on run-time.
•SYSTEM REQUIREMENT ANALYSIS

Prior to the software development efforts in any type of system it is very essential to understand the
requirements of the systems and users. A complete specification of the software is the 1st step is the
analysis of system. Requirements analysis provides the designer with the representation of functions
and procedures that can be translated into data, architecture and procedural design.
The goal of requirement analysis is to find out how the current system is working and if there are any
areas where improvement is necessary and possible. This may result in using alternative ways to data
capturing and processing.

• INTERFACE REQUIREMENT

1. User Interface

The package must be user friendly and robust. It must prompt the user with proper message
boxes to help them perform various actions and how to precede further the system must
respond normally under any in out conditions and display proper message instead of turning up
faults and errors.
2.Hardware Specification

CPU ………………………………….Intel Pentium IV


SPEED………………………………. 1.5GHz RAM
…………………………………..256 MB
HARD…………………………………. DISK 40GB
INTRODUCTION TO JAVA RMI:-

Java RMI is a mechanism to allow the invocation of methods that reside on different
Java Virtual Machines (JVMs). The JVMs may be on different machines or they could
be on the same machine. In either case, the method runs in a different address space than
the calling process. Java RMI is an object-oriented remote procedure call mechanism. In
this article a server-client application is described, which is realised with an Java server
and Java client using Java RMI. The application is about a student record. The client can:
insert a data: The client can add a record of student into database and• server stores this
data into database. get a record: The client requests for a particular record. The server
returns• a available data related to that student to the client. delete a record: The client
sends a roll no to the server, which will delete• the corresponding record.

RMI (Remote Method Invocation)


The RMI (Remote Method Invocation) is an API that provides a mechanism to create
distributed application in java. The RMI allows an object to invoke methods on an object
running in another JVM.

The RMI provides remote communication between the applications using two objects stub
and skeleton.

Understanding stub and skeleton


RMI uses stub and skeleton object for communication with the remote object.

A remote object is an object whose method can be invoked from another JVM. Let's understand
the stub and skeleton objects:
stub
The stub is an object, acts as a gateway for the client side. All the outgoing requests are routed
through it. It resides at the client side and represents the remote object. When the caller invokes
method on the stub object, it does the following tasks:

1. It initiates a connection with remote Virtual Machine (JVM),


2. It writes and transmits (marshals) the parameters to the remote Virtual Machine (JVM),
3. It waits for the result
4. It reads (unmarshals) the return value or exception
5. It finally, returns the value to the caller.

skeleton
The skeleton is an object, acts as a gateway for the server side object. All the incoming
requests are routed through it. When the skeleton receives the incoming request, it does the
following tasks:

1. It reads the parameter for the remote method


2. It invokes the method on the actual remote object, and .

3. It writes and transmits (marshals) the result to the caller.


SCREENSHOTS

LOGIN SCREEN
ADMIN DETAILS/SWITCH ADMIN
LOGIN SCREEN
CLIENT 1 LOGGED IN
CLIENT2 LOGGEDIN
List of Tables

S.No. Table name Table description


1 Username Tells names of users who can access the software

2 Paasword verifies user authentication

3 name gets name of a user

4 gender ,age tells user age , genderetc.

5 Location Tells city, state ,

And country.
6 Phone number Tells phone number of a user
User record
Disc connect
user

Chat server Chat room User Mgt


Server
window

Disconnect all

Ban Add client allow

Invite
SYNOPSIS

Chatting is now-a-days very useful to express our ideas as well as receive others ideas on
any topic. Chats reflect the recent trends of the society. Sometimes, it is possible to meet
eminent people in chatting and have their advice.

ChatExpress is a graphical chatting application that makes chatting a pleasant experience.


It has excellent features that make any user do what ever he wants while chatting.

ChatExpress has two types of users: 1. Admin and 2. Client Admin can
do the following activities:
1. User Management: He makes some initial startup tasks while starting the chat
server.
He can create new users and allow or disconnect the users. Admin can also close the chat
session, so that all the users will be disconnected.
2. Administrative Client: Admin can also involve in chatting as a client from his
admin console using this option.
3. ShutDown: He can shut down the chat server.
4. Log Charts: He can create log charts which contain information of how chatting has
taken place.

Client can perform the following tasks:


1. Connect: He can connect him self to chat server by typing his username and
password.
2. Chat: He can participate in chatting by entering into a chat room.
3. View this User Info: He can also his own profile and options.
4. Display activity of user: When chatting is done, whether the other user is sending
text or images is also displayed on his console.
5. Room management: He can create his own chat rooms based on a subject and invite
others to enter that room. He can also save the chat data separately.
6. Instant messages: It is possible to send instant messages and popups to other users
who are in chatting.
7. Canvas management: ChatExpress is a graphical chatting application. It enables the
clients to draw shapes and apply colors and save them. Client can also show or hide the
canvas depending on his interest.
8. Copy & Paste: He can also perform operations like copying earlier text into chat
text. It is also possible to copy pictures and save them in a file.
9. Chat Room control: He can manage the connection settings and control the chat
room settings.
10. Play sound when paged.
11. Manual: In case any help needed, the client can go through the in-built manual
available.
CONCLUSION

Chat Express is an application developed according to client requirements. Lot of efforts


was put to make it perfectly and efficiently. The developed system is tested with real data
and the users are satisfied with the performance of the system and reports.

This project is developed using JAVA, JFC-Swing and AWT. By using this application we
can communicate with different people using different of channels across different
departments in our organization. It saves our employees and company time and resources.
By this lot of workload will be reduced to the each employee to communicate with other
employee and get things early. This application is very useful for Administrating efficient
user friendly communication system. It provides extendibility also. So you can add your
modules to the system whenever there is a change in business logic or new business units
are entered. This reduces the physical work, time as well as money saved. The time for
sending the problems and getting the solutions is considerably reduced. All the features are
implemented and developed as per the requirements.

Potrebbero piacerti anche