Javareport

Download as pdf or txt
Download as pdf or txt
You are on page 1of 27

An

INDUDTRIAL TRAINING REPORT ON


SMART EVENT PLANNER SYDTEM
Using
Java

Submitted in partial fulfillment of


The requirement for the degree of
Bachelor of technology
SESSION: 2018-2019

FROM PRECURSAR, LUCKNOW


(10th JUNE-25th JULY)

Submitted By: Seminar Coordinator:


Babita Chaturvedi Mrs. Shraddha k.Tripathi
Roll no.1550810024 Assistant Professor

DEPARTMENT OF COMPUTER SCIENCE AND ENGNEERING


BABU BANARSI DAS ENGINEERING COLLEGE LUCKNOW
ACKNOWLEDGEMENT

I take this opportunity to express my sincere thanks and deep gratitude to all those people
who extended their wholehearted co-operation and have helped me in completing this project
successfully.

I am highly indebted to Mrs. Swasti Agrawal for his guidance and constant supervision as well as
for providing necessary information regarding the project & also for their support in completing the
project.

I would like to express my gratitude towards my parents & members of Precursor Info Solutions
for their kind cooperation and encouragement which help me complete this training.

My thanks and appreciations also go to my colleague in developing the project and people
Who have willingly helped me out with their abilities?
COMPANY PROFILE

Precursor Info Solutions provides training for different platforms of Java, Android, .NET, PHP,
Python, Oracle, Linux and in the field of Hardware and Networking.

This organization is established by professionals having many years of Industry experience.


The founder of the organization is Swasti Agrawal who has 15 years of experience.

 SPECIALITY:
 Training will be provided by industry expert.
 Fully practical sessions on each topic, so that students can understand the concept and
visualize it.
 Proper guidance and attention on every student.
 Small batch formation to understand student’s problem in a much better way.
 Competitions and awards to encourage students.
 Presentations and mock interviews to make students industry ready.
 Motivational Sessions by experts to keep them stress free and make them ready for facing the
challenges in the real competitive world.
 Friendly atmosphere for learning everything with joy.
DECLARATION

The project work titled: The Summer Training Report at Precursor Info solutions, Luck

now has been carried out and the report prepared by me during 10th June to 25th July 2018

under the supervision of guides at Precursor Info solutions.

This is the original work carried out by me and has neither been taken from any other source

nor been submitted to any institute or organization as a fulfillment of any other curriculum, In

keeping with the ethical practice in reporting scientific information, due acknowledgment

have been made , the findings of the others have been cited.

Babita Chaturvedi
1550810024
B.Tech CSE
4th Year
SMART EVENT PLANNER SYSTEM

 ABOUT THE PROJECT:

 The project is based in the event management which is control by admin and clerk provide
admin to monitoring and controlling the events .
 It also provide information about the event with the charges apply.
 It also provides information about the status of the events.

 DETAILS PROVIDED IN THE PROJECT:

 Modules: Admin & Clerk


 Account Management: Admin can create, update and delete the account of Clerk by entering
the appropriate details and admin can admin will able see all the event client wise and date
wise.
 Event Management: Admin will add, update and delete the different kind of the events
conducted by the company.
 Clients Management: clerk will add the details of client with unique client id and clerk will
add the details of the client with unique client id.

 Event Feedback management: the feedback of the events can be given by clients. Feedback
can enter by the clerk.
 Language which is used to design the project: JAVA
 Software which is used execute python: Eclipse

 S/W Used :
 Eclipse
 CMD prompt
 My SQL

 H/W used:
 Intel(R) Core i3 4005 CPU
 RAM: 4GB
 System Type: 64 Bit
 HDD: 1TB
SOFTWARE USED:

 Eclipse:
Eclipse is an integrated development environment (IDE) used in computer programming, and is
the most widely used Java IDE. It contains a base workspace and an extensible plug-in system for
customizing the environment. Eclipse is written mostly in Java and its primary use is for
developing Java applications, but it may also be used to develop applications in other
programming languages via plug-ins, including Ada, ABAP, C, C++, C#, COBOL, D, Fortran, Haskell,
JavaScript, Julia, Lasso, Lau, NATURAL, Perl, PHP, Prolog, Python, R, Ruby (including Ruby on Rails
framework), Rust, Scala, Clojure, Groovy, Scheme, and Erlang. It can also be used to develop
documents with LaTeX (via a TeXlipse plug-in) and packages for the software Mathematica.
Development environments include the Eclipse Java development tools (JDT) for Java and Scala,
Eclipse CDT for C/C++ and Eclipse PDT for PHP, among others.

