Escolar Documentos
Profissional Documentos
Cultura Documentos
)
At
[HINDUSTAN COPPER LIMITED]
SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENT FOR THE AWARD
OF THE DEGREE OF
BACHELOR OF TECHNOLOGY
(INFORMATION TECHNOLOGY)
JULY-AUGUST 2018
SUBMITTED BY:
NAME: ABHIJEET KUMAR
ROLL NO: 15030141IT002
The internship opportunity I had with HINDUSTAN COPPER LIMITED was a great chance for
learning and professional development. Therefore, I consider myself as a very lucky individual as
I was provided with an opportunity to be a part of it. I am also grateful for having a chance to
meet so many wonderful people and professionals who led me though this internship period.
Bearing in mind previous I am using this opportunity to express my deepest gratitude and special
thanks to the MD of [HCL] who in spite of being extraordinarily busy with his duties, took time
out to hear, guide and keep me on the correct path and allowing me to carry out my project at
their esteemed organization and extending during the training.
I express my deepest thanks to MR KULDEEP SINGH, Asst. Manager for taking part in useful
decision & giving necessary advices and guidance and arranged all facilities to make life easier. I
choose this moment to acknowledge his/her contribution gratefully.
I perceive as this opportunity as a big milestone in my career development. I will strive to use
gained skills and knowledge in the best possible way, and I will continue to work on their
improvement, in order to attain desired career objectives. Hope to continue cooperation with all of
you in the future,
Sincerely,
ABHIJEET KUMAR
Place:GHATSILA
Date: 28-08-18
CANDIDATE'S DECLARATION
I “ABHIJEET KUMAR” hereby declare that I have undertaken six weeks industrial at
being presented in the training report submitted to Department of Information and technology at
work.
1. INTRODUCTION 1
2.3 MODULES 9
6.3 SCREENSHOTS 47
7.1 TESTING 59
8.1 CONCLUSION 62
9.1 REFRENCE 63
List of Figures
SL NO FIG NO PAGE NO
1 FIGURE-2.1 5
2 FIGURE -2.2 6
3 FIGURE -2.3 7
4 FIGURE -2.4 8
5 FIGURE -6.1 47
6 FIGURE -6.2 48
7 FIGURE -6.3 49
8 FIGURE -6.4 50
9 FIGURE -6.5 51
10 FIGURE -6.6 52
11 FIGURE -6.7 53
12 FIGURE -6.8 54
13 FIGURE -6.9 55
14 FIGURE -6.10 56
15 FIGURE -6.11 57
CHAPTER-1
INTRODUCTION
EXISTING SYSTEM
Whenever the public face problems with the government departments and are unable to find
reasonable solution to their predicament, they have to come all the way to the Collectorate to
submit their petitions to the Collector during the weekly grievance day meeting being conducted
every Monday. And the official machinery will take its own time to act on the petitions and give a
reply after a couple of weeks or months. So they have to go the government office and meet the
higher officials and complaint the recording problem what they face daily. So after that they
would take the action. Though the grievance process does provide for a structured and often fair
1
procedure to dealing with conflicts within the workplace, there are also certain disadvantages
present. In some cases, employees and employers alike can see the inclusion of a third-party
arbitrator as a way in which they lose specific rights or control over the situation. Another more
obvious disadvantage is the use of time and money, which are both valuable resources to an
organization. Often, a grievance does take a substantial amount of time to be completed, and
therefore there is plenty of time used, while costs incurred during the investigation, and in
particular through the inclusion of a third-party arbitrator can quickly add up. Another common
disadvantage amongst employee and employer has to do with the notion of expectation. For
instance, one party may prefer a quick resolution, while another may prefer to take their time and
conduct a thorough investigation But the people cannot spend as much money for transport
facility because poor people cannot go so and far it’s the traditional system. And there would be
not proper way of answer also found there because everyone may not be in proper way so these
all are in the existing process.
Disadvantages
Time Consumption
Public face health issues.
Make a conflict between the public and high authority
2
CHAPTER-2
Input acceptance
Customers convey their grievance to the organization through feedback forms, letters, registered
communications, emails, etc. These inputs may be submitted by mail, over the Internet, or in
person.
Anonymity
Customers are often reluctant to report grievances that target individual executives of the
organization, especially those who may influence their future interactions or have the potential to
take vengeance. Under such conditions, the organization needs to assure the customer that her
identity will be hidden from executives, and preferably from everyone. This, however, opens the
potential problem of deceitful negative inputs purposefully targeted against specific executives, as
the people reporting are kept anonymous.
Customers tend to develop much greater confidence in the grievance and feedback mechanism if
they are given a formal acknowledgement. The acknowledgement could be by SMS and Email, as
used by ActPlease.com, or simply by publicly posting their message on the appropriate forum,
such as Trip Advisor. Ticketing Systems such as os Ticket and Fresh Desk, as well as SaaS
systems such as Act Please respond with acknowledgements with unique tracking numbers. These
may be used by customers to check status of action taken on their complaint.
3
Advantages
4
2.2 System Architecture
Sockets
FIG 2.1
5
Flow Diagram
Public
Login
CM Office
Admin
Public Grievance
Cell
FIG 2.2
6
Sequence Diagram
Public Grievance
User (public) CM Office Admin
Cell
Register ( )
Send the
complaints to Cell
()
Post their
Complaints ()
Update the Status ( )
FIG 2.3
7
Class Diagram
View Complaints ( )
Register ( ) View the request ()
Admin
FIG 2.4
8
2.3 MODULES
User (Public)
Register
Login
Upload their file
CM Office
Login
View the Complaint
Send the request to Public system
Public system
Login
View the request
Update the status
Admin track
Monitor
Module Description
User (Public)
Register
In this new user can register into the system to access the system and here it would access their
personal details and everything and then they would generate the Id to the user to access the
system.
Login
Here the user can login through what id given and by using their password and they may get into
the system and now the system fully read to use for them.
9
Upload their file
Here the user can upload their problem file and with the time and date and submit to the system.
CM Office
Login
The Cm office also have to login into the system by using their username and password
Here the CM Office login into the system and can see the who all are given the complaint and
everything.
Cm office here performs the main role and they send the requests to the public system cell for
taking action.
Login
They public system person also need to login into the system to access the system they also login
through their username and password.
They can view the request send from the cm office and they can cam to known what are the
problems faced by the people and they would came to known about all details.
Then if they take the steps about the problem they would update the status or otherwise they
would also update not action take something like that.
Admin Track
Here the admin is main part of the system they watch who all are coming into the system and who
all were accessing the system in which time and on what date everything would note by them.
10
CHAPTER-3
The Company markets copper cathodes, copper wire bar, continuous cast copper rod and by-
products, such as anode slime (containing gold, silver, etc.), copper sulphate and sulphuric acid.
In normal practice, more than 90% of the sales revenue is generated from cathode and continuous
cast copper rods. In concluded financial year 2016-17, as per provisional estimates, the Company
has earned a net profit of Rs 61.94 crore against a sales turnover of Rs 1216.94 crore. HCL’s
mines and plants are spread across five operating Units, one each in the States of Rajasthan,
Madhya Pradesh, Jharkhand, Maharashtra and Gujarat as named below:
Services
HCL also produces gold silver, nickel sulphate, selenium, tellurium and fertiliser as by products.
It is the first Indian Copper Producer to be accredited with ISO 9002 certification for Continuous
Cast Rod Manufacturer at its Taloja Plant and for manufacture of cathode at its refineries both at
Indian Copper Complex, Ghatsila, Jharkhand and Khetri Copper Complex, Khetri, Rajasthan
11
Hindustan Copper Limited is engaged in mining and smelting of copper, having its production
facilities and offices at various locations across the country. On 29 June 2012, CMD of the
company said that construction of a smelting refinery at Visakhapatnam with an annual capacity
of 600,000 tonne at a cost of ₹20 billion is under consideration.
Units
Capacity - 31,000 tpa copper cathode(the smelter and acid plant at KCC are under shutdown since
late 2008 due to the slump in global commodity prices witnessed in 2008 and old
machinery.Currently, only Concentrator for production of copper concentrate is working in
addition to associated mines.)
Reserve
By products Sulfuric acid, gold, silver, palladium, selenium, tellurium, nickel sulphate
Mines - Surda
Reserve
12
Surda 19.30 million tonnes @1.17% cu
Located in Madhya Pradesh 200 km (120 mi) from Jabalpur, 170 km (110 mi) from Raipur
Capacity open cast mine with a capacity of 2 million tonnes with matching concentrator
The open pit mine has reached ultimate pit depth and further it's not economically viable to
exploit the mineral with open pit mining, Hence the mine is being converted to underground
mines with enhanced capacity of 5 million tonnes with an investment to the tune of 2000 crores.
Capacity 60,000 tpa continuous cast copper rod (CCR) - hindcop rods.
13
CHAPTER -4
HARDWARE REQUIREMENTS:
SOFTWARE REQUIREMENTS:
O/S Windows 7
Language Java
IDE Net Beans 8.2
Data Base MySQL
14
CHAPTER-5
Introduction:
System design is the process or art of defining the architecture, components, modules, interfaces
and data for a system to satisfy specified requirements. One could see it as the application of
systems theory to product development. Design is the first phase in development phase for any
engineer’s product system. Design is the creative process. It deals with the creative ability of the
programmer. A good design is the key to effective system. The term “Design” is defined as “The
process of applying various techniques and principles for the purpose of defining a process or a
system in sufficient details to permit its physical realization”.
Input design
The user interface design is very important for any application. The interface design describes
how the software communicated within itself, to system that interpreted with it and with humans
who use it. The interface is a packing for computer software if the interface is easy to learn,
simple to use. If the interface design is very good, the user will fall into an interactive software
application.
The input design is the process of converting the user-oriented inputs into the computer-based
format. Errors entered by data entry operations can be controlled by input design. The data is fed
into the system using simple interactive forms. The forms have been supplied with messages so
that user can enter data without facing any difficulty.
The data is validated wherever it requires in the project. This ensures that only the correct data
have been incorporated into the system. The goal for designing input data is to make data entry as
easy, logical and free from errors.
The objectives of input design are:
To produce a cost effective method of input
To make the input forms understandable to the user
To ensure the validation of data input
To achieve the highest position level of accuracy
15
The various activities to be performed for the overall input processors are:
Data recording at its source.
Data transfer to input form.
Data conversation to computer acceptable mode.
Data validation.
Data flow control.
Data correction if necessary.
A major form of output is a hard copy obtained from the printer. These printouts are
designed to include the exact requirements of the user. The outputs required by the end-user are
defined during the logical design stages.
Two phases of the output design are:
Output definition.
Output specification
Computer outputs are the most important and direct source of information to the user. A
quality output is one which meets the requirements of the end user and which presents
information in a way which is clear, easy to read and visually attractive. The screens are designed
in such a way that the outputs are provided to the user in an understandable form.
The objectives of output design are:
Design output to serve the indented purpose.
Provide output on time.
Assume that output is where it is needed.
Design output to fit the user
16
5.3 FEASIBILITY STUDY
The feasibility study is carried out to test whether the proposed system is worth being
implemented. The proposed system will be selected if it is best enough in meeting the
performance requirements.
The feasibility carried out mainly in three sections namely.
• Economic Feasibility
• Technical Feasibility
• Behavioral Feasibility
Economic Feasibility
Economic analysis is the most frequently used method for evaluating effectiveness of the
proposed system. More commonly known as cost benefit analysis. This procedure determines the
benefits and saving that are expected from the system of the proposed system. The hardware in
system department if sufficient for system development.
Technical Feasibility
This study center around the system’s department hardware, software and to what extend it can
support the proposed system department is having the required hardware and software there is no
question of increasing the cost of implementing the proposed system. The criteria, the
proposed system is technically feasible and the proposed system can be developed with the
existing facility.
Behavioral Feasibility
People are inherently resistant to change and need sufficient amount of training, which would
result in lot of expenditure for the organization. The proposed system can generate reports with
day-to-day information immediately at the user’s request, instead of getting a report, which
doesn’t contain much detail.
17
5.4 System Implementation:
The active user must be aware of the benefits of using the system
Their confidence in the software built up
Proper guidance is impaired to the user so that he is comfortable in using the
application
Before going ahead and viewing the system, the user must know that for viewing the result, the
server program should be running in the server. If the server object is not running on the server,
the actual processes will not take place.
User Training:
To achieve the objectives and benefits expected from the proposed system it is essential for the
people who will be involved to be confident of their role in the new system.
As system becomes more complex, the need for education and training is more and more
important. Education is complementary to training. It brings life to formal training by explaining
the background to the resources for them. Education involves creating the right atmosphere and
motivating user staff. Education information can make training more interesting and more
understandable.
After providing the necessary basic training on the computer awareness, the users will have to be
trained on the new application software. This will give the underlying philosophy of the use of the
18
new system such as the screen flow, screen design, type of help on the screen, type of errors while
entering the data, the corresponding validation check at each entry and the ways to correct the
data entered. This training may be different across different user groups and across different
levels of hierarchy.
Operational Documentation:
Once the implementation plan is decided, it is essential that the user of the system is made
familiar and comfortable with the environment. A documentation providing the whole operations
of the system is being developed. Useful tips and guidance is given inside the application itself to
the user. The system is developed user friendly so that the user can work the system from the tips
given in the application itself.
System Maintenance:
The maintenance phase of the software cycle is the time in which software performs useful work.
After a system is successfully implemented, it should be maintained in a proper manner. System
maintenance is an important aspect in the software development life cycle. The need for system
maintenance is to make adaptable to the changes in the system environment. There may be social,
technical and other environmental changes, which affect a system which is being implemented.
Software product enhancements may involve providing new functional capabilities, improving
user displays and mode of interaction, upgrading the performance characteristics of the system.
So only thru proper system maintenance procedures, the system can be adapted to cope up with
these changes. Software maintenance is of course, far more than “finding mistakes”.
Corrective Maintenance:
The first maintenance activity occurs because it is unreasonable to assume that software testing
will uncover all latent errors in a large software system. During the use of any large program,
errors will occur and be reported to the developer. The process that includes the diagnosis
and correction of one or more errors is called Corrective Maintenance.
Adaptive Maintenance:
19
The second activity that contributes to a definition of maintenance occurs because of the rapid
change that is encountered in every aspect of computing. Therefore Adaptive maintenance termed
as an activity that modifies software to properly interfere with a changing environment is both
necessary and commonplace
Perceptive Maintenance:
The third activity that may be applied to a definition of maintenance occurs when a software
package is successful. As the software is used, recommendations for new capabilities,
modifications to existing functions, and general enhancement are received from users. To satisfy
requests in this category, Perceptive maintenance is performed. This activity accounts for the
majority of all efforts expended on software maintenance.
Preventive Maintenance:
The fourth maintenance activity occurs when software is changed to improve future
maintainability or reliability, or to provide a better basis for future enhancements. Often called
preventive maintenance, this activity is characterized by reverse engineering and re-engineering
techniques.
20
CHAPTER-6
Java
Java Platform:
One characteristic of Java is portability, which means that computer programs written in the Java
language must run similarly on any hardware/operating-system platform. This is achieved by
compiling the Java language code to an intermediate representation called Java byte code,
instead of directly to platform-specific machine code. Java byte code instructions are analogous
to machine code, but are intended to be interpreted 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. Standardized libraries provide
a generic way to access host-specific features such as graphics, threading, and networking.
A major benefit of using byte code is porting. However, the overhead of interpretation means
that interpreted programs almost always run more slowly than programs compiled to native
executables would. Just-in-Time compilers were introduced from an early stage that compiles
byte codes to machine code during runtime.
21
Just as application servers such as Glass Fish provide lifecycle services to web applications, the
Net Beans runtime container provides them to Swing applications. All new shortcuts should be
registered in "Key maps/Net Beans" folder. Shortcuts installed INS Shortcuts folder will be
added to all key maps, if there is no conflict. It means that if the same shortcut is mapped to
different actions in Shortcut folder and current key map folder (like Key map/Net Beans), the
Shortcuts folder mapping will be ignored.
The keyword public denotes that a method can be called from code in other classes, or that a
class may be used by classes outside the class hierarchy. The class hierarchy is related to the
name of the directory in which the .java file is located.
The keyword static in front of a method indicates a static method, which is associated only with
the class and not with any specific instance of that class. Only static methods can be invoked
without a reference to an object. Static methods cannot access any class members that are not
also static. The keyword void indicates that the main method does not return any value to the
caller. If a Java program is to exit with an error code, it must call System. Exit () explicitly.
The method name "main" is not a keyword in the Java language. It is simply the name of the
method the Java launcher calls to pass control to the program. Java classes that run in managed
environments such as applets and Enterprise JavaBeans do not use or need a main () method. A
Java program may contain multiple classes that have main methods, which means that the VM
needs to be explicitly told which class to launch from.
The Java launcher launches Java by loading a given class (specified on the command line
or as an attribute in a JAR) and starting its public static void main(String[]) method. Stand-alone
programs must declare this method explicitly. The String [] rags parameter is an array of String
objects containing any arguments passed to the class. The parameters to main are often passed by
means of a command line.
22
Java a High-level Language:
Java source code files (files with a .java extension) are compiled into a format called byte code
(files with a .class extension), which can then be executed by a Java interpreter. Compiled Java
code can run on most computers because Java interpreters and runtime environments, known as
Java Virtual Machines (VMs). Byte code can also be converted directly into machine language
instructions by a just-in-time compiler (JIT).
Java is a general purpose programming language with a number of features that make the
language well suited for use on the World Wide Web. Small Java applications are called Java
applets and can be downloaded from a Web server and run on your computer by a Java-
compatible Web browser, such as Netscape Navigator or Microsoft Internet Explorer.
Net Beans
The Net Beans Platform is a reusable framework for simplifying the development of Java
Swing desktop applications. The Net Beans IDE bundle for Java SE contains what is needed to
start developing Net Beans plug-in and Net Beans Platform based applications; no additional
SDK is required.
Applications can install modules dynamically. Any application can include the Update
Centre module to allow users of the application to download digitally-signed upgrades and new
features directly into the running application.
23
The platform offers reusable services common to desktop applications, allowing
developers to focus on the logic specific to their application. Among the features of the platform
are:
Wamp Server
24
WAMPs are packages of independently-created programs installed on computers that use
a Microsoft Windows operating system.
Apache is a web server. MySQL is an open-source database. PHP is a scripting language that can
manipulate information held in a database and generate web pages dynamically each time
content is requested by a browser. Other programs may also be included in a package, such
as phpMyAdmin which provides a graphical user interface for the MySQL database manager, or
the alternative scripting languages Python or Perl.
MySQL
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.
Many programming languages with language-specific APIs include libraries for accessing
MySQL databases. These include MySQL Connector/Net for integration with Microsoft's Visual
Studio (languages such as C# and VB are most commonly used) and the JDBC driver for Java. In
addition, an ODBC interface called Modoc allows additional programming languages that
support the ODBC interface to communicate with a MySQL database, such as ASP or
ColdFusion. The MySQL server and official libraries are mostly implemented in ANSI C/ANSI
C++.
25
6.2 SAMPLE CODING:
ADMIN CODE
/*
*/
package grievance;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.Statement;
import net.proteanit.sql.DbUtils;
/**
* @author EGC
*/
Connection conn;
26
Statement stmt;
PreparedStatement pst;
ResultSet rs;
/**
*/
public admintrack() {
initComponents();
try
stmt = conn.createStatement();
catch(Exception e)
e.printStackTrace();
27
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
*/
@SuppressWarnings("unchecked")
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
28
jButton1.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N
jButton1.setText("Complainer ");
jButton1.addActionListener(new java.awt.event.ActionListener() {
jButton1ActionPerformed(evt);
});
jButton2.setText("CM Office");
jButton2.addActionListener(new java.awt.event.ActionListener() {
jButton2ActionPerformed(evt);
});
jButton3.addActionListener(new java.awt.event.ActionListener() {
jButton3ActionPerformed(evt);
29
});
jTable1.setModel(new javax.swing.table.DefaultTableModel(
},
new String [] {
));
jScrollPane1.setViewportView(jTable1);
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addComponent(jButton1)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addComponent(jLabel1))
30
.addGroup(jPanel1Layout.createSequentialGroup()
.addComponent(jButton2)
.addComponent(jButton3)))
.addContainerGap(111, Short.MAX_VALUE))
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(0, 0, Short.MAX_VALUE))
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addComponent(jLabel1)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jButton1)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE
)
.addComponent(jButton3)
.addComponent(jButton2)))
31
.addGap(64, 64, 64)
.addContainerGap(73, Short.MAX_VALUE))
);
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
);
pack();
}// </editor-fold>
32
try
ResultSetMetaData metadata=rs.getMetaData();
jTable1.setModel(DbUtils.resultSetToTableModel(rs));
catch(Exception e)
e.printStackTrace();
try
ResultSetMetaData metadata=rs.getMetaData();
jTable1.setModel(DbUtils.resultSetToTableModel(rs));
catch(Exception e)
e.printStackTrace();
33
}
try
ResultSetMetaData metadata=rs.getMetaData();
jTable1.setModel(DbUtils.resultSetToTableModel(rs));
catch(Exception e)
e.printStackTrace();
/**
*/
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
34
*/
try {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
java.util.logging.Logger.getLogger(admintrack.class.getName()).log(java.util.logging.Level.SEV
ERE, null, ex);
java.util.logging.Logger.getLogger(admintrack.class.getName()).log(java.util.logging.Level.SEV
ERE, null, ex);
java.util.logging.Logger.getLogger(admintrack.class.getName()).log(java.util.logging.Level.SEV
ERE, null, ex);
java.util.logging.Logger.getLogger(admintrack.class.getName()).log(java.util.logging.Level.SEV
ERE, null, ex);
//</editor-fold>
35
/* Create and display the form */
java.awt.EventQueue.invokeLater(new Runnable() {
new admintrack().setVisible(true);
});
Upload file:
/*
36
*/
package grievance;
import java.io.File;
import java.io.FileReader;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Statement;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import javax.swing.JFileChooser;
import javax.swing.JOptionPane;
/**
* @author EGC
*/
Connection conn;
Statement stmt;
37
File ff;
FileReader k=null;
/**
*/
public fileupload() {
try
stmt = conn.createStatement();
catch(Exception e)
e.printStackTrace();
initComponents();
jLabel5.setText(register.name);
38
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
*/
@SuppressWarnings("unchecked")
39
jTextField3 = new javax.swing.JTextField();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jLabel2.setText("User Id");
jLabel3.setText("Name");
jButton1.setText("Upload File");
jButton1.addActionListener(new java.awt.event.ActionListener() {
jButton1ActionPerformed(evt);
});
jTextArea1.setColumns(20);
40
jTextArea1.setRows(5);
jScrollPane1.setViewportView(jTextArea1);
jButton2.setText("Submit");
jButton2.addActionListener(new java.awt.event.ActionListener() {
jButton2ActionPerformed(evt);
});
jLabel4.setText("Date");
jLabel4.addMouseListener(new java.awt.event.MouseAdapter() {
jLabel4MouseClicked(evt);
});
jLabel6.setText("Time");
jLabel6.addMouseListener(new java.awt.event.MouseAdapter() {
jLabel6MouseClicked(evt);
});
41
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
jPanel1Layout.createSequentialGroup()
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel1)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING,
false)
.addComponent(jScrollPane1, javax.swing.GroupLayout.Alignment.LEADING,
javax.swing.GroupLayout.PREFERRED_SIZE, 351,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGroup(javax.swing.GroupLayout.Alignment.LEADING,
jPanel1Layout.createSequentialGroup()
.addComponent(jButton1)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
42
.addGroup(javax.swing.GroupLayout.Alignment.LEADING,
jPanel1Layout.createSequentialGroup()
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel3)
.addComponent(jLabel4)
.addComponent(jLabel6))
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
jPanel1Layout.createSequentialGroup()
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING,
false)
.addComponent(jTextField3)
43
.addGap(29, 29, 29)
.addContainerGap(199, Short.MAX_VALUE))
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addComponent(jLabel1)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE
)
.addComponent(jLabel2)
.addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addComponent(jLabel3))
44
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE
)
.addComponent(jLabel4)
.addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 24,
Short.MAX_VALUE)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE
)
.addComponent(jLabel6)
.addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE
)
.addComponent(jButton1)
.addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jButton2))
);
45
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
pack();
}// </editor-fold>
46
6.3 SCREENSHOTS
FIG 6.1
47
FIG 6.2
48
FIG 6.3
49
FIG 6.4
50
FIG 6.5
51
FIG 6.6
52
FIG 6.7
53
FIG 6.8
54
FIG 6.9
55
FIG 6.10
56
FIG 6.11
57
FIG 6.12
58
CHAPTER-7
7.1 TESTING
System testing is the stage of implementation, which aimed at ensuring that system works accurately
and efficiently before the live operation commence. Testing is the process of executing a program
with the intent of finding an error. A good test case is one that has a high probability of finding an
error. A successful test is one that answers a yet undiscovered error.
Testing is vital to the success of the system. System testing makes a logical assumption that if all
parts of the system are correct, the goal will be successfully achieved. The candidate system is
subject to variety of tests-on-line response, Volume Street, recovery and security and usability
test. A series of tests are performed before the system is ready for the user acceptance
testing. Any engineered product can be tested in one of the following ways. Knowing the
specified function that a product has been designed to from, test can be conducted to demonstrate
each function is fully operational. Knowing the internal working of a product, tests can be
conducted to ensure that “al gears mesh”, that is the internal operation of the product performs
according to the specification and all internal components have been adequately exercised.
Unit Testing:
Unit testing is the testing of each module and the integration of the overall system is done. Unit
testing becomes verification efforts on the smallest unit of software design in the module. This is
also known as ‘module testing’.
The modules of the system are tested separately. This testing is carried out during the
programming itself. In this testing step, each model is found to be working satisfactorily as
regard to the expected output from the module. There are some validation checks for the
fields. For example, the validation check is done for verifying the data given by the user where
both format and validity of the data entered is included. It is very easy to find error and debug the
system.
59
Integration Testing:
Data can be lost across an interface, one module can have an adverse effect on the other sub
function, when combined, may not produce the desired major function. Integrated testing is
systematic testing that can be done with sample data. The need for the integrated test is to find
the overall system performance. There are two types of integration testing. They are:
Validation Testing:
After the culmination of black box testing, software is completed assembly as a package,
interfacing errors have been uncovered and corrected and final series of software validation tests
60
begin validation testing can be defined as many, but a single definition is that validation succeeds
when the software functions in a manner that can be reasonably expected by the customer.
User acceptance of the system is the key factor for the success of the system. The system under
consideration is tested for user acceptance by constantly keeping in touch with prospective system
at the time of developing changes whenever required.
Output Testing:
After performing the validation testing, the next step is output asking the user about the format
required testing of the proposed system, since no system could be useful if it does not produce the
required output in the specific format. The output displayed or generated by the system under
consideration. Here the output format is considered in two ways. One is screen and the other is
printed format. The output format on the screen is found to be correct as the format was designed
in the system phase according to the user needs. For the hard copy also output comes out as the
specified requirements by the user. Hence the output testing does not result in any connection in
the system.
61
8 CONCLUSION
In this application, it's explained concerning the operating procedure of the system, the roles
concerned within the system and therefore the activities and responsibilities those users. This
paper presents the summary of the analysis and development of the grievance management
system of Municipal Corporation. The Grievance cell system has been developed to beat the
issues with ancient system. The system was tested with sample knowledge and was found to be a
lot of quicker, reliable and user friendly than the prevailing system So this system would be more
useful to the public people and cm office and the public government authority too so this would
make their work more simple and make them more free too.
62
9 REFERENCES
Websites
[1 https://www.tutorialspoint.com/java/
[2] https://www.javatpoint.com/java-tutorial
[3] https://www.w3schools.com/java/default.asp
[4] https://www.journaldev.com/9191/java-web-services-tutorial
[5] https://netbeans.org/kb/articles/learn-java.html
[6] https://netbeans.org/kb/docs/java/quickstart.html
[7] https://www.homeandlearn.co.uk/php/php1p3.html
[8] http://www.icynets.com/set-wampserver-computer/
Video link
[1]file:///C:/Users/Robin/Desktop/SCRIPTING%20ASSIGNMENT/SCRIPTING%20ASSIGN
MENT/EXERCISE%202/hotel.xml
[2] https://www.youtube.com/watch?v=oTzNRv6X51o
[3]https://www.youtube.com/watch?v=B8gMEV8GKbg&list=PLyRiRUsTyUXhUXoOPEdMZWhGpGeSQFZg
[4] https://www.youtube.com/watch?v=Hl-zzrqQoSE&list=PLFE2CE09D83EE3E2
63
64