Sie sind auf Seite 1von 37

CONTENTS

CONTENTS………………………………………………………………………………..….…1

TABLE OF FIGURES…………………………………………………………………………...3

DAILY DAIRY……………………………………………………………………………….…4

Week 1…………………………………………………………………………………....4

Week 2…………………………………………………………………………………....6

Week 3……………………………………………………………………………….…...9

Week 4……………………………………………………………………………….….12

Week 5……………………………………………………………………………….….14

Week 6……………………………………………………………………………….….15

1.TRAINING PROGRAM (THEORY) DETAILS………………………………………..…..16

1.1 TRAINING TYPES AND CONTENTS………………………………………..….16

1.2 OBTAINING TRAINING………………………………………………………….17

1.3 TRAINING DETAILS……………………………………………………………...18

1.4 PROJECTS AND RESPONSIBILITIES…………………………………………..19

2 ALLOTED PROJECT………………………………………………………………………...20

2.1 PROJECT DETAILS………………………………………………………………..20

2.1.1 PROJECT OVERVIEW…………………………………………………..20

2.1.2 TECHNOLOGY USED…………………………………………………..22

2.1.3 SOFTWARE DEVELOPMENT TOOLS USED………………………...23

2.1.4 SERVICES………………………………………………………………..24

2.1.5 SHORTCOMINGS……………………………………………………….26

3. PROBLEMS RELATED TO VARIOUS AREA OF WORK………………………...……36

Page 1
4. MACHINE SPECIFICATION…………………………...……………….………………37

5. ROLES AND RESPONSIBILITIES OF DIFFERENT PERSONNEL………………..…38

6.LAYOUT OF COMPUTER LAB………………………..………………………………..39

7 WRITTEN TEST…………………………………………………………………………...40

8 CONCLUSION…………………………………………………………………………….41

Page 2
TABLE OF FIGURES

FIGURE 1 - DATABASE DESCRIPTION

FIGURE 2 - ER DIAGRAM

FIGURE 3 -WEBPAGES DEVELOPED

FIGURE 4 - FLOWCHART

Page 3
DAILY DIARY

Name of the trainee: Chandan Kumar

College: Institute Of Information Technology And Management, Gwalior

Industry/Workplace: HP Educational services India Ltd. / ITM Universe , Gwalior

Week No. 1

Department/Section: Information Technology

Date: 24-29 July 2010

Date Brief of observation made, work done, problem / project

Undertaken, discussion held, literature-consulted etc.

24/07/2010 Basic layout of Hypertext Markup Language, its

Functions, properties, tags, markups, development of

Simple webpage using HTML

25/07/2010 Cascaded Style Sheets, properties of CSS, Usage of

CSS, it’s different functions, classes, ids, properties

Of HTML components, Javascript, use of Javascript

26/07/2010 Programming in Javascript, basic datatypes, functions

Condition structures, loop structures, basic program in

Javascript.

27/06/2010 Introduction to Java technology, what is Java,

Page 4
History of Java, Comparison to C++ and C,

advantages of Java, Properties of Java, Object oriented

concepts in Java.

29/07/2010 Java Development Kit , JDK, Installing Java

Development Kit. Netbeans IDE, installing Netbeans

28/06/2010 First program in Java, description of the program.

Compiling Java program. Javac.exe and Java.exe

Intermediate byte code, Java Virtual Machine, Java

Application Programming Interface.

Practical (s)-TO design simple Java program using

Notepad, compile program using javac.exe. running

Program using java.exe

29/07/2010 location of .class file, PATH and CLASSPATH

Environment variables, setting PATH from command

Prompt, setting PATH from system properties, setting

CLASSPATH from command line

Practical (s)-Locate .class file in System. Set PATH using

Command prompt, set PATH from system properties.

Set CLASSPATH from command Line

Page 5
Name of the trainee: Chandan Kumar

College: Institute of Information Technology And Management, Gwalior

Industry/Workplace: HP Educational Services India Ltd./ITM Universe,Gwalior

Week No. 2

Department/Section: Information Technology

Date: 30 July-5 August 2010

Date Brief of observation made, work done, problem/project

Undertaken, discussion held, literature-consulted etc.

30/07/2010 Set CLASSPATH from system properties, set CLASS


PATH using batch files. Data types in Java, Literals
in Java, default values if variables. Identifiers, naming

Rules,coding conventions.

Practical (s)- Set CLASSPATH from system properties,

set CLASSPATH using batch files. Write program to print