FEATURES:

 Coding assistance and analysis, with code completion, syntax and error highlighting and
quick fixes.
 Project and code navigation: specialized project views, file structure views and quick
jumping between files, classes, methods and usages.
 .Fast & Smart code Editing
 Easy Efficient project management
MYSQL:

MySQL is an open source relational database management system (RDBMS). Its name is a
combination of "My", the name of co-founder Michael widenius daughter and "SQL", the abbreviation
for Structured query Language. The MySQL development project has made its source code available
under the terms of the GNU General Public License, as well as under a variety
of proprietary agreements. MySQL was owned and sponsored by a single for-profit firm, the Swedish
company MySQL AB now owned by Oracle Corporation for proprietary use, several paid editions are
available, and offer additional functionality.

MySQL is offered fewer than two different editions: the open source MySQL Community Server
and the proprietary Enterprise Server MySQL Enterprise Server is differentiated by a series of
proprietary extensions which install as server plugins, but otherwise shares the version
numbering system and is built from the same code base.
Major features as available in MySQL 5.6:

 A broad subset of ANSI SQL 99 as well as extensions;


 Cross-platform support
 Stored procedures using a procedural language that closely adheres to SQL/PSM
 Triggers
 Cursors
 Updatable views
 Online Data Definition Language (DDL) when using the InnoDB Storage Engine.
 Information schema
 Performance Schema that collects and aggregates statistics about server execution and
query performance for monitoring purposes.
 A set of SQL Mode options to control runtime behavior, including a strict mode to better
adhere to SQL standards.
 SSL support
 Query caching
 Sub-SELECTs (i.e. nested SELECTs).
 Full-text indexing and searching.
 Embedded database library
 Unicode support.
PROJECT LANGUAGE DESCRIPTION:
JAVA

INTRODUCTION:
Java is a general-purpose computer-programming language that is concurrent, class-based, object-
oriented, and specifically designed to have as few implementation dependencies as possible. It is
intended to let application developers "write once, run anywhere" (WORA), meaning that compiled
Java code can run on all platforms that support Java without the need for recompilation. Java
applications are typically compiled to byte code that can run on any Java virtual machine (JVM)
regardless of computer architecture.
As of 2016, Java is one of the most popular programming languages in use, particularly for client-
server web applications, with a reported 9 million developers. Java was originally developed by
James Gosling at Sun Microsystems (which has since been acquired by Oracle Corporation) and
released in 1995 as a core component of Sun Microsystems' Java platform. The language derives
much of its syntax from C and C++, but it has fewer low-level facilities than either of them.
The original and reference implementation Java compilers, virtual machines, and class libraries
were originally released by Sun under proprietary licenses. As of May 2007, in compliance with
the specifications of the Java Community Process, Sun relicensed most of its Java technologies
under the GNU General Public License. Others have also developed alternative
implementations of these Sun technologies, such as the GNU Compiler for Java (byte code
compiler), GNU Class path (standard libraries), and Iced Tea-Web (browser plugin for applets).

