Anda di halaman 1dari 34

About Techno Campus

Techno Campus is the IT education brand established in 2002, it is a pioneer in IT education. Through its wide network of centres in India Techno Campus has so far trained 1.4 million students.

Quality education
Techno Campus gives great importance to quality of education. The company:

Ensures that its course curriculum is as per the needs of the industry & is always kept updated. Provides high-quality learning aids - including books & CDs - to the students & faculty. These are developed specially by the company.

Carries out regular training & certification of its faculty to ensure that they are able to handle even advanced IT topics.

Supports classroom teaching with assignments, workshops & guided E-Projects. Conducts Workplace Skills training for the students to help them get better job placements.

INTRODUCTION TO JAVA

Object Oriented Programming or OOP is the technique to create programs based on the real world. Unlike procedural programming, here in the OOP programming model programs are organized around objects and data rather than actions and logic. Objects represent some concepts or things and like any other objects in the real world, Objects in programming language have certain behavior, properties, type, and identity. In OOP based language the principal aim is to find out the objects to manipulate and their relation between each other. OOP offers greater flexibility and compatibility and is popular in developing larger application. Another important work in OOP is to classify objects into different types according to their properties and behavior. So OOP based software application development includes the analysis of the problem, preparing a solution, coding and finally its maintenance. Java (originally called Oak) was developed because Sun was having difficulty using C++ as part of a larger project. Java was designed to have a small footprint when it ran standalone in small machines and devices. The Java language was derived from C++ but without many of the cumbersome, difficult-to-use features of C++. Java's cross-platform capability originally addressed the problem that applications for embedded devices must run on a wide variety of hardware (without the benefit of a standardized operating system). Java failed to capture the market in spite of a concerted push into Interactive TV. For a period, Java looked like another good technical idea that would fail commercially.

Java Technology

Java technology is both a programming language and a platform.

The Java Programming Language The Java programming language is a high-level language that can be characterized by all of the following characteristics Simple Object oriented Distributed Multithreaded Architecture neutral Portable High performance Robust In the Java programming language, all source code is first written in plain text files ending with the .java extension. Those source files are then compiled into .class files by the javac compiler. A .class file does not contain code that is native to your processor; it instead contains bytecodes the machine language of the Java Virtual Machine1 (Java VM). The java launcher tool then runs your application with an instance of the Java Virtual Machine.

An overview of the software development process.

Because the Java VM is available on many different operating systems, the same .class files are capable of running on Microsoft Windows, the Solaris
TM

Operating System (Solaris

OS), Linux, or Mac OS. Some virtual machines, such as the Java HotSpot virtual machine, perform additional steps at runtime to give your application a performance boost. This include various tasks such as finding performance bottlenecks and recompiling (to native code) frequently used sections of code.

Through the Java VM, the same application is capable of running on multiple platforms. Types of java programs: Applets Command line application GUI application Servlets Packages Database appplications

The Java Platform

A platform is the hardware or software environment in which a program runs. Most platforms can be described as a combination of the operating system and underlying hardware. The Java platform differs from most other platforms in that it's a software-only platform that runs on top of other hardware-based platforms.

The Java platform has two components:

The Java Virtual Machine (JVM) The Java Application Programming Interface (API)

Java Virtual Machine is the base for the Java platform and is ported onto various hardware-based platforms.

The API is a large collection of ready-made software components that provide many useful capabilities. It is grouped into libraries of related classes and interfaces; these libraries are known as packages.

The API and Java Virtual Machine insulate the program from the underlying hardware.
Every full implementation of the Java platform gives you the following features:

Development Tools: The development tools provide means for compiling, running, debugging, and documenting your applications. The main tools are the javac compiler, the java launcher, and the javadoc documentation tool.

Application Programming Interface (API): The API provides the core functionality of the Java programming language. It offers a wide array of useful classes ready for use in your own applications. It spans everything from basic objects, to networking and security, to XML generation and database access, etc.

Deployment Technologies: The JDK software provides standard mechanisms such as the Java Web Start software and Java Plug-In software for deploying your applications to end users.

User Interface Toolkits: The Swing and Java 2D toolkits make it possible to create sophisticated Graphical User Interfaces (GUIs).