Hello World with double quotes.

31/07/2010 operators in Java, types of operators, arithmetic, logical

Ternary, assignment operators, unary operators,

Combined assignment operators, relational operators

Practical (s)- WAP for addition, subtraction,

Multiplication and division, program for using unary

Operators and combined assignment operators. Relating

Two variables.

Page 6
1/08/2010 Control structures, if –else, switch case usage properties

Binary statements,Loops and iterators, while loop, do

While loops, for loops, using break and continue

Practical (s)- WAP to check whether a number is prime

or not, program checking a year is leap or not, program

to print Armstrong no. swap two nos. using 2 variables.

2/08/2010 Classes, class declaration, class access, creating obects,

Accessing variables, calling methods of class

Practical (s)- WAP using classes. Create class Box,with

Fields width, height, length and methods for getting and

Setting these attributes

3/08/2010 Polymorphism, method overloading, rules of method

Overloading

Practical (s)-WAP to calculate area of circle and cylinder

Using same method Define class named Employee and

Declare methods to calculate their salaries and setter

Getter methods.

4/08/2010 Access specifiers, default access mode, public,private

Protected access modes, public classes.

Practical (s)-program declaring all type of members

(public,private,protected and default),program declaring public classes.

5/08/2010 Inheritance in Java. No multiple Inheritance, Relation

Page 7
Between parent and child class, protected access

Modifier. Final class, abstract class

Practical (s)-Create abstract class Area having method

Compute(float,float).CreateTriangle rectangle that

Extends Area.Create class Animal, create another child

Class Dog that extends Animal.Use all types of

Variables in child class.

Page 8
Name of the trainee: Chandan Kumar

College: Institute Of Information Technology And Management, Gwalior

Industry/Workplace: HP Educational Services India Ltd./ITM Universe,Gwalior

Week No. 3

Department/Section: Information Technology

Date: 6-12 August 2010

Date Brief of observation made, work done, problem/project

Undertaken, discussion held, literature-consulted etc.

6/08/2010 Exception, types of exceptions, Exception class

Hierarchy, errors, try block, catch, finally, throws

throw. Creating user defined exceptions,

Practical-program to show user defined exception in foll. Conditions.


You have to enter salary of a person at

At runtime and salary must not be –ve no. and should be in between
6000-20000 and if not it will throw a user defined exception named
InvalidSalaryException ,program that takes input from user and throw
user defined exception if user enters special character

7/08/2010 Typecasting, overriding , constructors and their use,

Dynamic polymorphism, interface

Practical (s)- write a program that typecasts integer into

Floats, create a class Shape having method area() and

Override it in child class Rectangle. Write a program


using dynamic binding

Page 9
8/08/2010 package, declaration, import, wild card symbol, access

To package. Java API.

Practical (s) -write a class Rectangle in package shapes.

Import shape package in another program and use it’s

Class in it.

9/08/2010 Strings in Java, string hierarchy, string functions,

StringBuffer and StringBuilder classes their differences

Memory allocation.

Practical (s)-WAP to reverse a string.WAP to convert an

Integer into string. Use StringBuilder and StringBuffer

In a simple program.

10/08/2010 Collections framework. Collection interface, hierarchy.

Sets, Maps, Queues. Sorted Ordered Collections.

Collections class and its methods.

Practical (s)-WAP to create a Map and sort it using sort

Method of Collections class. WAP to create Set of

Integer numbers. WAP to create a HashMap of class

Objects.

Page
10
11/08/2010 Dreamweaver. Creating HTML pages using

Dreamweaver, using Dreamwaeaver tools.

Using CSS in Dreamweaver

Practical- Create webpages using dreamweaver

Use CSS in dreamweaver pages.

12/08/2010 GUI in Java. AWT API. Swing GUI. Advantages of

Swing over AWT GUI. Containers and components.

Controls.Creating and running basic Swing GUI.

Practical (s)- Create a simple Swing GUI using notepad.

Page
11
Name of the trainee: Chandan Kumar

College: Institute of Information Technology And Management, Gwalior

Industry/Workplace: HP Educational Services India Ltd. / ITM Universe , Gwalior

Week No. 4

Department/Section: Information Technolgy

Date: 13-19 August 2010

Date Brief of observation made, work done, problem/project

Undertaken, discussion held, literature-consulted etc.

13/08/2010 Event handling in Swing using AWT events. Types of

Events. Attaching events with components. Handling

Events.

Practical -Create a Calculator GUI using Swing API

