(All Solutions at One Place) : Title of The Project

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 24

JavaBlogs.

org
(all Solutions at one place)

Table of Contents
Title of the project.

Introduction and objectives of the Project. Project category. Analysis (DFDs, ER Diagrams, Class Diagrams etc.) A complete structure Which includes : o Number of modules and their description to provide an estimation of the students effort on the project. o Data Structures as per the project requirements for all the modules. o Process Logic of each module. Tools / Platform, Hardware and Software Requirement specification Security and Validation Checks. Scope of future application. Conclusions Bibliography

Introduction & Objectives Of The Project

Before Starting the project we should fully know about the meaning of project. There are seven letters in the word PROJECT each character has its own technical meaning. Planning: - This deal with the idea at thinking and which are required for the project. Resource:-The money problem will be solved and resources from which collected. Operating:-The procedure from which the getting job is prepared in a systematic way is known as operation.

Joint effort:- This is directly proper to a operation output is made of several


person working sincerely is known as JOINT EFFORT. Engineering: - A well-educated engineer can do this work in a better way to find out better result. Hence the project is as engineering function. Co-operation:- To make the project successfully, it is necessary for its success and completion of project. Technique: - It must as it gives a better shape. It is not possible to complete the project without technique. The project is a system that gives the systematic way of planning and working.

INTRODUCTION Of JAVABLOGS
JAVABLOGS is a web based Java application that is designed for providing

facility of the java professionals, students and aspirants who are willing to take java certification (scjp and others).It provide a platform where any one get any queries related to java and more other resources related to java .If they want to check themselves how much proficient in java they can attend java on line test. It is also helpful for those who want to attend scjp or other certification. In this application there are mainly two modules:(1) On line java test module and another is (2) Java Forum. On line test JAVABLOGS.org is proud to announce the largest collection of java certification question and practice question. As a professional any one can understand the value of sun certification JAVABLOGS understand your need for a high quality practice test .There are many questions that can only test your java skills. This java test not only helps you in preparing for sun certification but also improves skills in java technologies. Java Forum It provides platform where all registered or non registered user can view the queries and those solution but for putting the queries it is required that you must be registered user, without registration you cant put up queries and cant discuss on any problem. JAVABLOGS provides solution of all these problems in the form of easy to configure and use application by automating all these functionality. Its major modules are:

On Line test
Register New User Verify User Set papers with duration Set Question with Answer Test

Java Forum
Register New User Verify User

User Control panel New Queries View your posts View New Posts View unanswered Post View Active Topics Members List FAQ

PROJECT CATEGORY
This Project is coupled with material on how to use the various tool, sub sets available in JSP, SERVLETS AND ORACLE. The need of todays software development is competence in a GUI based front-end tool, which can connect to Relational Database engines. This gives the programmer the opportunity to develop client server based commercial applications. These applications give users the power and ease of a GUI with the multi user capabilities of Novell, UNIX or WinNT based RDBMS engines such as ORACLE . All the important coding techniques used by programmers, in OOPS based coding is brought out in full and in great detail.

System Study & Analysis

PRINCIPLES OF SYSTEM ANALYSIS

1. Understand the problem before you begin to create the analysis model. 2. Develop prototypes that enable a user to understand how human machine interaction will occur. 3. Record the origin of and the reason for every requirement. 4. Use multiple views of requirements like building data, function and behavioral models. 5. Work to eliminate ambiguity.

E-R Diagram
Definition:-An entity-relationship (ER) diagram is a specialized graphic that illustrates the interrelationships between entities in a database. ER diagrams often use symbols to represent three different types of information. Boxes are commonly used to represent entities. Diamonds are normally used to represent relationships and ovals are used to represent attributes.

Introduction Without understanding the relationship between an users with the JAVABLOGS we cannot build the on-line test and forum system. The below E-R Diagram illustrates the relationship between an users and an forum, only then we would be able to design the process that needs to be computerized to build the system. The diagram documents the entities and relationships involved in the user information and on-line test system. It depicts the fundamental relations like recording personnel information, taking test handling queries. The E-R Diagram for JAVABLOGS.org can be simple as well as complex

DOB

Mem_id

Name

Add r

Q_id Queries
Put

Q_date

Member

Emili d

Mem_id

Put

Simple member

Admin

Solution
Take

Test _dat e On-line test forum

upda te

CHANGE (ADD/DELET E)

Test_id

Mem _id