Integration Libraries: Integration libraries such as the Java IDL, JDBC, JNDI, Java RMI, and Java Remote Method Invocation over Internet Inter-ORB Protocol Technology (Java RMI-IIOP Technology) enable database access and manipulation of remote objects.

ABOUT MICROSOFT OFFICE ACCESS

Access is a relational database program .Access is used to enter, edit, and analyze lists of data. Relational databases minimize redundant data

Advantages of Access Duplicate data is minimized Information is more accurate Data entry is faster and easier Information can be viewed and sorted in multiple ways. Information is more secure Information can be shared among several users Information retrieval is faster and easier

NetBeans IDE
A free, open-source Integrated Development Environment for software developers.
One can get all the tools you need to create professional desktop, enterprise, web, and mobile applications with the Java language, C/C++, and even dynamic languages such as PHP, JavaScript, Groovy, and Ruby.

NetBeans IDE is easy to install and use straight out of the box and runs on many platforms including Windows, Linux, Mac OS X and Solaris.

NetBeans IDE is an integrated development environment (IDE) for writing, compiling, testing, and debugging desktop applications and web applications for the Java platform.

NetBeans IDE includes a full-featured text editor with syntax highlighting and error checking, visual design tools, Ant support, version control system support, and many other features.

The NetBeans IDE 6.5 provides several new features and enhancements, such as rich PHP, JavaScript and Ajax editing features, improved support for using the Hibernate web framework and the Java Persistence API, and tighter GlassFish v3 and MySQL integration.

Netbeans Developing Windows Application


Netbeans can be used to create professional-looking GUIs with automatic spacing and alignment.
Professional Swing GUI Building

Design Swing GUIs by dragging and positioning GUI components from a palette onto a canvas. The GUI builder automatically takes care of the correct spacing and alignment. Click into JLabels, JButtons, ButtonGroups, JTrees, JTextFields,

ComboBoxes and edit their properties directly in place. You can use the GUI builder to prototype GUIs right in front of customers.

Intuitive and Customizable

You can choose whether the GUI code should be generated with fully qualified or simple class names. The help bar displays context-sensitive hints about what can be done with the selected component and suggests shortcuts that can speed up your work in the future. The NetBeans IDE also comes with built-in support for GUI localization and accessibility. If you use JDK 6 Update 10, you can now preview your forms in the new Nimbus look and feel.
Standard and Custom GUI Components

The extensible Component Palette comes with pre-installed Swing and AWT components and includes a visual menu designer. Use the Component Inspector to view a component's tree and properties.
Swing Application Framework (JSR 296) Support

The Swing Application Framework simplifies the handling of the application life cycle, actions and resources. Take advantage of the provided code-generation tools and building blocks, and develop small to medium-sized desktop applications faster than ever. Create menus fast and intuitively by dragging and dropping menu items onto the

canvas; you can add mnemonics and rename menu items inline by clicking and typing in the Design view.
Beans Binding technology (JSR 295) Support

Take advantage of Beans Binding technology and the Java Persistence API to create Swing desktop database applications more easily. Using the new Java Desktop Application project template, you can quickly set up a form that displays a database table and also enables you to modify the database. Bind a database table to an existing form by dragging a table from the Runtime window onto the form.

INTRODUCTION:

The project Employee Management is developed in Java(Netbeans IDE 6.8), which mainly focuses on basic Employee Management operations. Employee Management is a windows application written for 32bit Windows operating systems, designed to help users to manage each Employee data. The software Employee Management has 3 main modules. Login Module Insertion to Database Module Extracting from Database Module

SYSTEM ANALYSIS:

EXISTING SYSTEM: System Analysis is a detailed study of the various operations performed by a system and their relationships within and outside of the system. Here the key question is what all problems exist in the present system? What must be done to solve the problem? Analysis begins when a user or manager begins a study of the program using existing system. During analysis, data collected on the various files, decision points and transactions handled by the present system. The commonly used tools in the system are Data Flow Diagram, interviews, etc. Training, experience and common sense are required for collection of relevant information needed to develop the system. The success of the system depends largely on how clearly the problem is defined, thoroughly investigated and properly carried out through the choice of solution. A good analysis model should provide not only the mechanisms of problem understanding but also the frame work of the solution. Thus it should be studied thoroughly by collecting data about the system. Then the proposed system should be analyzed thoroughly in accordance with the needs.