14/08/2010 NetBeans IDE, understanding NetBeans interface.

Using NetBeans for creating Swing Applications

Practical (s) -Create Calculator GUI using NetBeans

15/08/2010 I/O in Java, I/O hierarchy ,wrapping of classes, using

I/O in Java programs, handling I/O, IOException

Practical- WAP to take input from keyboard using

BudfferedReader and print in on Standard o/p device

WAP to take input from user and save it in a file

Page
12
16/08/2010 Practical-(Surprise Test)

Create an ATM cash deliver app. Which has method

That take user amount as input through ATM cash

Machine and give the cash amount Machine has bills of

Rs 50,100,500 and 1000 .If user enters such amount that

Can’t be cashed with available bills than prompt user.

ATM has limited no.of bills that decreases per

Trancsction. Print receipt after transaction.

17/08/2010 Basic SQL. SQL commands, creating database, table,

Inserting data, making query, deleting data and tables

Operators. Transactions.

18/08/2010 Using MySQL, Installing MySQL, configuring MySQL

Creating database in MySQL, creating table, making

Queries, insertion etc.

Practical- Install and configure MySQL . Create

Database ,insert records, make queries using MySQL

19/08/2010 Transaction in DBMS and commands related to it, using

MySQL GUI tools for giving commands in MySQL.

Practical-Installing MySQL GUI tools and using it.

Perform transaction in database.

Page
13
Name of the trainee: Chandan Kumar

College: Institute Of Information Technology And Management , Gwalior

Industry/Workplace: HP Educational Services India Ltd./ITM Universe,Gwalior

Week No. 5Information Technology

Date: 20-26 August 2010

Date Brief of observation made, work done, problem/project

Undertaken, discussion held, literature-consulted etc.

20/08/2010 Introduction to Java EE technology. Servlets and

its implementation.

21/08/2010 Servlet input methods, Cookies, URL Rewriting,

Session management.

22/08/2010 Security issues related to Servlets, connecting Servlet

Frontend to RDBMS using JDBC.

23/08/2010 JSP, using JSP, Tags, types of tags, using tag libraries.

24/08/2010 JSTL with implementation, EL(Expression Language).

25/08/2010 Struts Framework, its features, development styles,

Package (org.apache.struts).

26/8/2010 Allocation of projects. Decision of Teams.

Page
14
Name of the trainee: Chandan Kumar

College: Institute Of Information Technology And Management , Gwalior

Industry/Workplace: HP Educational services India Ltd./ITM Universe,Gwalior

Week No. 6

Department/Section: Information Technology

Date: 27 August-2 September 2010

Date Brief of observation made, work done, problem/project

Undertaken, discussion held, literature-consulted etc.

27/08/2010 Planning of project. Task assignment among team

Members.

28/08/2010 Creation of modules and analysis on every phase of

Development.

29/08/2010 Analysis. Problem definition. Needs of system.

Information collection.

30/08/2010 Information Collection(contd.) Designing. Database

Design. Module design. Web page design and layout

Finalization.

31/08/2010 Work on web page designing

1/09/2010 Logic development. Middleware development and

Testing.

2/09/2010 Project submission.

Page
15
1. TRAINING PROGRAM DETAILS

1.1 CONTENTS

The training program I have attended was provided By Hewlett-Packard Education

India Ltd. which provides training programs for different recruiters and Technical

college students all over India.

The program was scheduled for 45 days and was containing various necessary

aspects of working in technical industry.

The training program gave me two choices to take training which was training in

Development using C#.net or training in Development using Java 6 and Java EE.

I opted for training in Software Development using Java and Java EE.

Page
16
1.2. OBTAINING EMPLOYMENT/TRAINING

The training program I attended was due to tie-up between My College (IITM,

Gwalior) and Hewlett Packard Education System India Ltd.

Each student interested in taking the training was registered in Training and

placement cell of our college and each of the registered student was provided the

training facility in the college campus itself.

Page
17
1.3 TRAINING DETAILS

In our industrial training HP provided theory and practical sessions for 45 days in

which for first half of the training program we are taught basic fundamental Java 6

Edition for developing fundamental concepts that are necessary to develop well

developed software systems using Java EE and other Java Technologies. In these

sessions I learned various Core Java concepts like Classes, Interfaces, Inheritance,

Polymorphism, Abstraction, operators, literals, and other concepts.

In the second half of training I learnt Java EE technology for developing standard

Java Web applications. In this part I learned developing Servlets, JSP, JSTL, Struts