The latest version is Java 10, released on March 20, 2018,[23] which follows Java 9 after only six
months[24] in line with the new release schedule. Java 8 is still supported but there will be no
more security updates for Java 9.[25] Versions earlier than Java 8 are supported by companies
on a commercial basis; e.g. by Oracle back to Java 6 as of October 2017 (while they still "highly
recommend that you uninstall"[26] pre-Java 8 from at least Windows computers).
HISTORY

James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project in June 1991.
Java was originally designed for interactive television, but it was too advanced for the digital cable
television industry at the time. The language was initially called Oak after an oak tree that stood
outside Gosling's office. Later the project went by the name Green and was finally renamed Java,
from Java coffee. Gosling designed Java with a C/C++-style syntax that system and application
programmers would find familiar.
Sun Microsystems released the first public implementation as Java 1.0 in 1996. It promised
"Write Once, Run Anywhere" (WORA), providing no-cost run-times on popular platforms. Fairly
secure and featuring configurable security, it allowed network- and file-access restrictions.
Major web browsers soon incorporated the ability to run Java applets within web pages, and
Java quickly became popular. The Java 1.0 compiler was re-written in Java by Arthur van Hoff to
comply strictly with the Java 1.0 language specification. With the advent of Java 2 (released
initially as J2SE 1.2 in December 1998 – 1999), new versions had multiple configurations built
for different types of platforms. J2EE included technologies and APIs for enterprise applications
typically run in server environments, while J2ME featured APIs optimized for mobile
applications. The desktop version was renamed J2SE. In 2006, for marketing purposes, Sun
renamed new J2 versions as Java EE, Java ME, and Java SE, respectively.

In 1997, Sun Microsystems approached the ISO/IEC JTC 1 standards body and later the Ecma
International to formalize Java, but it soon withdrew from the process. Java remains a de facto
standard, controlled through the Java Community Process. At one time, Sun made most of its
Java implementations available without charge, despite their proprietary software status. Sun
generated revenue from Java through the selling of licenses for specialized products such as the
Java Enterprise System.
LIBRARY
1. Logging Libraries:
Logging libraries are very common, because you need them in every project. They are the most
important thing for server-side applications, because logs are only placed where you can see
what's going on your application. Even though JDK ships with its own logging library, there are
better alternatives available, e.g. Log4j, SLF4j, and Log Back.

2. Unit Testing Libraries:


Unit testing is the single most important thing that separates an average developer from a good
developer. Programmers often are given excuses for not writing unit tests, but the most common
excuse for avoiding unit testing is lack of experience and knowledge of popular unit testing
libraries, including JUnit, Mockito, and PowerMock.

There are a couple of good, general purpose, third-party libraries available to Java developers,
like Apache Commons and Google Guava. I always include these libraries in my projects,
because they simplify a lot of tasks.

3. JSON Parsing libraries:


In today's world of web services and the IoT, JSON has become the go-to protocol to carry
information from the client to the server. They have replaced the XML as the most preferred way
to transfer information in a platform-independent way.
IMPLEMENTATIONS

Oracle Corporation is the current owner of the official implementation of the Java SE platform,
following their acquisition of Sun Microsystems on January 27, 2010. This implementation is
based on the original implementation of Java by Sun. The Oracle implementation is available for
Microsoft Windows (still works for XP, while only later versions are currently officially
supported), macOS, Linux, and Solaris. Because Java lacks any formal standardization
recognized by Ecma International, ISO/IEC, ANSI, or other third-party standards organization,
the Oracle implementation is the de facto standard.

The Oracle implementation is packaged into two different distributions: The Java Runtime
Environment (JRE) which contains the parts of the Java SE platform required to run Java
programs and is intended for end users, and the Java Development Kit (JDK), which is intended
for software developers and includes development tools such as the Java compiler, Javadoc,
Jar, and a debugger.

The goal of Java is to make all implementations of Java compatible. Historically, Sun's
trademark license for usage of the Java brand insists that all implementations be "compatible".
This resulted in a legal dispute with Microsoft after Sun claimed that the Microsoft
implementation did not support RMI or JNI and had added platform-specific features of their
own. Sun sued in 1997, and, in 2001, won a settlement of US$20 million, as well as a court
order enforcing the terms of the license from Sun. As a result, Microsoft no longer ships Java
with Windows.

Platform-independent Java is essential to Java EE, and an even more rigorous validation is
required to certify an implementation. This environment enables portable server-side
applications.
EXECUTION SYSTEM

One design goal of Java is portability, which means that programs written for the Java platform
must run similarly on any combination of hardware and operating system with adequate runtime
support. This is achieved by compiling the Java language code to an intermediate representation
called Java byte code, instead of directly to architecture-specific machine code. Java bytecode
instructions are analogous to machine code, but they are intended to be executed by a virtual
machine (VM) written specifically for the host hardware. End users commonly use a Java
Runtime Environment (JRE) installed on their own machine for standalone Java applications, or
in a web browser for Java applets.

The use of universal bytecode makes porting simple. However, the overhead of interpreting
bytecode into machine instructions made interpreted programs almost always run more slowly
than native executable. Just-in-time (JIT) compilers that compile bytecodes to machine code
during runtime were introduced from an early stage. Java itself is platform-independent and is
adapted to the particular platform it is to run on by a Java virtual machine for it, which translates
the Java bytecode into the platform's machine language.

Automatic memory management


Java uses an automatic garbage collector to manage memory in the object lifecycle. The
programmer determines when objects are created, and the Java runtime is responsible for
recovering the memory once objects are no longer in use. Once no references to an object
remain, the unreachable memory becomes eligible to be freed automatically by the garbage
collector. Something similar to a memory leak may still occur if a programmer's code holds a
reference to an object that is no longer needed, typically when objects that are no longer needed
are stored in containers that are still in use. If methods for a nonexistent object are called, a "null
pointer exception" is thrown.
USES

1) Android Apps