PROPOSED SYSTEM:

Proposed system is an Employee Management Software. According to designate we can create an account, Add/Modify/Delete employee and department details. Our proposed system has the following advantages.

User friendly Interface Fast access to database Less error Storage Capacity Search Facility Data Modification Facilities

SYSTEM DESIGN:

OUTPUT FORM DESIGN Computer output is the most important and direct source of information to the user. Efficient, intelligible output design should improve the system relationship with the user and help in decision-making. The outputs provide in the system are the softcopy report available for printing. Printouts should be designed around the output requirement of the user. The output devices to consider depend on the factor such as compatibility of the device with the system, response time requirement and number of copies needed.

INPUT FORM DESIGN

Input Design is the process of converting user originated computer based format. Inaccurate input data are the most common cause of errors in data processing .Errors entered by data entry operators can be controlled by input design. The goal of designing input data is to make data entry as easy, logical and free from errors as far as possible. In this system, the input screens are developed according to the user requirements.

MENU TREE

DATABASE DESIGN

The general theme behind a database is to handle information as an integrated whole. A database is a collection of interrelated data stored with minimum redundancy to serve many users quickly and effectively. After designing the input and output, the analyst must concentrate on database design or how data should be organized around user requirements. The general objective is to make information access, easy quick, inexpensive and flexible for other users. During database design the following objectives are concerned:-

Controlled Redundancy Easy to learn and use More information and low cost Accuracy Integrity

TABLES USED

NAME : LOG IN FIELD NAME NAME Password DATA TYPE TEXT NUMBER DESRIPTION Primary Key -

NAME : EMPLOYEE FIELD NAME Name Employeeid Mobileno Emailaddress Age Experience DATA TYPE Text Number Text Text Number Number DESRIPTION Primary Key -

NAME : DEPARTMENT FIELD NAME Departmentid Name Department DATA TYPE Auto Number Text Text DESRIPTION Primary Key -

WORKING OF PROJECT

LOG IN

MAIN FRAME

EMPLOYEE FORM

EMPLOYEE DETAIL SUBMISSION

DETAIL SUBMISSION CONFIRMATION

UPDATE

UPDATE CONFIRMATION

DELETION

DEPARTMENT FORM

ADDING DEPARTMENT

DEPARTMENT UPDATE

UPDATE CONFIRMATION

DEPARTMENT DELETION

NEW USER ACCOUNT

NEW USER ACCOUNT ADDITION

NEW ACCOUNT LOG IN

Java Database Connectivity (JDBC)

Domain : Employee Management(con) Front-end : Netbeans IDE 6.8 Back-end : MS Access 2007

Before you compile the project you have to set the ODBC connection then only it will work properly Let us see How to set ODBC connection (MS Access)

1. Click Start button +Click Control Panel and Select Administrative Tools

2. Click data Sources (ODBC)

3. Then you get ODBC Data Source Administrator window (shown below) +Click Add Button

4. Create New Data Source (shown below) +select Microsoft Access Driver (*.mdb,*.accdb) + press Finish button

5. ODBC Microsoft Access Set up (shown below) + gives Data Source Name +select Database (Press select button) +select your database (shown below) + Press Ok button

6. Before you close the window make sure that your DSN name is correct or not (shown below) +Press Ok button

Now you got the DSN name (Employee Management)This is the way for connecting ODBC.

SUMMARY

From a proper analysis of the positive points and constraints on the component, it can be safely concluded that the product is a highly efficient GUI based component. This component can be easily being plugged in many other systems.

Also the component is highly user friendly. Generally the search and updating in stores are done by nontechnical people. So it is in the best interest of the organization to use such software which their employees can handle easily. This software comes with just that solution. Being mostly GUI based, this component can be used very easily. With very little training, users can learn the usage of the product. Also the search results are presented in numerous forms like report format, graphical format etc which makes it versatile. Again the GUI based system is certainly more eye-catching and attractive. Nowadays most of the companies are going global .So their business has also become distributed and diverse.

Lastly I would like to thank all the Staff members of TECHNO CAMPUS for cooperating me during this training.

BIBLIOGRAPHY

1.)COMPLETE REFERENCE 2.)COMDEX 3.)INTERNET 4.)BLACK BOOK

Anda mungkin juga menyukai