Post on 05-Jul-2018
8/15/2019 Career Information Maintenance System.DOC
1/95
INTRODUCTION
Career Information Maintenance is a project developed
for National Engineering Corporation. The main concept of Career
Information Maintanance is to computerize the users profile and
conduct online interviews.By using this system we can save time
and wor involved for employing people to the jo!s posted."or this
a separate section named placement cell is maintained !y thecompany which involves in selecting the right person for the right
jo!.#s there will !e more one person posting for a single jo!
online tests can !e conducted for the users at a time and all the
users will a!le to get the results within notime. $o this system of
implemention can !e followed !y any company.
Need to develop Career Information Maintanance: Now a day%s
time is !ecoming more and more precious.&''( industries are
computerized and there is a vast development in industries either in
the pu!lic sector or in the private sector.Today every company
wants to do any type of wor fast and with less investment. $omost of the companies are going for computerization where in time
and la!our involved in manual system will !e reduced such that
they can use these resources in other wor.
&
8/15/2019 Career Information Maintenance System.DOC
2/95
)ere the company is the manufacturer of Transformers
and Stabilizers.
"or their growth of !usiness they want to employee people with in
less time.The placement cell has a list of jo!s !eing displayed for
the registered and unregistered users.The jo!seeers can not only
view the jo!s !ut also can post and tae online tests for that jo!.
$o the people who get *ualified and have the right sills are
employed. By this the company can select right employees and not
distur! their other activities. This will help them to !ecome a
num!er one position in the current competitive maret.
The another advantage is that the company is
having !ranches throughout the country. $o this system will help
them to employee people from anywhere for any !ranch. They
don%t need to involve in personally with the jo! seeers and go for
long procedures as followed in manual systems. It will give +n,
line solutions from the superiors to the jo!seeers after taing the
test so that immediately the wor is finished.
-iely there are so many advantages !y using
this Career Information Maintanance for a company lie NEC.
8/15/2019 Career Information Maintenance System.DOC
3/95
Features:
$electing silled and professionally needed
person for the jo!.
$upport of multiple users.
By selecting the users for online test
selections can !e done within less time.
$elections can !e done for any !ranches of the
company.
ABOUT THE ORGANIZATION
N #TI+N#- EN/INEE0IN/ C+01+0#TI+N
2NEC3 is a
4
8/15/2019 Career Information Maintenance System.DOC
4/95
1remier organization in India and it was esta!lished in 5une &678
to play a promotional role in the development of Transformers and
$ta!ilizers. It provides re*uirements to the corporate sector. The
last decade had witnessed NEC emerge as an agent of change that
has *uietly changed the wor culture and the process of decision.
The organization of NEC is located at )9:E0#B#:;
5EE:IMET-#. To meet the o!jectives; NEC%s infrastructure was
e
8/15/2019 Career Information Maintenance System.DOC
5/95
88'@; A' to 8' )z3 current transformers !oth for metering and
protection. Current Transformers are manufactured generally
confirming to the Indian $tandards. The type class accuracy and
!urden of these transformers depends on the purpose for which
they are used. NEC #C @oltage $ta!ilizer provides cost,effective
solutions to pro!lems of fluctuations !y ensuring constant output
voltage. The field of application is very wide for #C $ta!ilizer.
eeping in view of the wide range of our country which spans
from ashmir to anyaumari NEC puts its !est effort to provide
good *uality supply.
The principal role played !y NEC; !esides changing the wor
culture and maing the administration more effective and efficient
at all levels; is in the nature of demolishing !arriers and in maing
the woring of the organization more transparent to the pu!lic; as
well as in maing the information more readily availa!le from one
:epartment to another. The availa!ility of information; accurately
and on a timely !asis; re*uired !y the officials concerned; has
given a new dimension to the management. NEC is proud that it
has made all this possi!le. ith this support today it is proud todeclare that it is going to launch its site on the INTE0NET.
A
8/15/2019 Career Information Maintenance System.DOC
6/95
# major resource of NEC is its highly silled pool of
manpower . The main o!jective of NEC is
&.To design and develop Transformers and
$ta!ilizers.
. To generate; silled manpower within
departments.
ith the facility of having its site on the INTE0NET the
organization is going to e
8/15/2019 Career Information Maintenance System.DOC
7/95
through out India has a large num!er of employees all over the
country.This company has people who are highly silled and
dedicated to the company.)ence forth if there are any jo!s present
here then they go for such *ualities in the employees.
Normally jo!s in a company will !e advertised and num!er
of people might send there resumes for the posts. The person; who
has to participate in the selections; has to travel all the way and
attend the conducted e
8/15/2019 Career Information Maintenance System.DOC
8/95
$electing silled and professionally needed
person for the jo!.
$upport of multiple users.
By selecting the users for online test
selections can !e done within less time.
$elections can !e done for any !ranches of the
company.
Need for comp#teri$ation:
Time plays an important role in today%s world. #ny
information is useful if it is availa!le on the right time. Duic and
correct information at he right time needs computerization. Many
scientists% engineers have to spend their valua!le time to attend a
conference; which is going on a long distance place. "or them even
one second costs millions and millions of dollars. $o this project
will help them to participate in the selecting right person for
companys development.
8/15/2019 Career Information Maintenance System.DOC
9/95
)ere the company is the manufacturer of Transformers and
Stabilizers."or their growth of !usiness they want to employee
people with in less time.The placement cell has a list of jo!s !eing
displayed for the registered and unregistered users.The jo!seeers
can not only view the jo!s !ut also can post and tae online tests
for that jo!. $o the people who get *ualified and have the right
sills are employed. By this the company can select right
employees and not distur! their other activities. This will help
them to !ecome a num!er one position in the current competitive
maret.
The another advantage is that the company is
having !ranches throughout the country. $o this system will help
them to employee people from anywhere for any !ranch. They
don%t need to involve in personally with the jo! seeers and go for
long procedures as followed in manual systems. It will give +n,
line solutions from the superiors to the jo!seeers after taing the
test so that immediately the wor is finished.
-iely there are so many advantages !y usingthis Career Information Maintanance for a company lie NEC.
Features:
6
8/15/2019 Career Information Maintenance System.DOC
10/95
$electing silled and professionally needed
person for the jo!.
$upport of multiple users.
By selecting the users for online test
selections can !e done within less time.
$elections can !e done for any !ranches of the
company.
%AT&ORM'AC(AGE! !E%ECTED
&'
8/15/2019 Career Information Maintenance System.DOC
11/95
)INDO)! NT:
indows NT is an operating system
developed !y Microsoft. Two versions of NT are availa!leF a
server version and a worstation version. Both share the same
architecture; !ut the server version is optimized for running server
operations; while the worstation version is intended for client
machines. indows NT worstation is focussed on providing a
destop operating system for solving comple< !usiness needs;
offering performance for systems such as dual,processor
worstation or multiprocessor 0I$C servers.
indows NT is a 4,!it operating system. It offers much greater
data transfer speed than a &8 !it operating system; !othwith in the processor and to peripherals; and it allows a
much larger memory space to !e addressed; !oosting
performance even more. The larger memory space means
that 4,!it operating systems have the !and width to offer
other processing advantages; such as the a!ility to run
different applications in separate memory spaces; perform
multitasing and so on.
&&
8/15/2019 Career Information Maintenance System.DOC
12/95
NT worstation re*uires a powerful system. # minimum
configuration of a ?8 1C with &8 M!ytes of 0#M and ''
M!ytes of hard dis is recommended !y the Microsoft.
indows NT worstation uses pre,emptive multitasing; which
allows users to run tass simultaneously; without losing system
performance. 1re,emptive multitasing assigns processing
resources e*ually !etween all the applications that are running;
slowing down all of them e*ually.
Multitasing; which is provided !y; NT is vital for taing
advantage of multiprocessing. It allows different parts of a
program to !e handled independently !y the operating systems
indows NT provides crash protection !y running applications in
separate address spaces. NT protects system resources !y giving
each application a mirror of the system resources within its own
spaces. If the application crashes only the mirrored resources; is
affected; while the real system resources; continues to function.
NT meets the security certification re*uirements for users level
security on access to a standalone worstation. "iles; folders and
application can !e made invisi!le to specific users. It also provides
&
8/15/2019 Career Information Maintenance System.DOC
13/95
secure user profiles to control access to the destop applications
and system configuration files. # transacted file offers increased
data protection. NT worstation comes with the most common
networing protocols; including Netware; TC1GI1; I1HG$1HG $-I1
and 111. It also scala!le and runs on a variety of platforms.
#s more powerful mainstream machines are developed;
technologies created for NT worstation will migrate to indows
6A. The advantage is this compati!ility !rings to customers an
users are that applications can !e shared across the two operating
systems; that training needs are reduced as ease of use is increased
and the that the larger volume of application leads to lower
software and support cost.
HTM%:
To pu!lish information for glo!al distri!ution; one
needs a universally understood language; a ind of pu!lishing
&4
8/15/2019 Career Information Maintenance System.DOC
14/95
mother tongue that all computers may potentially understand. The
pu!lishing language used !y the orld ide e! is )TM-
2)yper Te
8/15/2019 Career Information Maintenance System.DOC
15/95
in late &66?. )TM- 2&6643 and 2)TM-.4'J3 2&66A3 proposed
much richer versions of )TM-; despite never receiving consensus
in standards discussions; these drafts led to the adoption of new
features. The efforts of the )orld )ide )e* Con,orti#m.,
)TM- woring group to codify common practice in &668 resulted
in )TM- 4. 25anuary &6673. Most people agree that )TM-
documents should wor well across different !rowsers and
platforms. #chieving interopera!ility lowers costs to content
providers since they must develop only one version of a document.
If the effort is not made; there is much greater ris that the e!
will devolve into a proprietary world of incompati!le formats;
ultimately reducing the e!%s commercial potential for all
participants.
Ta*le,:
#uthors now have greater control over structure and
layout 2e.g. column groups3. The a!ility of designers to
recommend column widths user agents to display ta!le data
incrementally 2as it arrives3 rather than waiting for the entire ta!le
!efore rendering.
Compo#nd doc#ment,:
&A
8/15/2019 Career Information Maintenance System.DOC
16/95
)TM- now offers a standard mechanism for
em!edding generic media o!jects and applications in )TM-
documents. The +B5ECT element 2together with its more specific
ancestor elements IM/ and #11-ET provides a mechanism for
including images; video; sound; mathematics; specialized
applications; and other o!jects in a document. It also allows
authors to specify a hierarchy of alternate renderings for user
agents that don%t support a specific rendering.
!t-le ,+eet,:
$tyle sheets simplify )TM- marup and largely
relieve )TM- of the responsi!ilities of presentation. They give
!oth authors and users control over the presentation of documents,
font information; alignment; colors; etc.
$tyle information can !e specified for specific elements or groups
of elements either within an )TM- document or in separate style
sheets. The mechanism for associating a style sheet with a
document is independent of the style sheet language. Before the
advent of style sheets; authors had limited control over rendering)TM- 4. included a num!er of attri!utes and elements offering
control over alignment; font size; and te
8/15/2019 Career Information Maintenance System.DOC
17/95
relatively long time it taes for users to upgrade their !rowsers;
means that these features will continue to !e used for some time.
)owever; since style sheets offer more powerful presentation
mechanisms; the orld ide e! Consortium will eventually
phase out many of )TM-%s presentation elements and attri!utes.
!criptin/:
Through scripts; authors may create Ksmart formsL that
react at users fill them out. $cripting allows designers to create
dynamic e! pages; and to use )TM- as a means to !uild
networed applications. The mechanism provided to associate
)TM- with scripts are independent of particular scripting
languages.
rintin/:
$ometimes; authors will want to mae it easy for users
to print more than just the current document. hen documents
form part of a larger wor; the relationships !etween them can !e
descri!ed using the )TM- -IN element or using 4C%s
0esource :escription -anguage.
De,i/nin/ doc#ment, 0it+ HTM% 123:
&7
8/15/2019 Career Information Maintenance System.DOC
18/95
The following general principles are o!served when
woring with )TM- ?.'
!eparate ,tr#ct#re and pre,entation
)TM- has its roots in $/M-; which has always
!een a language for the specification of structural marup. #s
)TM- matures more and more of its presentational elements and
attri!utes are !eing replaced !y other mechanisms; in particular
style sheets. E
8/15/2019 Career Information Maintenance System.DOC
19/95
configurations. In order for documents to !e interpreted correctly;
designers should include in their document information a!out the
natural language and direction of the te
8/15/2019 Career Information Maintenance System.DOC
20/95
5ava was conceived !y 5ames /osling; 1atric
Naughton; Chris arth; Ed "ran and Mie $heridan at $=N
Micro $ystems Inc Corporation in &66&. It too &months to
develop the first woring version. This language was initially
called +#; !ut was renamed 5#@# in &66A. Before the
initial implementation of +# in &66 and the pu!lic
announcement of 5ava in&66A; many more contri!uted to the
design and evolution of the language.
5A6A O6ER6IE):
5ava is powerful !ut lean on +!ject +riented
programming language. It has generated a lot of e
8/15/2019 Career Information Maintenance System.DOC
21/95
standalone applications as well. It is !ecoming so popular that
many people !elieve it will !ecome standard language for !oth
general purpose and Internet programming.
There are many !uzzwords associated with 5ava;
!ut !ecause of its spectacular growth in popularity; a new !uzz
word has appeared am!iguous; Indeed; all indications are that it
will soon !e everywhere.
5ava !uilds on the strength of COO. It has taen the
!est features of COO and discarded the more pro!lematic and error
prone parts. To this lean core; it has added gar!age collection
2automatic memory management3; multithreading 2the capacity for
one program to do more than one thing at a time3; security
capa!ilities. The result is that 5ava is simple; elegant; powerful
and easy to use.
5ava is actually a platform consisting of three
componentsF
&. 5ava programming language. . 5ava is li!rary of classes and interfaces.
4. 5ava is a @irtual Machine.
The following sections will say more a!out these componentsF
&
8/15/2019 Career Information Maintenance System.DOC
22/95
5A6A I! ORTAB%E:
+ne of the !iggest advantages 5ava offers is that it
is porta!le. #n application written in 5ava will run on all the major
platforms. #ny computer with a 5ava !ased !rowser can run the
applications or applets written in the 5ava programming language.
# programmer no longer has to write one program to run on a
Macintosh; another program to run on a indows machine; still
another to run on a =NIH machine; and so on. In other words;
with 5ava; developers write their programs only once. The @irtual
Machine is what gives 5ava its cross platform capa!ilities. 0ather
than !eing compiled into Machine language; which is different for
each operating systems and computer architecture; 5ava code is
compiled into !yte codes.
ith other languages; the program code is compiled
into a language that the computer can understand. The pro!lem is
that other computers with different machine instruction set cannot
understand that language. 5ava code; on the other hand is compiledinto !yte codes rather than a machine language. These !yte codes
go to the 5ava @irtual Machine; which e
8/15/2019 Career Information Maintenance System.DOC
23/95
translates them into the language that is understood !y the machine
running it.
ith 5:BC #1I e
8/15/2019 Career Information Maintenance System.DOC
24/95
The class paradigm allows one to encapsulate data
so that specific data values are those using the data can not see
function implementation. Encapsulation maes it possi!le to mae
the changes in code without !reaing other programs that use that
code. If for e
8/15/2019 Career Information Maintenance System.DOC
25/95
developers have reported slashing development time !y as much as
two thirds. The following is a list of some of 5avas features that
mae it easier to write correct codeF
GARBAGE CO%%ECTION:
#utomatically taes care of allocating and de
allocating memory; a huge potential source of errors. If an o!ject
is no longer !eing used 2has no references to it3; then it is
automatically removed from memory; or /ar!age Collected.
1rogrammers dont have to eep trac of what has !een allocated
and de allocated themselves; which maes their jo! a lot easier;
!ut; more importantly it stops memory leas.
NO OINTER!:
Eliminates !ig source errors. By using o!ject
references instead of many pointers; pro!lems with pointer
arithmetic are eliminated; and pro!lems with inadvertently
accessing the wrong memory address are greatly reduced.
!TRONG T"ING:
A
8/15/2019 Career Information Maintenance System.DOC
26/95
Cuts down on runtime errors. Because 5ava enforces strong
type checing; many errors are caught when code is compiled.
:ynamic !inding is possi!le and often very useful; !ut static
!inding with strict type checing is used when possi!le.
!IM%ICIT":
5ava is made easier to learn and use correctly. 5ava
eeps it simple !y having just one way to do something instead of
having several alternatives; as in some languages. 5ava also stays
lean !y not including multiple inheritance; which eliminates the
errors and am!iguity that arise when you create a su!class that
inherits from two or more classes. To replace capa!ilities; multiple
inheritance provides 5ava lets you add functionality to a class
throw the use of interfaces.
5A6A INC%UDE! A %IBRAR" O& C%A!!E! AND
INTER&ACE!:
The 5ava platform includes an e
8/15/2019 Career Information Maintenance System.DOC
27/95
Both classes and interfaces contain data mem!ers
2fields3 and functions 2methods3; !ut there are major differences.
In a class; fields may !e either varia!le or constant; and methods
are fully implemented. In an interface; fields must !e constants;
and methods are just prototypes with no further implementations.
The prototypes give the method signature 2the return type; the
function name; and the num!er of parameters; with the type for
each parameter3; !ut the programmer must supply
implementations. To use an interface; a programmer defines a
class; declares that it implements the interface; and then
implements all the methods in that interface as part of the class.
These methods are implemented in a way that is
appropriate for the class in which the methods are !eing used.
Interfaces let one add functionality to a class and give a great deal
of fle
8/15/2019 Career Information Maintenance System.DOC
28/95
7ava2lan/ 88 This pacage is so !asic that it is automatically
included in any 5ava program. It includes classes dealing with
numeric; strings; o!jects; runtime; security and threads.
5ava2io 88 Classes that manage reading data from input streams and
writing data to the output streams.
5ava2#til 88 Miscellaneous utility classes; including generic data
structures; !it sets; time; date; the string manipulation; random
num!er generation; system properties; notification and
enumeration of data structures.
5ava2net 88 Classes for networ support.
5ava2a0t 88Classes that manage user interface components such
as windows; dialog !o
8/15/2019 Career Information Maintenance System.DOC
29/95
5ava2applet 88 The #pplet class; which provides the a!ility to write
applets; this pacage also includes several interfaces that connect
an applet to its document and to resources for playing audio.
5ava2,9l 88 The 5:BC #1I; classes and interfaces that access
data!ases and send $D- statements.
The first three pacages listed; java.lang; java.io;
and java.util form the foundation; they are the !asic classes and
interfaces for general,purpose programming. 5ava :evelopment
it @ersion&.& added some new pacages; with
5:BC is !eing one of them. +ther new pacages include such
things as 0emote Method Invocation; $ecurity and 5ava Beans the
new #1I for creating reusa!le components.
5A6A I! ETEN!IB%E:
# !ig plus for 5ava is the fact it can !e e
8/15/2019 Career Information Maintenance System.DOC
30/95
e
8/15/2019 Career Information Maintenance System.DOC
31/95
layout decisions. #s a result; a programmer not loos at a class
definition and figure out how it might !e laid in memory.
2 T+e 0a- cla,,e, are loaded: The 5ava !yte code loader; another
part of the virtual machine; checs whether classes loaded during
program e
8/15/2019 Career Information Maintenance System.DOC
32/95
5A6A ER&ORM! )E%%:
5avas performance is !etter than one might e
8/15/2019 Career Information Maintenance System.DOC
33/95
management; pointers and multiple inheritance. 5ava offers good
performance with the advantages of high level languages !ut
without the disadvantages of C and COO. In the world of design
trade,off; you can thin of 5ava as providing a very attractive
middle ground.
5A6A I! ROBU!T:
The multi platform environment of the EB places
e
8/15/2019 Career Information Maintenance System.DOC
34/95
To understand how 5ava is ro!ust; consider two main reasons for
program failureF
Memory management mistaes and mishandled e
8/15/2019 Career Information Maintenance System.DOC
35/95
!andwidth transmission over the Internet. In addition the 5ava
+perating $ystem offers a standalone 5ava platform that eliminates
host operating system overhead while still supporting the full 5ava
platform #1I. This maes 5ava ideal for low cost networ
computers whose sole purpose is to access the Internet.
5A6A I! MU%TITHREADED:
Multithreading is simply the a!ility of a program to
do more than one thing at a time. "or e
8/15/2019 Career Information Maintenance System.DOC
36/95
#ctive 1rograms. "or e
8/15/2019 Career Information Maintenance System.DOC
37/95
provides a standard #1I for toolGdata!ase developers and maes
it possi!le to write data!ase applications using a pure 5ava #1I.
=sing 5:BC; it is easy to send $D- statements to
virtually any relational data!ase. In other words; with the 5:BC
#1I; it is not necessary to write one program to access a $y!ase
data!ase; another program to access a +racle data!ase; another
program to access a Informi< data!ase; and so on.. +ne can write a
single program using the 5:BC #1I; and the program will !e a!le
to send $D- statements to the appropriate data!ase. #nd with in an
application written in 5ava programming language; one also doesnt
have to worry a!out writing different applications to run on
different platforms. The com!ination of 5ava and 5:BC lets a
programmer to write it once run it anywhere.
5ava; !eing ro!ust; secure; easy to understand; and
automatically downloaded on a networ; is an e
8/15/2019 Career Information Maintenance System.DOC
38/95
we! page containing an applet that uses information o!tained from
a remote data!ase or an enterprise can use 5:BC to connect all this
employees 2even if they are using conglomeration of indows;
Macintosh; and =ni< machines3 to one or more internal data!ases
via an Internet. ith more and more programmers using the 5ava
programming language; the need for easy data!ase access from
5ava is continuing to grow.
MI$ managers lie the com!ination of 5ava and 5:BC
!ecause it maes disseminating information easy and economical.
Businesses can continue to use their installed data!ases and access
information easily even of it is stored on different data!ase
management systems. :evelopment time for new applications is
short. Installation and version controls are greatly simplified. #
programmer can write an application or an update once; put it on
the server; and every!ody has access to the latest version. #nd for
!usiness selling information services; 5ava and 5:BC offer a !etter
way of getting out information updates to e
8/15/2019 Career Information Maintenance System.DOC
39/95
&. Esta!lish a connection with the data!ase
. $end $D- statements
4. 1rocess the results
The following code fragment gives a !asic e
8/15/2019 Career Information Maintenance System.DOC
40/95
program that must !e e
8/15/2019 Career Information Maintenance System.DOC
41/95
"ig. E
8/15/2019 Career Information Maintenance System.DOC
42/95
with 5avaF for e
8/15/2019 Career Information Maintenance System.DOC
43/95
8/15/2019 Career Information Maintenance System.DOC
44/95
+:BC Bridge. The *uestion now !ecomes Shy do you need
5:BC%R There are several answers to this *uestionF
&. +:BC is not appropriate for direct use from 5ava; !ecause it
uses a C interface. Calls from 5ava to native C,code have a
num!er of draw!acs in the security; implementation ro!ustness
and automatic pro!a!ility of applications.
. # literal translation of the +:BC C #1I into a 5ava #1I would
not !e desira!le. "or e.g.; 5ava has no pointers; and +:BC
maes copious use of them; including the notoriously error,
prone generic pointer Kvoid L. 9ou can thin of 5:BC ac
+:BC translated into an o!ject,oriented interface that is natural
for 5ava programmers.
4. +:BC is hard to learn. It mi
8/15/2019 Career Information Maintenance System.DOC
45/95
drivers must !e manually installed on every client machine.
hen the 5:BC driver is written completely in 5ava; however;
5:BC code is automatically installa!le; porta!le; and secure on
all 5ava platforms from networ computers to mainframes.
In summary; the 5:BC #1I is a natural
5ava interface to the !asic $D- a!stractions and concepts. It
!uilds on +:BC rather than starting from scratch; so
programmers familiar with +:BC will find it very easy to learn
5:BC. 5:BC returns the !asic design features of +:BCP in fact
!oth interfaces are !ased on the 2HG+pen $D- C-I 2Call -evel
Interface3. The !ig difference is that 5:BC !uilds on end
reinforces the style and virtues of 5ava; and; of course it is easy
to use.
More recently; Microsoft has introduced new #1Is
!eyond +:BCF 0:+; #:+; and +-E dB. These designs move
in the same direction as 5:BC in many ways; that is; in !eing an
o!ject,oriented data!ase interface !ased on classes that can !e
implemented on +:BC. )owever; there is no compellingfunctionality in any of these interfaces to mae them an
alternative !asis to +:BC; especially with +:BC driver maret
well esta!lished. Mostly they represent a thin veneer on +:BC.
?A
8/15/2019 Career Information Maintenance System.DOC
46/95
This is not to say that 5:BC does not need to evolve from the
initial releaseP however; the general feeling is that most new
functionality !elongs in higher,level #1Is such as the
o!jectGrelational mappings and em!edded $D- mentioned in the
previous section.
T+,TIE0 #N: T)0EE,TIE0 M+:E-$F
The 5:BC #1I supports !oth two,tier and three,
tier models for data!ase access. In the two,tier model; # 5ava
applet or application tals directly to the data!ase. This re*uires a
5:BC driver that can communicate with the particular data!ase
management system !eing accessed. # user%s $D- statements are
delivered to the data!ase; and the results of those statements are
sent !ac to the user. The data!ase may !e located on another
machine to which the user is connected via a networ. This is
referred to as a clientGserver configuration; with the user%s machine
as the client; and the machine housing the data!ase as the server.
The networ can !e the Intranet; which; for e
8/15/2019 Career Information Maintenance System.DOC
47/95
"ig. Two,tier #rchitecture
In the three,tier models; commands are send to a
middle,tier of services; which then send $D- statements to the
data!ase. The data!ase process the $D- statements and then send
the results !ac to the middle tier; which then sends them to the
user. MI$ directors find the three,tier model very attractive
!ecause the middle tier maes it possi!le to maintain control over
access and the inds of updates that can !e made to corporate data.
Client
$erver
?7
Presentation
FunctionalityApplication
ServerData Server
DATARDBMSLegacy
applicationRemote
8/15/2019 Career Information Maintenance System.DOC
48/95
"ig. Three,Tier #rchitecture
=ntil now the middle tier has typically !een written in
languages such as C or COO; which offers fast performance.
)owever; with the introduction of optimizing compilers that
translate 5ava B9TEC+:E into efficient machine,specific code; it
is !ecoming practical to implement the middle tier in 5ava. This is
a !ig plus; maing it possi!le to tae advantage of 5avas
ro!ustness; multithreading; and security features. 5:BC is
important to allow data!ase access from 5ava middle tier.
!% ER&OMANCE:
$tructured Duery -anguage 2$D-3 is the standard
language for accessing relational data!ases. +ne area of difficulty
is that most :BM$ use a standard form of $D- for !asic
functionality; they do not conform to the most recently defined
standard $D- synta< or semantics for more advanced functionality.
"or e
8/15/2019 Career Information Maintenance System.DOC
49/95
more and more functionality. In the mean time; the 5:BC #1I
must support $D- as it is.
+ne way the 5:BC #1I deals with this pro!lem is to
allow any *uery string to !e passed through to an underlying
:BM$ driver. This means that application is free to use as much
$D- functionality as desired; !ut it runs the ris of receiving an
error on some :BM$. In fact; an application *uery need not even
!e $D-; or it may !e a specialized derivative of $D- designed for
specific :BM$ 2for document or image *ueries; for e
8/15/2019 Career Information Maintenance System.DOC
50/95
that applications adapt to the re*uirements and capa!ilities of each
:BM$.
Because the 5:BC will !e used ad a !ase #1I for
developing higher,level data!ase access tools and #1Is; it also has
to address the pro!lem of conformance for any thing !uilt on it.
The designation 5:BC C+M1-#INT was created to set a
standard level of 5:BC functionality on which the users can rely.
In order to use this designation; a driver must support at least;
#N$I $D-, Entry level. 2#N$I $D-, refers to the standard
o!tained !y the #merican National $tandards Institute in &66.
Enter level refers to a specific list of $D- capa!ilities.3 :river
developers can ascertain that their drivers meet these standards !y
using the test suite availa!le with the 5:BC #1I.
The 5:BC C+M1-#INT designation indicates that a
vendors 5:BC implementation has passed the conformance tests
provided !y 5ava$oft. These performance tests chec for the
e
8/15/2019 Career Information Maintenance System.DOC
51/95
5:BC #1I !y data!ase vendors; connectivity vendors; Internet
$ervice @endors; and application writers; 5:BC is *uicly
!ecoming the standard for 5ava data!ases.
5DBC RODUCT!:
#t present; a num!er of 5:BC,!ased products have
already !een developed or under development. +f course; the
information in this section will *uicly !ecome dated; so one
should consult the 5:BC we! page
=0-FhttpFGGwww.javasoft.comGproductsGjd!c for the latest
information.
5ava!oft &rame 0or=:
5ava $oft provides three 5:BC product components as a
part of the 5ava :evelopment it 25:3F
• the 5:BC driver manager
• the 5:BC driver test suit; and
• the 5:BC,+:BC !ride
The 5:BC driver manager is the !ac!one of the
5:BC architecture. It actually is *uite small and simpleP its
A&
8/15/2019 Career Information Maintenance System.DOC
52/95
primary function is to connect the 5ava applications to the
correct 5:BC driver and then get out of the way.
The 5:BC driver test suite provides some confidence
that 5:BC drivers will run your program. +nly drivers that pass
the 5:BC driver suite can !e designated 5:BC C+M1-#INT.
The 5:BC,+:BC !ridge allows +:BC drivers to !e
used as 5:BC drivers. It was implemented as a way to get 5:BC
off the ground *uicly; and long term will provide a way to access
some of the less popular :BM$ if 5:BC drivers are not
implemented for them.
5DBC DRI6ER T"E!:
The 5:BC drivers that are availa!le at this time fit into
one of the four categoriesF
&. 5:BC,+:BC !ridge plus +:BC driverF The 5ava$oft !ridge
product provides 5:BC access via +:BC drivers. Note that+:BC !inary code; and in many cases data!ase client code;
must !e loaded on each client machine that uses this driver.
A
8/15/2019 Career Information Maintenance System.DOC
53/95
#s a result; this ind is most appropriate on a
corporate networ where client installations are not a major
pro!lem; or for application server code written in 5ava in a
three,tier architecture.
. Native,#1I partly,5ava driverF This ind of driver converts
5:BC calls into calls on the client #1I for +racle; $y!ase;
Informi
8/15/2019 Career Information Maintenance System.DOC
54/95
?. Native,protocol pure 5ava driverF This ind of driver converts
5:BC calls into the networ protocol used !y the :BM$
directly. This allows a direct call from the client machine to the
:BM$ server and is a practical solution for Internet access.
$ince many of these protocols are proprietary; the data!ase
vendors themselves will !e the primary source; and several
data!ase vendors have these in progress.
A. Eventually; it is e
8/15/2019 Career Information Maintenance System.DOC
55/95
The following chart shows the four categories and their
propertiesF
:0I@E0 C#TE/+09 #-- 5#@# NET
10+T+C+-
&. 5:BC,+:BC !ridge No :irect
. Native #1I as !asis No :irect
4. 5:BC, Net Connector 9es 0e*uires
?. Native protocol as !asis 9es :irect
5DBC INTER&ACE!:
Connection Overvie0:
# connection o!ject represents a connection with a
data!ase. Connection session includes the $D- statements that are
e
8/15/2019 Career Information Maintenance System.DOC
56/95
referred to as the 5:BC manager layer; attempts to locate a driver
than it connect to the data!ase represented !y that =0-. The
:riverManager class maintains a list of registered :river classes;
and when the method getConnection is called; it checs with each
driver in the list until it finds one that can connect to the data!ase
specified in the =0-. The driver method connects uses this =0- to
actually esta!lish the connection.
The user can !y pass the 5:BC management layer and
call driver methods directly. This could !e useful in the rare case
that two drivers can connect to a data!ase and the user user wants
to e
8/15/2019 Career Information Maintenance System.DOC
57/95
of the drivers that are availa!le and handles esta!lishing a
connection !etween a data!ase and the appropriate driver. In
addition; the :riverManager class attends to things lie driver
login time limits and the printing of log and tracing messages.
"or simple applications; the only method in this class
that a general needs to use directly is
:riverManager.getConnection. #s its name implies; this method
esta!lishes a connection to a data!ase. 5:BC allows the user to call
the :riverManager methods get:river; get:rivers; and
register:river as well as the driver method connect; !ut in most
cases it is !etter to let the :riverManager class manage the details
of Esta!lishing a Connection $tatementF
!tatement Overvie0:
# statement o!ject is used to send $D- statements
to a data!ase. There are actually three inds of statement o!jects;
all of which act as containers for e
8/15/2019 Career Information Maintenance System.DOC
58/95
o!ject is used to e
8/15/2019 Career Information Maintenance System.DOC
59/95
changing the )TM- files themselves. #ll of these common items
are contained in a single fileUcalled the template file.
AD6ANTAGE!:
The o!vious advantage of using the )TM-
Templates feature is that you can esta!lish; and later update; the
way multiple files appear all from one template file. This is
especially helpful in cases where content is created !efore the
presentation is decided or when content from multiple origins must
!e com!ined into some cohesive presentation. 0ather than go !ac
and edit all those files; you simply create a template filewhich
uniformly applies the desired presentation elements.
Besides the application of headers and footers to
your )TM- files; you can also define !ody content to appear
!efore or after the content of the source )TM- documents. This
can !e a simple !ut powerful way of including information.
)+at t+e 5ava )e* !erver Doe,
A6
8/15/2019 Career Information Maintenance System.DOC
60/95
8/15/2019 Career Information Maintenance System.DOC
61/95
#nd; under the $ervlets Invoed column; template.
If there is no entry for Gtemplate in the #lias
column; select the last entry in the #lias field; clic #dd. This will
create a new entry space into which you should type Gtemplate. )it
ta! ey to move to the $ervlet Invoed column and then type
template.
)ell formed HTM% &ile:
Be sure that your source )TM- files 2to which the
templates will !e applied3 are Kwe W formedL. This means that the
)TM- is correctly formed with an opening X)TM-Y tag; a headsection enclosed !y X)E#:YXG)E#:Y tags; a !ody section enclosed
!y XB+:9YXGB+:9Y tags; and a closing XG)TM-Y T#/. The
template servlet%s parser is very strictUif you don%t have proper
marup; you may see pages with no content.
The default template file goes in the document !ase
directory. In general; there needs to !e only one default template
file per document set. )owever; lie the default template files;
more can !e used in su!directories to override attri!utes present in
the parent default template file.
8&
8/15/2019 Career Information Maintenance System.DOC
62/95
To #,e t+e Template, feat#re:
&. $pecify the Common Elements
Create a file with named default template. This
template file should he a well,formed )TM- file containingF
opening )TM- tag; a )E#: section; a B+:9 section; and a
closing )TM- tag. Insert one or more presentations; elements into
the desired locations in the template file W just as you would insert
these elements into any )TM- files.
$ome of the presentation elements we might want
to apply to our files include :ocument color scheme 2for e
8/15/2019 Career Information Maintenance System.DOC
63/95
source document%s )E#: section into the )E#: section of the
template file
B: In t+e BOD" ,ection F,#*,et dataBOD"F',#*,t
This is another )TM- e
8/15/2019 Career Information Maintenance System.DOC
64/95
c. =nder Configure; scroll down to template
d. Clic on template
# ta!!ed note!oo will !e shown. The
Configuration of the note!oo tells you the full class name of the
templates. These are also -oaded at $tartup and -oaded Now
entries on the page; these should !oth indicates 9es. If they do not;
then set them to 9es !y pressing the 9es radio !utton.
&. Indicates the files to which the Templates should !e applied
$pecifying the files to which the template should !e applied
involves using the $ervlet #lias feature of the 5ava e!
$erver%s #dministration Tool. Brief instructions are provided
!elow. "or more information on mapping files or directories top
servlet aliases; see $ervlet #lias.
To map a set of files to a servlet alias; in the
#dministration ToolF
a. $elect e! $ervice and clic Manage
!. Clic the $etup !utton.
c. :ou!le,clic $ervlet #liases.d. In the #lias column; enter the G template directory or
a filename pattern 2such as html3 to which the alias
will apply.
8?
8/15/2019 Career Information Maintenance System.DOC
65/95
e. In the $ervlet Invoed co lumen; type template. This
will map the directory to the servlet alias template.
=se of )TM- "ramesF
The template file cannot read in a frame set
from a source file !ecause only the contents of the )E#: section
and the B+:9 section are copied. )owever; there is nothing to
stop you from using files processed !y the template servlet as
content in your own frame set.
$ervletsF
$ervlets provide a 5ava !ased solution used to
address the pro!lems currently associated with doing server,side
programming; including ine
8/15/2019 Career Information Maintenance System.DOC
66/95
loada!le; plugga!le helper !yte code o!jects on the server side that
can !e used to dynamically e
8/15/2019 Career Information Maintenance System.DOC
67/95
A. $ecure,even when downloading across the networ; the servlet
security model and servlet sand!o< protects your system from
unfriendly !ehavior.
T+e Advanta/e of t+e !ervlet AI:
+ne of the great advantages of the $ervlets #1I is
protocol dependence. It assumes nothing a!outF The protocol !eing
used to transmission the )ow it is loaded The server environment
it will !e running in these *ualities are important; !ecause it
allows the $ervlet #1I to !e em!edded in many different inds of
servers. It%s e
8/15/2019 Career Information Maintenance System.DOC
68/95
4. $erver,$ide IncludesF ,$ervlets can !e invoed from
dynamic )TM- documents using tags.
?. 0eplacing C/I $criptF , $ervlets are an effective su!stitute
for C/I script; and provide a faster and cleaner way to generate
dynamic document.
!ER6%ET!
Introd#ction to !ervlet,:
The 5ava$erver product family provides servers that
can !e configured to run one or more servicesF !odies of the code
that implement an application W level protocol; such as "T1;
:)C1; +0 $MT1. $ervlets are modules that run inside re*uest G
response,oriented services and e
8/15/2019 Career Information Maintenance System.DOC
69/95
!ervlet, Arc+itect#re Overvie0:
The central a!straction in the 5$: is the $ervlets
interface. #ll servlets implement this interface; either directly or;
more commonly; !y e
8/15/2019 Career Information Maintenance System.DOC
70/95
from clients that are using application protocols such as the )TT1
1+$T and 1=T methods. $u!classes of $ervlet 0e*uest allow the
servlet to retrieve more protocol,specific data. "or e
8/15/2019 Career Information Maintenance System.DOC
71/95
can also remove $ervlets. They are the steps of a $ervlets life
cycle. The ne
8/15/2019 Career Information Maintenance System.DOC
72/95
save manner. "or e
8/15/2019 Career Information Maintenance System.DOC
73/95
$ervlets that manage resources do so !y overriding the
lifecycle methods init and destroy. These servlets might need to !e
given argument at startup; in order to initialize correctly.
Overridin/ t+e Init Met+od:
:uring initialization; the servlet should prepare the
resources it manages; to ready the servlet for accepting service
re*uests. It can do this without regard for multi,threading
concerns; since there is only a single thread running on !ehalf of
the servlet during initialization. #s soon as the init method returns;
the servlet can receive client re*uests. If; for some reason; the
servlet%s re*uired resources cannot !e made availa!le 2for e
8/15/2019 Career Information Maintenance System.DOC
74/95
you should store the $ervletConfig o!ject yourself; and override
the get$ervletConfig method so that it can o!tain the o!ject from
its new location.
#s you can see; this init method calls the super. init
method to manage the $ervletConfig o!ject. The init method also
sets a field; results:ir; with the directory name that is provided as
an initialization parameter. It no directory name is provided; the
servlet throws an unavaila!le e
8/15/2019 Career Information Maintenance System.DOC
75/95
that initialization; this is not re*uired. "or e
8/15/2019 Career Information Maintenance System.DOC
76/95
applets in that they are faceless o!jects 2without graphics or a /=I
component3. They serve as platform independent; dynamically
loada!le; plugga!le helper Byte Code o!jects on the server side
that can !e used to dynamically e
8/15/2019 Career Information Maintenance System.DOC
77/95
tags. #re secure , even when downloading across the networ; the
servlet security model and $ervlet sand!o< protect your system
from unfriendly !ehavior.
T+e Advanta/e, of t+e !ervlet AI:
+ne of the great advantages of the $ervlet #1I is
protocol Independence. It assumes nothing a!outF
The protocol !eing used to transmit on the net
)ow it is loaded
The server environment it will !e running in
These *ualities are important; !ecause it allows the $ervlet
#1I to !e em!edded in many different inds of servers. There are
other advantages to the $ervlet #1I as well.
These includeF its e
8/15/2019 Career Information Maintenance System.DOC
78/95
The 5ava $erver uses mime types to call servlets se*uentially.
$erver,$ide IncludesF $ervlets can !e invoed from dynamic
)TM- documents using server,side include tags. 0eplacing C/I
$criptsF $ervlets are an effective su!stitute for C/I scripts; and
provide a faster and cleaner way to generate dynamic documents.
INTERNA% !ER6%ET!:
The 5ava TM e! $erver TM servlet architecture is
very fle
8/15/2019 Career Information Maintenance System.DOC
79/95
loads the servlet if necessary; invoes that servlet; and sends
the output of the servlet to the client at the point where the
servlet tag was em!edded.
• Admin !ervlet :
The #dmin servlet facilitates administration of the
5ava we! server through a /=I front end the #dministration
Tool.
• CGI !ervlet :
This servlet acts as a gateway for the C/I &.&
interface. This servlet allows any program that utilizes the
C/I &.& standard to operate under 5ava e! $erver.
!"!TEM CO&IGURATION
!oft0are Detail,
$erver +peration $ystem
indows NT $erver
Client +perating $ystemindows NT or $tation
-anguages =sedF
5ava .'2$ervlets;5sp; 5d!c;
+:BC;TomcatA.'3
76
8/15/2019 Career Information Maintenance System.DOC
80/95
)TM-;
:ataBase F
+racle.
Hard0are Detail,
!erver
1ENTI=M III A'' M)z; ith :ual 1rocessor
&MB 0#M
A8 B EHTE0N#- C#C)E MEM+09
&7 /B )#0: :I$
4 BIT ET)E0 NET
'
8/15/2019 Career Information Maintenance System.DOC
81/95
$@/# C+-+0 M+NIT+0
MIC0+$+"T M+=$E
&' IN:+$%6A E9B+#0:
Client
1ENTI=M II A'' M)z
8? MB 0#M
A8 B EHTE0N#- C#C)E MEM+09
/B )#0: :I$
4 BIT ET)E0NET
$@/# C+-+0 M+NIT+0
-+/ITEC) M+=$E
&'A IN:+$%6A E9B+#0:
%OGICA% DE!IGN
-ogical design is a process through which re*uirements
are translated into a representation of software. Initially the
representation depicts a holistic view of software. $u!se*uent
refinement leads to a design representation that is very close to
source code.
&
8/15/2019 Career Information Maintenance System.DOC
82/95
The conceptual structure of a data!ase is called a schema.
$chema shows the inds of data that e
8/15/2019 Career Information Maintenance System.DOC
83/95
represent four inds of system components. 1rocesses; :ata $tores;
E
8/15/2019 Career Information Maintenance System.DOC
84/95
Data &lo0,
:ata "lows model the passage of data on the system
and represented !y the lines joining the system components. #n
arrow indicates the direction of flow and line is la!eled !y the
name of data flow. "low of data in the system can tae place
Between two processes
"rom a data store to a process
"rom a process to a process
"rom source to a process
"rom a process to a sin.
Arc+itect#ral 6ie0 of CIM!
?
!erver
on
Internet
'Intranet
Client
ClientClient
Client
8/15/2019 Career Information Maintenance System.DOC
85/95
:": "or $erver
A
Server Get
Jobseeke sr
Details
Necdata
Add
persomns
to jobkeers
8/15/2019 Career Information Maintenance System.DOC
86/95
:": "or Client
DATABA!E DE!IGN
8
Client Entry
check
process
Gettin
jobs list
from
server
!ostin
"es#me
8/15/2019 Career Information Maintenance System.DOC
87/95
;2Ta*le Name:Re/i,ter
Name N#ll T-pe
88888888888888888888888888888888888888888 88888888 88888888888
U!ERNAME NOT NU%% 6ARCHAR
8/15/2019 Career Information Maintenance System.DOC
88/95
8/15/2019 Career Information Maintenance System.DOC
89/95
!(I%%! 6ARCHAR
8/15/2019 Career Information Maintenance System.DOC
90/95
Two main types of testing have !een carried out to
ensure that this system is a *uality product; namely the Unit
Te,tin/ and Inte/ration Te,tin/2
Unit Te,tin/:
=nit Testing focuses verification effort on the smallest
unit of software design module. =sing the detailed description as a
guide; important control paths are tested to uncover errors within
the !oundary of the module. The various modules that have
undergone types of input data were given to ensure the
consistency of the module and to ensure that information properly
flows into and out of the program unit under test. The data!ase
integrity is validated during all steps in the e
8/15/2019 Career Information Maintenance System.DOC
91/95
integration testing namely; Top8Do0n Inte/ration and Bottom8
Up Inte/ration. "or the system a com!ination of !oth the types
nown as !and0ic+ Te,tin/ has !een used. The Top,:own
Integration was used during the integration of the various Masters
and the Bottom,up Integration method was used during the
integration of the various modules of the process generation and
the report generation.
The various validations done in this system are given !elowF
Client %o/in !creen:
• The client name is checed; whether it e
8/15/2019 Career Information Maintenance System.DOC
92/95
IN!TA%%ATION AND MAINTENANCE
The CIM$ project can !e installed on the computer using the setup
program. It decomposes and installs the files in the appropriate
directories.
T+e Hard0are and !-,tem Re9#irement,
To run the project; certain hardware and software has to !e
installed on the system. The system re*uirements include
• Microsoft indows NT worstation.
• '?8 of higher microprocessor.
• # hard dis with a minimum of A' mega!ytes availa!le space
for a full installation.
• $@/# or higher,resolution screen supported !y Microsoft
indows.
• 4 MB 0#M.
• &.??%% floppies drive.
6
8/15/2019 Career Information Maintenance System.DOC
93/95
• # mouse or other suita!le pointing device.
CONC%U!ION
The o!jective of this project is to computerize the users
profile and conduct online interviews . Instead of conducting
selections !y going to respective !ranch place we can select them
from main company through placement cell and employee them in
need !ranch.
By using this project they can
64
8/15/2019 Career Information Maintenance System.DOC
94/95
Conduct conferences with their jo! seeers online from the
different !ranches of the company.
The another advantage is that the company is having !ranches
throughout the country so this will help them to communicate
!usiness re*uirements of the company and have up,to,date
information.
By seeing the jo! re*uirement only person having re*uired
sills will post their resumes so no need of short listing.
+n,line tests will still more reduce the wor of the company
and results immediately will clear out the wor.
-iely there are so many advantages !y developing this
maintenance system.
BIB%IOGRAH"
6?
8/15/2019 Career Information Maintenance System.DOC
95/95
• 1atric Naughton and )er!ert $hildt ; K The complete
reference 5ava .'.
• 5oseph -. we!er; S =sing 5ava .' S ; 1)I 1u!lishers.
• arl Moss; S 5ava $ervlets S.
• 5ason )unter with illiam Crawford ; S5ava $ervlet
1rogramming S $1: pu!lications.
• 0oger $ 1ressman; S $oftware Engineering% ; Mc/raw )ill Inc.;
4rd Edition; &66.
• 0oughs pu!lications;%5ava $erver 1rogramming &.4%.