Framework and other techniques for developing web-applications. I also learned

using various software development tools to have rapid development. These tools

included IDEs like NetBeans, Dreamweaver etc. Other than this I also learned

using RDBMS i.e. MySQL and basic query processing.

Page
18
1.4 PROJECTS AND RESPONSIBILITIES

After theory and practical sessions I had provided the project of developing a web

portal for a Welfare Residential Association using Apache Struts Framework and

MySQL. Company divided the batch into teams of 4-5 trainees. I had a team of 5

persons including myself. In that project, I took the responsibility of Team Leader

and lead developer as well as Web-designer. In my team, Vipin Kumar Khatri

Chandrasekhar Sharma were co-developers and database designer and Pradeep

Rajput and pradeep singh Chauhan , took responsibility of designing web pages

and frontends.

In first phase, we developed the strategy for starting development, delegating

responsibility and dividing work between team members.

In second phase we decided modules and functioning requirements of system.

After that we designed the database, frontend layout, module interconnectivity and

other designing processes.

After this, we started development, and testing after development.

Page
19
2. ALLOTED PROJECT

2.1 PROJECT DETAILS

2.1.1 Project Overview-

This project titled “Design Your Leadership” is designed using HTML, JSP,
Javascript for Client Side and JSP and Servlet for Server Side which helps in
understanding different technologies. This application covers almost all the needs
of such as Signup, voting, Login, and current status for user.

The interface for the project will provide a point of sale for the customer
and administrative capabilities for the store owner. Overall this project is totally
based on modern Shopping portal covering all the features which an online
shopping portal needs.

Page
20
2.1.2 Technology Used-

We have developed our website by strictly following Model-View-Controller

(MVC) architecture :-

Model

The model is a collection of Java classes (Servlets) that form a software application

intended to store, and optionally separate, data. We have used MySQL as our

backend since it is free to use and very reliable and fast.

View

The view is represented by a Java Server Page, with data being transported to the

page in the HttpServletRequest or HttpSession.

Controller

The Controller Servlet as well as JSP communicates with the front end of the

model and loads the HttpServletRequest or HttpSession with appropriate data,

before forwarding the HttpServletRequest and Response to the JSP using a

RequestDispatcher.

Page
21
2.1.3 Software Development Tools Used-

We used following main tools-

 Programming Language- Java EE 5, HTML

 Container(Server) - Apache Tomcat ver 6.0.26

 A phpMyAdmin package for Mysql ( RDBMS )

 IDE- NetBeans IDE 6.5/6.9

 Designing Tools: Adobe Dreamweaver CS4,

 OS - Microsoft Windows XP/7

Page
22
2.1.4 SERVICES -

As this web application mainly designed for General user , Client (Registered user)

and administrator. So, this website provides many services :

In our website we are having following page modules:

1. USER MODULE –

 HOME PAGE :
It gives an overview of the voting system project with attractive view and
fields.It also consist of the Administrator login field.

 VOTER REGISTRATION PAGE


Register page provides a form which should be fill by the candidate who has
been selected as a leader for a particular branch or college

 LOGIN PAGE
The user can sign in by providing the username and password and can gives
the vote for appropriate user.

 PAST ELECTION

TheIT tells about the throught analysis of past results and all the information
regarding voting having all the dta,review and candidate status.

 SEARCH PAGE
This page helps a customer to narrow his search in other words a customer
can directly search the required product from this page without the need of
navigating through the pages to search for a single product whose details
he/she has already known. the search fetches the value from the database if it
is present.

Page
23
 NEW OFFERS
This page gives the list of those products which are being discounted due to
some festive occasion. the market price is the original price of the product
and the new price is the discounted price.

 ELECTION LAW

Thi it contains all the information which has to be followed by the candidate
during their decision of leadership

 CONTACT US
On this page the candidates and also the user can send their feedback to the
developers.

 DEVELOPER PAGE
This Page gives the information of the team members who created this
online voting system

2. MODERATOR MODULE –

 MODERATOR LOGIN
Owner / Moderator can enter into moderator panel by submitting
Correct username and password.

 MESSAGE BOX
To see all the feedbacks and can reply them.

 VIEW USER
To keep track on all the accounts of the candidate which is selected as a
leader from a particular branch or college.

 STATUS
To track and update the status of theof the candidate.

Page
24
 REMOVE
To delete the information of a particular candidate

2.1.5 SHORTCOMINGS

1. No option to save image of either property or the user.