ER-Diagram

DATA FLOW DIAGRAM


DFD
The Data flow Diagram shows the flow of data. It is generally made of symbols given below : (1) A square shows the Entity : (2) (3) (4) A Circle shows the Process: An open Ended Rectangle shows the data store : -An arrow shows the data flow :-

The DFD can be up to several levels. The 0 level DFD states the flow of data in the system as seen from the outward in each module. The first level DFD show more detail, about the single process of the 0 level DFD The second level DFD can show even more details and so on.

Zero Level DFD

Set paper Set question Edit profile

Registered Login

A D M I N

JAVAB LOGS.o rg

Attend test Put up queries View queries & answer

U S E R

Delete member

MEMBERS SECTION Valid id/


(2.0)

User

User id & password

LOGIN PROCESS (1.0)

Simple user

Admin

forum
Visit

Set papers & question with answer Take on line test

Java forum section


(5.0)

On line test section


(3.0)

Maintenance section
(4.0)

Have Shown View & put process Set records


Get Details Get Details Set records

Topic,Queries,us er control panel

Test database
Update profile

Queries and ans db

Profile database

Delete and update queries & answer

1-LEVEL DFD

Data Structures
UserDetails: This table shall store general information of the users. It contains following fields.
(1)

Field name userId mailId password displayName role joiningDate postCount replyCount groupsCount forumsCount
(2)

Data type Number Varchar2 Varchar2 Varchar2 Varchar2 Date Number Number Number Number

Constraint/Description Primary key, Auto Generated Not Null (used as loginId) Not Null Not Null Not Null (admin, member) Not Null Count of posts submitted by the user on all forums Count of replies submitted by the user on all forums Count of groups joined by the user Count of forums joined by the user

GroupDetails: This table shall store information of all user Groups. It contains following fields. Field name groupId groupName Data type Number Varchar2 Constraint/Description Primary key (Auto Generated) Not Null

groupLeader memberCount description


(3)

Number Number Varchar2

Foreign Key (userId of UserDetails) Not Null

GroupUsers: This table shall store information of all the members of a Group. It contains following fields. Field name groupId userId
(4)

Data type Number Number

Constraint/Description Foreign key (GroupDetails) Not Null

ForumDetails: This table shall store information of all the forums. It contains following fields. Field name forumId moderator topic postCount memberCount Data type Number Number Varchar2 Number Number Constraint/Description Primary key (Auto Generated) Foreign Key (userId of UserDetails) Not Null Not Null Not Null

ForumUsers: This table shall store information of all the members of a forum. It contains following fields.
(5)

Field name

Data type

Constraint/Description

forumId userId joiningDate rank postCount replyCount

Number Number Date Varchar2 Number Number

Foreign key (fourmDetails) Foreign Key (userId of UserDetails) Not Null Not Null (moderator, team leader, member) Count of posts submitted by the user on this forum Count of replies submitted by the user on this forum

PostDetails: This table shall store information post of users on a forum. It contains following fields.
(6)

Field name postId poster postDate contents viewCount replyCount voteCount rating

Data type Number Number Date Varchar2 Number Number Number Varchar2

Constraint/Description Primary key (Auto Generated) Foreign Key (userId of UserDetails) Not Null Not Null Not Null Not Null Vote Given by the viewers to the post. Rating given on the basis of votes.

ReplyDetails: This table shall store information replies of a post on a forum. It contains following fields.
(7)

Field name replyId

Data type Number

Constraint/Description Primary key (Auto Generated)

postId replyPoster replyDate contents viewCount voteCount rating

Number Number Date Varchar2 Number Number Varchar2

Foreign Key (PostDetails) Foreign Key (userId of UserDetails) Not Null Not Null Not Null Vote Given by the viewers to the reply. Rating given to the reply on the basis of votes.

Brief Description of all the modules of On line Test:


Register New User: The Popularity of site depends on the no. of users that register themselves on the site. This module is responsible for capturing and submitting the details of all the new users into the on line test system. This information is later retrieved to generate various reports. If any user wants to attend on line test firstly he must be registered, if any user register for on line test they will also registered for java forum. Verify User: This module deals with the verifying the user that he is registered or not if he is registered then check which type of authorization he have he is simple user or admin. If he is admin he can set the papers with duration, set question with answer and delete the user. If he simple user he can attend the on line test.

Set Papers with duration:

