of 50
8/6/2019 Document of Advertising Agency
1/50
HUA THIEN HUE CENTER OF INFORMATION TECHNOLOGY
HUE-APTECH COMPUTER EDUCATION CENTER
ePROJECTePROJECT
COURSE HDSE ACCP 2005
Project name:
ADVERTISING AGENCY
Faculty: Group : BlueFrog teamCao Huu Quyet Members : Vo Phi Hung
Nguyen Van NguyenClass : CP200803L Year II
Hu, [05/2009]
8/6/2019 Document of Advertising Agency
2/50
CERTIFICATE
This is to certify thatGroup: BluerFog...Members:Mr : .Vo Phi Hung..Mr :..Nguyen van Nguyen
Has successfully designed, developed1. Designed for all module, interface include :
Css : use to change interface
Javascript : dynamic cssMainLayout : the base of interface
When the site is requested, application will find and includecomponent to that site and display to user, include :
HeaderFooterSidebarBody
2. Developed all component for web application :Entity : data transfer objectDAO : data access object with DAOFactoryBusiness : include List, Add, EditValidation : struts frameworkLibrary : support work with MD5 and automatic calculatewith Formula (the formula will be entered by manager)
Submitted by: Vo Phi Hung
Date: 22/5/2009Signed by:
Vo Phi Hung
8/6/2019 Document of Advertising Agency
3/50
Table of contents
Advertising Agency
HUA THIEN HUE CENTER OF INFORMATION TECHNOLOGY .................................. 1HUE-APTECH COMPUTER EDUCATION CENTER .................................................. 1................................................................................................................... 1ePROJECT ..................................................................................................... 1Project name: ............................................................................................... 1
Hu, [05/2009] .......................................................................................... 1...................................................................................................................... 2
Table of contents ........................................................................................... 3Problem Definition ............................................................................................ 4Customer Requirement Specification (CRS) ......................................................... 5Customer Requirement Specification (CRS) ......................................................... 7Project plan ..................................................................................................... 9
Project plan .................................................................................................. 9Architecture & Design of the Project ..................................................................10Use Cases ......................................................................................................11Use Cases ......................................................................................................12Use Cases ......................................................................................................14Table Design ..................................................................................................15Table Design ..................................................................................................16Table Design ..................................................................................................18Table Design ..................................................................................................19Table Design ..................................................................................................20Table Design ..................................................................................................22Table Design ..................................................................................................23Relationship Diagram ......................................................................................24
Site Map ........................................................................................................26User interface ................................................................................................27Check list ......................................................................................................32
Unit Testing Checklist ................................................................................... 32...................................................................................................................... 4Task Sheet ....................................................................................................33Install guild ...................................................................................................34
Install JDK 6 ............................................................................................... 35Install NetBean 6.5 ...................................................................................... 36Install MySQL 5 ........................................................................................... 38Install NaviCat ............................................................................................. 40Create new database name : Advdb open it and right click choose excecute batchfile ............................................................................................................. 41
................................................................................................................. 41Open NetBean 6.5 open 2 project AdvertisementAgency and chooseconfig.properties file ..................................................................................... 42
Developer guilde ............................................................................................44................................................................................................................. 45
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 3 -
8/6/2019 Document of Advertising Agency
4/50
Analytic PlanDocument Name:
Problem DefinitionForm No.1
Effective Date: April 18,
2009Version 1.0
Page 1 of
1
The Advertising Agency Department people generally maintain thedetails of theadvertisements through the paper work, because of which severaldiscrepancies takeplace like :
- missing of the information- data mismatch due to the mixing up of data, etc.
Due to the occurrence of these discrepancies, they are losing the
orders and attention of the customers
Due to the several discrepancies that occur in their work, they haveapproachedus to provide a solution by incorporating a stand alone application,through which allthe work that is to be done by the agency people can be easilymanaged and alsothey can overcome the discrepancies that occur in their work.
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 4 -
8/6/2019 Document of Advertising Agency
5/50
Analytic Plan
Document Name:
Customer RequirementSpecification (CRS)
Form No.2
Effective Date: April 18,2009
Version 1.0 Page 1 of2
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 5 -
8/6/2019 Document of Advertising Agency
6/50
Client : Advertising Agency
Business / Project Objective :
(Can address Organization / Business Overview, Products, Concerns, and
Expectation from the System)
Make a website which can be easily managed and also can overcome thediscrepancies
Inputs provided by the Client :
Inputs to the System Outputs from the System Process Involved in the System Expected Delivery Dates List of Deliverables Data Constraints / Triggers / validation Tables
Hardware Requirements :
1. A minimum computer system that will help you access all the toolsin the courses is a Pentium III or better
2. 256 Megabytes of RAM or better3. Windows 98 (or higher if possible)4. Java Virtual Machine
Software Requirements :
1. Notepad/HTML editor/Java editor2. Dream weaver/JavaScript/NetBean 6.53. IE 8/ Firefox 34. GlassFish V25. j2sdk1.4.1_02 (or later) / J2EE6. mysql 5 (or later)7. Tomcat 6.0
Scope of the Work (in brief) :
1. Verification and validation of Adminnistration and Employee2. A menu should be created, which will categorize all the information
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 6 -
8/6/2019 Document of Advertising Agency
7/50
about the function of each person3. The application should calculate the total charges automatically
based on the parameters provided and formula to calculate charge
Analytic PlanDocument Name:
Customer RequirementSpecification (CRS)
Form No.2
Effective Date: April 18, Version 1.0 Page 2 of 2
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 7 -
8/6/2019 Document of Advertising Agency
8/50
2009
Function Project Specification Note
Login
Input Information users login: userID and
Output Login success or failure
EmployeeInput
Information of employee: name,address, city, phone, email.
Output The list of employee use system
AccountInput
Information of account: username,password, activate.
Output The list account in system
Role
InputInformation of each role in system: rolename, description, manage,
advertisement, news.Output The list of role of system
Customer typeInput
Information of each type of customer:name of customer type, formula applywith each type.
Output The list of customer type
FormulaInput
Input formula, some parameter (width,height, content, type, page.)
Output Result after
Unit price Input
Input information of advertisement
part(name, price, unit)Output The list part of advertisement
Advertisementtype
InputInput information of each advertisementtype (name, description..)
Output The list advertisement type
AdvertisementInput
Input information of advertisement, thisinformation be gotten from customer
Output Information and price of advertisement
CustomerInput Input information of customer
Output The list customer
PageInput Information of page (name, description)
Output The list page
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 8 -
8/6/2019 Document of Advertising Agency
9/50
Analytic PlanDocument Name:
Project planForm No.3
Effective Date: April 18,
2009Version 1.0
Page 1 of
1
Project plan
Project details
Name of the Client: Advertisement Agency
Date of Project Plan: 14-April-2009 to 22-May-2009
Project Vision/ Objectives:Launch a website for AdvAgency where a employee can be easilymanaged and also they can overcome the discrepancies that occur intheir work
Scope:
Depending on the decision given by the manager on the
Website to be created, following are the requirements based on
which the website needs to be developed.
1. Verification and validation of Manager
2. Some brief information about AdvAgency should be
displayed such as: How to order, how to calculate charge
3. A Menu should be created, which will include two its
premium function. They are: Manager and Employee
Our understanding of the client organization:
(Easily managed and also they can overcome the discrepancies
that occur in their work, etc.)
Project Organization with Responsibilities andAuthorities:
Project team: BlueFrog Team
Members:
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 9 -
8/6/2019 Document of Advertising Agency
10/50
Vo Phi Hung
Nguyen Van Nguyen
Analytic Plan
Document Name:
Architecture & Design ofthe Project
Form No.4
Effective Date: April 18,
2009 Version 1.0
Page 1 of
1
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 10 -
Tier 1Presentation tier
Tier 3Database tier
Tier 2Middle tier
User Interface JSP
Pages & HTML Pages
Database Acess MySQL
Business logic
Struts action
8/6/2019 Document of Advertising Agency
11/50
Analytic PlanDocument Name:
Use CasesForm No.5
Effective Date: April 18,2009
Version 1.0Page 1 of
3
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 11 -
8/6/2019 Document of Advertising Agency
12/50
Analytic PlanDocument Name:
Use Cases Form No.5
Effective Date: April 18,2009
Version 1.0Page 2 of
3
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 12 -
8/6/2019 Document of Advertising Agency
13/50
No Actor Use Cases Description
1Manager,employee Login input username and password
2Manager,employee Logout logout to login page
3Manager,employee Change password Change password
4 Manager Employee
1.List employeeList all employee inadvertising agency
2.Add employee Input employee information
3.Edit Employeeselect employee to edit andintput new information
4.Delete Employee select employee to delete5 Manager Account
1.List AccountList all account in advertisingagency
2.Add Account Input account information
3.Edit Accountselect account to edit andintput new information
4.Delete Account select account to delete6 Manager Role
1.List RoleList all role in advertisingagency
2.Add Role Input role information
3.Edit Role select role to edit and intputnew information4.Delete Role select role to delete
7 Manager Customer Type1.List Customer
typeList all customer type inadvertising agency
2.Add Customer
typeInput customer typeinformation
3.Edit Customer
typeselect customer type to editand intput new information
4.Delete Customer
type select customer type to delete8 Manager Formula
1.List formulaList all formula in advertisingagency
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 13 -
8/6/2019 Document of Advertising Agency
14/50
2.Add formula Input formula information
3.Edit formulaselect formula to edit andintput new information
4.Delete formula select formula to delete
Analytic Plan Document Name:Use Cases
Form No.5
Effective Date: April 18,
2009Version 1.0
Page 3 of
3
9 Manager Unit price
1.List unit priceList all unit price inadvertising agency
2.Add unit price Input unit price information
3.Edit unit priceselect unit price to edit andintput new information
4.Delete unit price select unit price to delete10 Manage Page
1.List pageList all page in advertisingagency
2.Add page Input page information
3.Edit pageselect page to edit and intputnew information
4.Delete page select page to delete11 Employee Advertisement
1.List
advertisement
List all advertisement in
advertising agency
2.Add
advertisementInput advertisementinformation
3.Edit
advertisementselect advertisement to editand intput new information
4.Delete
advertisement select advertisement to delete12 Employee Customer
1.List CustomerList all customer inadvertising agency
2.Add Customer Input customer information
3.Edit Customerselect customer to edit andintput new information
4.Delete Customer select customer to delete
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 14 -
8/6/2019 Document of Advertising Agency
15/50
Analytic PlanDocument Name:
Table DesignForm No.6
Effective Date: April 18,2009
Version 1.0Page 1 of
1
Table : Customer
Field Name Data
Type
Null Key References
Tables
Description
Customer_id Text (36) No Pk Stores theidentificationnumber ofthe customer
Customer_type_id Text (36) No Fk Customer_Type Stores theidentificationnumber ofthe customertype
Name String(50)
No Stores thename of thecustomer
BirthDay Date/Time Yes Stores thebirthday of
the customerEmail String(50)
No Stores theemail of thecustomer
Sex Boolean No Stores the
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 15 -
8/6/2019 Document of Advertising Agency
16/50
sex of thecustomer
Address String(50)
Yes Stores theaddress ofthe customer
Country String(50) Yes Stores thecountry ofthe customer
City String(50)
Yes Stores thecity of thecustomer
Phone String(50)
Yes Stores thephone of thecustomer
Creadit_card String(16)
Yes Stores thecreadit card
of thecustomer
Creadit_card_type String(25)
Yes Stores thecreadit cardtype of thecustomer
.
Analytic PlanDocument Name:
Table DesignForm No.6
Effective Date: April 18,2009
Version 1.0Page 2 of
1
Table : CustomerTypeField Name Data
Type
Null Key References
Tables
Description
Customer_type_id Text(36)
No Pk Stores theidentification
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 16 -
8/6/2019 Document of Advertising Agency
17/50
number of thecustomer type
Formula_id Text(36)
No Fk Formula Stores theidentificationnumber of the
formulaDescription Text(255)
Yes Stores thedescription ofthe customertype
Table : Formula
Field
Name
Data Type Null Key References
Tables
Description
Formula_id Text (36) No Pk Stores theidentificationnumber of theformula
Name String (50) No Stores the nameof the formula
Formula Text (255) No Stores theformula
Table : Type
Field
Name
Data Type Null Key References
Tables
Description
Type_id Text (36) No Pk Stores theidentificationnumber of thetype
Name Text (50) No Stores the nameof the type
Price Decimal (9) No Stores the priceof the type
Description Text (255) Yes Stores the
description of thetype
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 17 -
8/6/2019 Document of Advertising Agency
18/50
Analytic PlanDocument Name:
Table Design
Form No.6
Effective Date: April 18,
2009Version 1.0
Page 3 of
1
Table : Page
FieldName
Data Type Null Key ReferencesTables
Description
Page_id Text (36) No Pk Stores theidentificationnumber of thepage
Page_name Text (50) No Stores the nameof the page
Price Decimal (9) No Stores the priceof the page
Description Text (255) Yes Stores thedescription ofthe page
Table : UnitPrice
Field
Name
Data Type Null Key References
Tables
Description
id Text (36) No Pk Stores theidentificationnumber
Par_name Text (50) No Stores the nameof the parameter
Unit Text (50) No Stores the unit of the parameter
Charge Decimal (9) No Stores the chargefor this
parameter
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 18 -
8/6/2019 Document of Advertising Agency
19/50
Analytic PlanDocument Name:
Table DesignForm No.6
Effective Date: April 18,2009
Version 1.0Page 4 of
1
Table : Advertisement
Field Name Data Type Null Key ReferencesTables
Description
Advertisement_id Text (36) No Pk Stores the
identificationnumber of theadvertisement
Employee_id Text (36) No Fk Employee Stores theidentificationnumber of theemployee whoadd thisadvertisementto db
Title Text (50) No Stores the titleof theadvertisement
Width Text (36) Yes Stores thewidth of the
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 19 -
8/6/2019 Document of Advertising Agency
20/50
advertisementHeight Text (36) Yes Stores the
height of theadvertisement
Image_path Text (255) Yes Stores image
pathContent Text(1000)
Yes Stores thecontent of theadvertisement
Page_id Text (36) No Fk Page Stores theidentificationnumber of thepage
Begin_date Date/Time No Stores thebegin date
Adv_time Text (36) No Stores theadvertisementtime
Type_id Text (36) No Fk Type Stores theidentificationnumber of thetype
Order_date Date/Time No Stores theorder date
Customer_id Text (36) No Fk Customer Stores theidentification
number of thecustomer
Total_price Decimal(9)
No Stores thetotal price
Pay Boolean No Pay or not
Analytic PlanDocument Name:
Table DesignForm No.6
Effective Date: April 18,2009
Version 1.0Page 5 of
1
Table : Employee
Field Name Data Type Null Key References Description
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 20 -
8/6/2019 Document of Advertising Agency
21/50
Tables
Employee_id Text (36) No Pk Stores theidentificationnumber of theemployee
Role_id Text (36) No Fk Role Stores theidentificationnumber of therole
Name String (50) No Stores thename of thecustomer
BirthDay Date/Time Yes Stores thebirthday ofthe customer
Email String (50) No Stores the
email of thecustomer
Sex Boolean No Stores the sexof thecustomer
Address String (50) Yes Stores theaddress of thecustomer
Country String (50) Yes Stores thecountry of the
customerCity String (50) Yes Stores the
city of thecustomer
Phone String (50) Yes Stores thephone of thecustomer
Creadit_card String (16) Yes Stores thecreadit card ofthe customer
Creadit_card_type String(25) Yes Stores thecreadit cardtype of thecustomer
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 21 -
8/6/2019 Document of Advertising Agency
22/50
Analytic PlanDocument Name:
Table DesignForm No.6
Effective Date: April 18,2009
Version 1.0Page 6 of
1
Table : Role
Field Name Data Type Null Key ReferencesTables
Description
Role_id Text (36) No Pk Stores theidentificationnumber of the role
Role_name Text (50) No Stores the name ofthe role
Manager Boolean No Have managerpermission or not
News Boolean No Have newspermission or not
Advertisement Boolean No Haveadvertisementpermission or not
Table : Feedback
FieldName
Data Type Null Key ReferencesTables
Description
id Text (36) No Pk Stores the
identification numbeNickname Text (50) No Stores the nickname
of the userEmail Text (50) No Stores the email of
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 22 -
8/6/2019 Document of Advertising Agency
23/50
the userFeedback Text (4000) No Stores the feedback
of the user
Table : Account
Field Name Data Type Null Key ReferencesTables Description
Username Text (50) No Pk Stores theusername
Password Text (50) No Stores thepassword
Employee_id Text (36) No Fk Employee Stores theidentificationnumber of theemployee
Activate Boolean Yes Stores the activatestatus of theaccount
Analytic Plan Document Name:Table Design
Form No.6
Effective Date: April 18,
2009Version 1.0
Page 7 of
1
Table : Message
Field
Name
Data Type Null Key References
Tables
Description
Message_id Text (36) No Pk Stores the
identification ofthe message
Sender Text (50) No Fk Account Stores the id hasbeen sended this
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 23 -
8/6/2019 Document of Advertising Agency
24/50
messageReceiver Text (50) No Fk Account Stores the id has
been receivedthis message
Title Text (50) No Stores the title of
the messageMessage Text(4000)
No Stores thecontent of themessage
Table : About us
FieldName
Data Type Null Key ReferencesTables
Description
Id Text (36) No Pk Stores theidentification
Title Text (50) No Stores the title of the about us
Content Text (4000) No Stores the contentof the about us
Table : Contact us
FieldName
Data Type Null Key ReferencesTables
Description
Id Text (36) No Pk Stores theidentification
Title Text (50) No Stores the title of
the contact usContent Text (4000) No Stores the content
of the contact us
Analytic Plan Document Name:Relationship Diagram
Form No.7
Effective Date: May 02,2009
Version 1.0Page 1 of
1
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 24 -
8/6/2019 Document of Advertising Agency
25/50
Analytic Plan Document Name: Form No.8
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 25 -
8/6/2019 Document of Advertising Agency
26/50
Site MapEffective Date: May 02,
2009Version 1.0
Page 1 of
1
Public for all users :
- AdGuide : the guide how to order a new advertisement.- ContactUs : info how to contact us (Developer or Company).- Feedback : the form to feedback to us.- AboutUs : info about newspaper and company.- SiteMap : sitemap about the website.
Private for managers and employees :
- Login : the main page of the management system (you needto login, before do anything else).
o Function bar : include functions to help your work andchange your info.
o All action will be group via categories on the functionbar.
- For all categories like : advertisement, employee, customer.... we have:
o List : display all items from the category, you candelete items here too (check the items you need todelete and choose delete action).
o Add : add the new items to categories.o Edit : edit the item info.
- UnitPrice : edit price for the unit of the parameter will be
used in the formula.- FeedbackView : view the feedback of the user.- SendMessage : send message to another people.
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 26 -
8/6/2019 Document of Advertising Agency
27/50
Analytic PlanDocument Name:
User interfaceForm No.9
Effective Date: May 02,
2009Version 1.0
Page 1 of
4
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 27 -
8/6/2019 Document of Advertising Agency
28/50
Analytic PlanDocument Name:
User interfaceForm No.9
Effective Date: May 02,
2009Version 1.0
Page 2 of
4
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 28 -
8/6/2019 Document of Advertising Agency
29/50
Analytic PlanDocument Name:
User interfaceForm No.9
Effective Date: May 02,2009
Version 1.0Page 3 of
4
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 29 -
8/6/2019 Document of Advertising Agency
30/50
Analytic PlanDocument Name:
User interfaceForm No.9
Effective Date: May 02, Version 1.0 Page 4 of
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 30 -
8/6/2019 Document of Advertising Agency
31/50
2009 4
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 31 -
8/6/2019 Document of Advertising Agency
32/50
Analytic PlanDocument Name:
Check listForm
No.10
Effective Date: May 02,
2009
Version 1.0Page 1 of
1
Unit Testing Checklist
Testing Parameter Result (yes/no)
Fields in forms should be not null Yes
Check date input in form Table booking is valid Yes
Check time input in form Table booking is valid Yes
All restaurant in Table booking is loaded to dropdown list
Yes
All type of food is loaded to drop down list YesAccount number is required all form Yes
Email is valid Yes
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 32 -
8/6/2019 Document of Advertising Agency
33/50
Analytic PlanDocument Name:
Task SheetFormNo.11
Effective Date: May 02,
2009Version 1.0
Page 1 of
1
Task
Activity
planprepared
by
ActualStart
Date
Actual
Days
Team MateNames
Status
ProblemStatement
Hung-Nguyen
04/14/09 2Hung-
NguyenDone
CRSHung-
Nguyen04/16/09 1
Hung-Nguyen
Done
Architecture &
Design of project
Hung-
Nguyen04/17/09 1
Hung-
NguyenDone
Usecase DiagramHung-
Nguyen04/18/09 3
Hung-Nguyen
Done
DatabaseHung-
Nguyen04/23/09 6 Hung Done
SitemapHung-
Nguyen04/23/09 6
Hung-Nguyen
Done
PrototypeHung-
Nguyen04/23/09 6 Nguyen Done
UI & Bussiness
Components
Hung-
Nguyen
05/04/09 10Hung-
Nguyen
Done
Checklist ofValidations
Hung-Nguyen
05/14/09 3Hung-
NguyenDone
SubmissionChecklist
Hung-Nguyen
05/14/09 3Hung-
NguyenDone
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 33 -
8/6/2019 Document of Advertising Agency
34/50
DocumentHung-
Nguyen05/16/09 1
Hung-Nguyen
Done
FinalHung-
Nguyen05/25/09 1
Hung-Nguyen
Done
Analytic PlanDocument Name:
Install guildForm
No.12
Effective Date: May 02,2009
Version 1.0Page 1 of
7
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 34 -
8/6/2019 Document of Advertising Agency
35/50
Install JDK 6
Analytic PlanDocument Name:
Install guilde
Form
No.12
Effective Date: May 02, Version 1.0 Page 2 of
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 35 -
8/6/2019 Document of Advertising Agency
36/50
2009 7
Install NetBean 6.5
- Make sure you had chosen basic module for web and
tomcat server
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 36 -
8/6/2019 Document of Advertising Agency
37/50
Analytic PlanDocument Name:
Install guilde
Form
No.12
Effective Date: May 02,2009 Version 1.0 Page 3 of7
- If you dont want install netbean you can installsingel tomcat with under way:
1.You can downloadhttp://jakarta.apache.org/builds/jakarta-tse/v4.1.24/bin/ orhttp://cvs.apache.org/builds/jakarta-tomcat-5/nightly/.2. After download, you need extract to folder youwant. Exp: C:/Apache23. After you start/run and type:
SET JAVA_HOME=C:\j2sdk1.4.2SET CATALINA_HOME=C:\Apache2\Tomcat
4.Restart and atfter you followstart/run/msconfig :
JAVA_HOME, CATALINA_HOME TABENVIROMENT5.Restart computer and you folllow start/run/cmd:
%CATALINA_HOME%\bin\startup.bat6.You open your webbrowser and type:
http://localhost:8080/7. If you can see home page of tomcat server.You has success install Tomcat server.8. You copy file AdvertisementAgency.war after buildyour project to C:/Apache2/webapps.
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 37 -
http://jakarta.apache.org/builds/jakarta-t%E2%80%A6se/v4.1.24/bin/http://jakarta.apache.org/builds/jakarta-t%E2%80%A6se/v4.1.24/bin/http://cvs.apache.org/builds/jakarta-tomcat-5/nightly/http://localhost:8080/http://jakarta.apache.org/builds/jakarta-t%E2%80%A6se/v4.1.24/bin/http://jakarta.apache.org/builds/jakarta-t%E2%80%A6se/v4.1.24/bin/http://cvs.apache.org/builds/jakarta-tomcat-5/nightly/http://localhost:8080/8/6/2019 Document of Advertising Agency
38/50
Analytic PlanDocument Name:
Install guilde
Form
No.12
Effective Date: May 02,
2009Version 1.0
Page 4 of
7
Install MySQL 5
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 38 -
8/6/2019 Document of Advertising Agency
39/50
Remember port number, username and password
Analytic PlanDocument Name:
Install guilde
Form
No.12
Effective Date: May 02,
2009Version 1.0
Page 5 of
7
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 39 -
8/6/2019 Document of Advertising Agency
40/50
Install NaviCat
Star mysql and go to navicat main page
Analytic PlanDocument Name:
Install guilde
Form
No.12
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 40 -
8/6/2019 Document of Advertising Agency
41/50
Effective Date: May 02,
2009Version 1.0
Page 6 of
7
Create new database name : Advdb open it and right click
choose excecute batch file
Choose file advdb.sql from the folder database and click start
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 41 -
8/6/2019 Document of Advertising Agency
42/50
8/6/2019 Document of Advertising Agency
43/50
choose Clean and Build. After that run
AdvertisementAgency or you dont use netbean, you canopen web browser and typehttp://localhost:8080/AdvertisingAgency
Analytic PlanDocument Name:
Install guilde
Form
No.12
Effective Date: May 02,
2009Version 1.0
Page 8 of
8
If you see login page as bellow. You install successfulAdvertising Agnecy on tomcat server.
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 43 -
8/6/2019 Document of Advertising Agency
44/50
Analytic PlanDocument Name:
Developer guildeForm
No.13
Effective Date: May 02,
2009 Version 1.0
Page 1 of
5
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 44 -
8/6/2019 Document of Advertising Agency
45/50
AdvLibrary support to programming this eProject
And AdvertisementAgency is main project run it run application
Analytic PlanDocument Name:
Developer guilde
Form
No.13
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 45 -
8/6/2019 Document of Advertising Agency
46/50
Effective Date: May 02,
2009Version 1.0
Page 2 of
5
Util help developer generate md5
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 46 -
8/6/2019 Document of Advertising Agency
47/50
Analytic PlanDocument Name:Developer guilde
FormNo.13
Effective Date: May 02,2009
Version 1.0Page 3 of
5
Automatic calculate formula which will be enter by manager
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 47 -
8/6/2019 Document of Advertising Agency
48/50
Analytic PlanDocument Name:Developer guilde
FormNo.13
Effective Date: May 02,2009
Version 1.0Page 4 of
5
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 48 -
8/6/2019 Document of Advertising Agency
49/50
Analytic PlanDocument Name:Developer guilde
FormNo.13
Effective Date: May 02, Version 1.0 Page 5 of
Prepare By Approved By
Project Group Vo Phi Hung & Nguyen Van Nguyen Cao Huu Quyet
Signature
- 49 -
8/6/2019 Document of Advertising Agency
50/50
2009 5
Demo automatic calculate
import com.graphbuilder.math.*;
public class MathTest {
public static void main(String[] args) {String s = "pi*r^2";
Expression x = ExpressionTree.parse(s);
VarMap vm = new VarMap(false /* case sensitive
*/);vm.setValue("pi", Math.PI);
vm.setValue("r", 5);
FuncMap fm = null; // no functions in expression
System.out.println(x); // (pi*(r^2))
System.out.println(x.eval(vm, fm)); //78.53981633974483
vm.setValue("r", 10);
System.out.println(x.eval(vm, fm)); //
314.1592653589793
}}