Vous êtes sur la page 1sur 47

Proposed System

Computerized online job search system is developed to facilitate the general administration system to manage information of the job seeker and the job provider.

The webpages are completely designed with the help of JSP(Java Server Page) CSS(Cascading Style Sheets) AJAX(Asynchronous JavaScript and XML)

Java Server Pages (JSP) is a Java technology that helps software developers serve dynamically generated web pages based on HTML, XML, or other document types.

Scriplets In this tag we can insert any amount of valid java code and these codes are placed in _jspService method by the JSP engine. Expressions We can use this tag to output any data on the generated page. These data are automatically converted to string and printed on the output stream.

Let us see a simple example of a JSP page<html> <%@ page language="java"%> <html> <head> <title>Add number program in JSP</title> </head> <body> <% int a=5; int b=2;

Cascading Style Sheets (CSS) CSS is a style sheet language used to describe the presentation semantics (the look and formatting) of a document written in a markup language. CSS is designed primarily to enable the separation of document content from document presentation.

AJAX AJAX is a group of interrelated web development methods used on the client-side to create interactive web applications. Ajax uses a combination of HTML and CSS to mark up and style information.

Authentication
JavaScript is a prototype-based, object-oriented scripting language that is dynamic, weakly typed and has firstclass functions. JavaScript uses syntax influenced by that of C. JavaScript copies many names and naming conventions from Java.

A few javaScript functions used are function checkEmail()- it checks whether the characters of e-mail id contain a @ and a . . function checkfname()- it checks whether the firstname of the person has been entered or not.

checkpwd()- it checks whether the password has been entered or it has more than 6 characters. checkpwdtemp()- it checks whether the re-typed password matches with the password entered earlier.

checkcurrentlocation()-it checks whether the current location in the registration form has been entered or not. checkMobile()-it checks whether the entered mobile number contains 91 and it has total of 12 characters.

Servlets
A servlet is a Java programming language class used to extend the capabilities of servers that host applications accessed via a request-response programming model.

The core interfaces used in servlets usually are HttpServletRequest HttpServletResponse

HttpServletRequest
It enables a servlet to obtain information about a client request. A few of its functios arejava.lang.String - getAuthType() Returns the name of the authentication scheme used to protect the servlet.

Cookie[] getCookies() Returns an array containing all of the Cookie objects the client sent with this request. HttpSession getSession() Returns the current session associated with this request, or if the request does not have a session, creates one.

getParameter(java.lang.String name) Returns the value of a request parameter as a String, or null if the parameter does not exist. public RequestDispatcher Returns a RequestDispatcher object that acts as a wrapper for the resource located at the given path. getRequestDispatcher(java.lang.String path)

HttpServletResponse
It extends the ServletResponse interface to provide HTTPspecific functionality in sending a response. void sendRedirect(java.lang.String location) throws java.io.IOException Sends a temporary redirect response to the client using the specified redirect location URL and clears the buffer.

getWriter java.io.PrintWriter getWriter() throws java.io.IOException Returns a PrintWriter object that can send character text to the client. getContentType java.lang.String getContentType() Returns the content type used for the MIME body sent in this response.

void addCookie(Cookie cookie) Adds the specified cookie to the response. This method can be called multiple times to set more than one cookie.

getLocale java.util.Locale getLocale() Returns the locale specified for this response using the setLocale(java.util.Locale) method.

Java Beans
JavaBeans are reusable software components for Java that can be manipulated visually in a builder tool. They are used to encapsulate many objects into a single object.

The required conventions for java beans are as follows1. The class must have a public default constructor. 2. The class properties must be accessible using get, set methods. 3. The class should be serializable.

Example of getter method/** * Property <code>name</code> (note capitalization) readable/writable. */ public String getName() { return this.name; }

Example of setter method. /** * Setter for property <code>name</code>. * @param name */ public void setName(final String name) { this.name = name; }

Database Management System

A Database Management System (DBMS) is a software package with computer programs that control the creation, maintenance, and the use of a database.

SQL
It is often referred to as Structured Query Language, is a database computer declarative language designed for managing data Its scope includes data insert, query, update and delete, schema creation and modification, and data access control.

Examplepublic static Connection getConnection() throws SQLException{ try { Class.forName("com.mysql.jdbc.Driver").newInstance(); _conn = DriverManager.getConnection(_path,_userName,_passwor d); System.err.println(_path); System.out.println("Successfully connected to " +"MySQL server using TCP/IP...");

} catch (Exception e) { e.printStackTrace(); _conn.close(); System.out.println("Disconnected from database"); }finally{ } return _conn; }

final String query = "select city from location where code='" + code + "'"; try { con = authentication.Database.getConnection(); stmt = con.createStatement(); rs = stmt.executeQuery(query); while (rs.next()) {

value = rs.getString("city"); } } catch (Exception e) { } finally { return value; }

Testing
In computer programming, unit testing is a method by which individual units of source code are tested to determine if they are fit for use. In object-oriented programming a unit is usually an interface, such as a class.

Validation Testing The validation testing goals is to validate and be confident about the software product or system, that it fulfills the requirements given by the customer. Validation testing answers the question "Is the deliverable fit for purpose".

Integration Testing Integration testing takes as its input modules that have been unit tested, groups them in larger aggregates, applies tests defined in an integration test plan to those aggregates, and delivers as its output the integrated system ready for system testing.

System testing, also known as functional and system testing is carried out when the entire software system is ready. While carrying out the tester is not concerned with the internals of the system, but checks if the system behaves as per expectations.

Thank You!

Vous aimerez peut-être aussi