2. No feature of finding criminal on the basis of its location

3. No facility of online verification of right user.

Page
25
SNAPSHOTS

 DATABASE DESCRIPTION
 ER DIAGRAM
 WEB PAGES
 FLOW CHART

Database Description

Page
26
Page
27
E-R Diagram-

USERNAME PASSWORD
UID

MEMBERSHIP

USERNAME

USERNAME
PASSWORD
USER

CANDIDATE NAME

COLLEGE UPDATE
BRANCH

YEAR
MODERATOR
FIRSTNAME
Mod_id

PASSWORD
USERNAME
LASTNAME

Page
28
USER:

User
Index Page candidates candidates prefrences Cart

user visits login orUser


signup.
becomes a candidate
Candidatesbycan
a particular
update their
branch.
information regarding their college or branch.

Gives a vote for candidate Customer Signup

Increase or decrease the demandCustomer signs up for user account.


of candidates

Moderator :

Page
29
Moderator Moderator Panel Reports

Owner opens moderator panel


Owner
of website.
can print out reports on regarding voting

View Message Customer Accounts Status

Owner can view what feedback he had received. Owner can view account information
Owner ofcan
the check or update the order status.
customers.

PROBLEMS RELATED TO VARIOUS AREA OF WORK:-

Page
30
In Java there is no IDE provided by Sun microsystem, so our trainers suggested us
IDE’s such as NetBeans, Eclipse, Textpad. But they provided us Netbeans IDE.

The problem with NetBeans IDE is that it doesn’t provide designing functionalities
hence it became a big problem for me since I had to combine my code from
various IDEs and this was very troublesome to manage our code.

DreamWeaver is just is for design purpose and doesn’t provide dynamic features
for execution of pages. Hence Dreamweaver only gave me the layout code which I
had to merge with my dynamic code and this process was very long and difficult.

NetBeans also doesn’t provide its own server so I also had to connect other
container which in my case was Apache Tomcat.

MACHINE SPECIFICATION

Page
31
Computer provided to us was having following specifications-

 Intel Dual Core processor 2.2GHz

 256 MB DDR2 RAM

 Intel Motherboard

 80 GB SATA HDD

 Windows XP Professional Edition

 NetBeans 6.5

 MySQL 5.1

 Macromedia Dreamweaver 8

 Apache Tomcat 6.0

 MySQL GUI Tools

ROLES AND RESPONSIBILITIES OF DIFFERENT


PERSONNEL

Page
32
Mr. Jeetendra Singh from HPES India Ltd. was our main trainee who is a Java
technology expert.

Ms. Vasundhra Chaubey from HPES taught us using Dreamweaver for HTML
page designing CSS and Javascript.

Mr. Rahul Kumar taught us MySQL, SQL queries and creating database.

Layout of Computer Center

Page
33
The laboratory provided to us was a standard computer lab having approximately

50 computers. Each computer is connected in a network via IEEE 802.3 Ethernet.

The network used star topology in which all computers are connected to a common

hub. The hub is itself situated in lab. All system are also connected to internet

through common network access point, but due to security and disciplinary reasons

the internet facility was disabled during our practical sessions. There are two rows

of computer, each row contains 25 computers. Single computer was assigned to

each student. System sharing between trainees were not allowed.

Written Test

Page
34
This basically covered all the java core and advanced which I have learned during
training.

Test is of 40 questions from these 40 question I have correctly attempted 27


questions.

CONCLUSION

Page
35
Working with Hewlett-Packard Education Services India Ltd., gave me much

valuable experience of working in the IT industry of India. I learned the proper

way of developing a project, i.e. the way in which software projects are made in

various IT industries now-a-days.

I learned basic concepts of java and building blocks of this language. I learned

various new technologies designed to develop safe, efficient and fast responding

websites using Java EE technologies. I learned various types of frameworks used

to systematically develop websites in Java.

I also shared the experience of developing project in team. I got the experience of

working in a team with different people having same goal. How we need to have

co-operation and co-ordination between all team members. I learned how a team is

managed during project development, how work is divided according to

competency of partners and how responsibilities are delegated.

I learned how standard websites are made in java using Struts framework and why

it is important to develop websites in these types of framework.

I also learned how testing and troubleshooting becomes easy by developing

websites in Struts Framework.

I learned how data can be stolen and in how many ways data can be vulnerable to

unauthorized access and what techniques one should use to make data safer while

developing in Java.

Page
36
Page
37

Das könnte Ihnen auch gefallen