If you want to see where Java is used, you are not too far away. Open your Android phone and
any app, they are actually written in Java programming language, with Google's Android API,
which is similar to JDK. Couple of years back Android has provided much needed boost and
today many Java programmers are Android App developer. By the way android uses different
JVM and different packaging, as we have seen in our previous article about how Android app
works, but code is still written in Java.

2) Server Apps at Financial Services Industry

Java is very big in Financial Services. Lots of global Investment banks like Goldman Sachs,
Citigroup, Barclays, Standard Charted and other banks use Java for writing front and back office
electronic trading system, writing settlement and confirmation systems, data processing projects
and several others. Java is mostly used to write server side application, mostly without any front
end, which receives data form one server (upstream), process it and sends it other process
(downstream). Java Swing was also popular for creating thick client GUIs for traders, but now
C# is quickly gaining market share on that space and Swing is out of its breath.

3) J2ME Apps

Though advent of iOS and Android almost killed J2ME market, but still there is large market of
low end Nokia and Samsung handset which uses J2ME. There was time when almost all games,
application, which is available in Android are written using MIDP and CLDC, part of J2ME
platform. J2ME is still popular on products like Blu-ray, Cards, Set top boxes etc. One of the
reasons of WhatsApp being so popular is because it is also available in J2ME for all those Nokia
handset which is still quite big.
 TABLE USED IN THE PROJECT :

TABLE 1: LOGIN TABLE

 In these login table created with use of MySQL table editor tells us about the login
credentials of the project.

 In these we have used varchar data type for all columns names created in the table.

 We have created userid, userpass, and userrole for login database table.

 We have also create a column of role which tells about who is login either Admin or
manager.

 The primary key in the table is userid which unique and not null.
TABLE 2: EVENT

1.this table created for events details. The admin can add the events update the
events and delete the events .

2.In this same varachar datatype and integer is used.

3.The name Eventid is primary key in the table.


TABLE 3: CLIENT DETAILS

1.This table is created for client details. We have add the client id ,name, address,
phonenumber,with email column in table.

2.in this same varchar is used .

3.the table tells the information about the name of the client with along with email
,phonenumber and addresss.

4.the Clientid column here is the primary key.


TABLE 4: EVENTBOOKING:

1. This table created for Event booking. We have added bookid, date, event, clientid,
venue, status, total charge.

2. In this varchar, integer and date data type used.

3. The clientid is foreign key in this table which is not null.

4. This table tells about the register client can book only for event. The clientid is
foreign key in the table have relation with Client table.

5. The bookid is auto increment and it also primary key


TABLE 5: FEEDBACK:

1.The table is created for feedback of events .we have added


id,clientid,eventid,feeback,date.

2.the varchar, integer and date datatype is used.

3.the id column is primary key which is unique and not null.


SNAPSHOTS :

Fig1:Welcome page

Fig 2 : Login form


UI OF THE ADMIN PANEL :

Fig 3: Home Screen

 It is the ui of the admin panel.


 In this admin can add, update and delete the clerk details.
 Admin can add, update and delete the events.
 Admin can also see the all the events client wise and date wise
UI OF THE CLERK PANEL:

Fig 4: Home Screen of GUI

 It is the ui of the clerk panel.

 In this clerk can add the details of clients schedule the events of
client and add feedback.
UI OF THE EVENT DETAILS :

Fig 5: Adding Events

Fig 6: Update Screen


UI OF THE EVENTBOOKING :

Fig 7: Event booking


UI OF THE CLIENTS DETAILS:

Fig 8: Adding clients details


UI OF THE FEEDBACK:

Fig 9: feedback form


CERTIFICATE

You might also like