In this module admin user set the papers with duration .All papers related to java (ex. Core java, j2ee, struts, ejb, xml etc) are sated by administrator with examination duration. Set Question with right Answer: This module is responsible for entering question for that particular paper. Here administrator entered the multiple choice question related to that paper with appropriate answer.

On line Test: This module provides an interface to perform on line test of


registered user, and give status of test what is score of user and how many question he have attempted how many right and how many wrong. what is score of user. Brief Description of all the modules of Forum:

Register New User for Forum: The Popularity of site depends on the no. of users that register themselves on the site. This module is responsible for capturing and submitting the details of all the new users into the java forum. This information is later retrieved to generate various reports. If any user registered for on line test there is no need to register here. For putting any queries you must be firstly registered without registration any one cant be put any query they may be view the posts. Verify User: This module deals with the verifying the user that he is registered or not if he is registered then check which type of authorization he have he is simple user or admin. If he is admin he can delete any post, set some information for all members, and delete the members. If he simple user he can attend the on line test.

User control Panel: This module provides an interface where users can
monitor, view and update their profile, preferences, subscribed forums and topics .you can also send messages to other users (if permitted) .This module is related to user it has following sub module profile, Board preferences private messages and user groups.

New Queries: This module provides the user to putting the queries any one
can put up any queries on java,j2ee,struts,xml etc.But before putting the queries you must be register (means you are a registered member).

View your posts: In this module we manage all details of posts of all users. Here we manage all the information related to posts of particular member with posting date and time. When you want to view your post you can view with status and other details of posts.

View New Posts: In this module we manage all details of posts which are
new and unanswered. All new post shown to all registered and non registered members. If any member wants to answer the new queries he can do.

View Unanswered post: In this module we manage all details of posts


which are not answered yet. All new post and that post which have not answered are shown here with details of posted by, posted date and posted time.

View Active topic: In this module we manage all details of posts which
are active . All active post are shown here with details of posted by, posted date and posted time. Members List: In this module we show the list of all the registered members with whose full description. Here we show the list of all on line user and off line user. we also provide facility who is on line and what are doing.

Analysis
The analysis audience of this document includes the user, i.e. we analyze the entire thing visiting sites. All significant requirements related to the functionality, performance and other factors are covered by this document. Before requirements can be analyses modeled and specific they are gathered through an elicitation process. Context free questions were asked to the many students professional who are touch with java and work on java in organizations/institutes regarding which type of problems they face whenever they are working.

TOOLS/PLATFORMS, LANGUAGES TO BE USED :Front End Java Server Pages

User friendly GUI Separation of work (designing & coding) Written once run anywhere Middle-Tier

Enterprise Java Beans

Back End Security Performance Scalability Reliability Support RDMS concepts

Oracle

JAVABLOGS.ORG SPECIFICATION: The system specification is the final work produced by the system and requirements engineer. It serves as the foundation for hardware engineering, software engineering, database engineering and human engineering. Once requirements have been gathered explore each requirements in relationship to others, examine requirements for consistency, omissions and ambiguity. After requirements analysis the requirements of JAVABLOGS.com (Online Java forum and On line Test) are as follows: HARDWARE & SOFTWARE REQUIREMENTS Hardware Specification:-

It is recommended that the minimum configuration for clients is as appended below:Suggested Configuration of Windows clients:Microprocessor megahertz (MHz) Ram Hard Disk drive, which CD ROM Drive : - Pentium-4 class processor, 450 : - 256 MB of RAM : - 40 gigabytes (GB) on installation includes 500 MB on system drive. : - 52 X CD ROM Drive

Software requirements: Windows 98 / XP operating system Oracle10g Java,jsp and ejb Weblogic10.0 Windows 2000XP/Windows 2000 NT Operating System The main responsibility of an operating system is to manage computers resources. All activities in the system scheduling application programs, waiting files to disk, sending data across a network and so on should function as seamlessly and transparently as possible. Windows 98 makes your computer easier to use, with new and enhanced feature. Improved Reliability Window xp improves computer reliability by introducing new wizards, utilities and resources that keep your system running smoothly. Faster Operating System Windows xp includes tools that help your computer run faster than Windows 98 with out adding new hardware. Window 98 includes a suite of programs designed to optimized youre web. Integration Windows xp Explorer and Internet Explorer integrate local and Web-based resources in a single viewer computers efficiency, especially when used

together. Window xp makes your computer more entertaining by new hardware. These enhancements provide you with hours of fun. Multitasking Concepts Multitasking in general refers to an operating systems capability to load and execute several applications concurrently. A multitasking operating system is consider a robust and reliable one if it successful shields concurrent applications from each other, making them believe that they system also shields application from others bugs. To a large extent, multitasking operating system relay on system hardware to implement these capabilities. Another important aspect of multitasking is process scheduling. As process are capable of executing only a single stream of instruction at any given, multitasking would obviously not be possible without the technique of the context switching. A context switch, triggered by a specific event (such as an interrupt from a timer circuit or a call by the running application to a specific function), essentially consist of saving the processor context (instruction pointer, stack pointer, register contents) of one running program and loading that of another. In a cooperative multitasking environment, the operating system relies explicitly on applications to yield control by regularly calling a specific set of operating system functions. Context switching takes place at welldefined point during the execution of a program. In a preemptive multitasking environment, the operating system can interrupt the execution of an application at any time. This usually happens when the operating system responds to hardware events, such as a interrupt from a timer circuit. An applications flow of execution can be interrupted at any point, not only at predefined spots. This realizes the complexity of the system

SECURITY MECHANISM:
In the software security there are two levels of security. The 1st level of security, which is provided by the FRONT END and 2nd level of security provided by the database which is being used. SOFTWARE INTERFACE - FRONT END

We have implemented JavaScript for all the Client side validations. Client side JavaScript is designed to reside inside HTML document & ensure they run properly. It is object based, event driven, platform independent. These are important parts of any Web application to implement Client side Validations and the invalid data is not submitted. The form is not submitted until user fills in correct data. It is extremely useful to restrict mistakes by user. We have implemented jsp and ejb in between which is fetching the data values given by the user and storing the input into database (into appropriate tables).jsp and ejb use JDBC thin drivers to make connection with database and store data. Jsp and ejb provides support to execute queries via creating objects of Statement and Connection Interfaces. Java and jsp are object byte codes that can be dynamically loaded off the Internet. Java is platform independent, dynamically loadable.

BACK END
We have used Oracle as the Back end. Oracle Server provides efficient/effective solution for major database tech. - Large database and space management. - Many concurrent database users. - High transaction processing requirement - High Availability - Industry accepted standards - Manageable security - Portability FRONT END SECURITY:This security level is developed or designed by the s/w developer or designer. S/he provides her/his s/w the security for the system, by considering many factors regarding to the particular s/w. In this software following are used to provide security.

LOGIN CHECKING: There are two logins are provided in this software one for admin and another for members. In order to avail the services of software employees have to provide a valid id and password and only after entering correct id and password employee will get entry otherwise they will be blocked from accessing any services of this site. Similarly a login check is provided for user who are login for attending test or putting queries . In order to enter on line test zone user have to enter id and password which they got after registration , in this way security have been provided for both employee section and applicant section. There is also provision to change the password in case password is known by other. BACK END SECURITY:In this particular software our back end used is Oracle. So all the inbuilt security aspects provided by the Oracle database is used as it is. It will provide the strong feature of security so that it will be difficult to change, modify any personal or others data. Information is vital to success, but when damaged or in the wrong hands, it can threaten success. Oracle provides extensive security features to safe guard your information from both unauthorized viewing and intentional or inadvertent damage. This security is provided by granting or revoking privileges on a person- by- person and privilege-by-privilege basis.

Future Scope: Providing the SMS alerts facility to users to remove the dependency on email account (web). Providing the facility who is doing what to see the which member doing what. Nurturing the dream of providing Email account facility to users so they can feel the independence of mail account at the same site.

DEPENDENCIES

It doesnt matter how efficiently the application works, if the bandwidth is not sufficient the transaction will take more time then expected. Oracle and Oracle JDBC thin drivers for connectivity. Java Web server is required for the application. Although this software is architecturally independent but following hardware resources are required. For i.e. any IBM compatible PC or any other workstation with mouse support and relevant software.

Limitation of the Project


- Presently the software is handling only three hierarchical levels. - Only able to handle restricted Category range. - No direct access to members

- we havent store the data of members activity a long time .

REFERENCES
Java-2 Complete Reference
Java Servlet Programming Pure JavaScript HTML complete Java Server Programming - by Patrick Naughton - by O'Reilly - by Jason Gilliam, Charlton Tyre R.Allen Wyke - BPB publications. - by Apress publication.

You might also like