基于j2ee的公交查詢系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn).doc
基于j2ee的公交查詢系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn),基于j2ee的公交查詢系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)基于j2ee的公交查詢系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)摘 要公交查詢系統(tǒng)是城市道路交通的重要組成部分,是城市發(fā)展的必然產(chǎn)物,是聯(lián)系國(guó)民生活、社會(huì)生產(chǎn)和流通領(lǐng)域的關(guān)鍵環(huán)節(jié)。我國(guó)城市公交查詢系統(tǒng)的發(fā)展處于一個(gè)較落后的水平,人們可以獲得信息的方式很少,為了解決這種問(wèn)題,設(shè)計(jì)出基于j2ee的公交查詢系統(tǒng)。...
內(nèi)容介紹
此文檔由會(huì)員 天空之翼 發(fā)布基于J2EE的公交查詢系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)
基于J2EE的公交查詢系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)
摘 要
公交查詢系統(tǒng)是城市道路交通的重要組成部分,是城市發(fā)展的必然產(chǎn)物,是聯(lián)系國(guó)民生活、社會(huì)生產(chǎn)和流通領(lǐng)域的關(guān)鍵環(huán)節(jié)。我國(guó)城市公交查詢系統(tǒng)的發(fā)展處于一個(gè)較落后的水平,人們可以獲得信息的方式很少,為了解決這種問(wèn)題,設(shè)計(jì)出基于J2EE的公交查詢系統(tǒng)。
本論文詳細(xì)介紹了整個(gè)系統(tǒng)的已實(shí)現(xiàn)的功能。首先,實(shí)現(xiàn)多種查詢功能,包括根據(jù)商廈名稱、公交車號(hào)、日常站點(diǎn)、和任意兩個(gè)站點(diǎn)查詢乘車路線。其次,采用最短路徑算法查找任意兩個(gè)站點(diǎn)之間的最短乘車路線。最后,提供了用戶留言的功能、用戶管理功能和后臺(tái)車次管理功能;用戶留言功能,主要是收集用戶的留言信息,可以根據(jù)用戶提供的留言信息或是提出的建議,對(duì)系統(tǒng)進(jìn)行修改和完善;用戶管理功能,主要是刪除用戶信息和修改用戶基本信息;后臺(tái)車次管理功能主要包含添加車次和站點(diǎn)功能、更新車次和站點(diǎn)功能、刪除車次和站點(diǎn)功能,這樣做到系統(tǒng)實(shí)時(shí)更新,為用戶查詢提供更為準(zhǔn)確的信息。
關(guān)鍵詞:J2EE;最短路徑算法;公交查詢
Design and Realization of Public Transport Inquiry System Based on J2EE
Abstract
Urban public transportation is an important part in traffic and transportation domain, and it's also the inevitable result of social economy's development in urban areas. As an important part of urban transportation system, urban public transportation system is acting a key role in human living, in social production and in transportation domain .But the inquiry system of public transportation developments in our country is in a comparatively backward level. The general passengers have less way to obtain the information. In order to solve this kind of problem, an inquiry system of public transport based on J2EE is designed.
The thesis has introduced the realized functions of entire system in detail. Firstly, the system has realized many inquiry functions. The system can search bus route by the name of business mansion, the number of public transport, ordinary bus station and two arbitrary stations. Secondly, the system uses the shortest path algorithm to find the shortest travel routes between any two stations. Finally, the system provides the functions of consumer message, the bus number managing on the backstage and the consumer managing. The function of consumer message mainly collects suggestions from consumer to modify and perfect the system functions. The function of user managing is to delete user information mainly and revises the fundamental user information. The functions of bus number managing are mainly to add, update and delete the bus number and the station on the backstage. These can enable the system have the quality of real-time updating to provide the accurate information for user.
Key words:J2EE; Shortest path algorithm; public transport inquiry
目 錄
論文總頁(yè)數(shù):30頁(yè)
1 引言 1
1.1 選題背景 1
1.2 項(xiàng)目的主要研究工作 2
1.3 開(kāi)發(fā)環(huán)境 2
2 理論基礎(chǔ) 2
2.1 概念 2
2.1.1 J2EE的概念 2
2.1.2 JSP的概念 3
2.1.3 Java Bean的概念 3
2.1.4 Java Servlet的概念 3
2.1.5 Session對(duì)象 3
2.2 J2EE的結(jié)構(gòu) 3
2.3 J2EE的容器類型 4
2.4 J2EE的體系與模式 4
2.4.1 J2EE的體系(分布式計(jì)算) 4
2.4.2 J2EE的模式 4
3 公交查詢系統(tǒng)功能分析 4
3.1 公交查詢系統(tǒng)的需求 4
3.1.1 系統(tǒng)需求描述 4
3.1.2 系統(tǒng)數(shù)據(jù)流圖 5
3.2 公交查詢系統(tǒng)的功能 5
3.3 公交查詢系統(tǒng)的數(shù)據(jù)庫(kù)設(shè)計(jì) 6
3.3.1 E-R圖 6
3.3.2 數(shù)據(jù)庫(kù)表設(shè)計(jì) 7
4 公交查詢系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 9
4.1 創(chuàng)建管理員登錄的SERVLET 9
4.2 創(chuàng)建用戶登錄的SERVLET 11
4.3 公交系統(tǒng)查詢模塊 12
4.3.1商廈查詢 12
4.3.2 車次信息查詢 15
4.3.3 站點(diǎn)信息查詢 17
4.3.4 兩個(gè)站點(diǎn)間的信息查詢 18
4.4 公交系統(tǒng)添加模塊 23
4.4.1 添加車次 23
4.4.2 添加站點(diǎn) 24
4.5 公交系統(tǒng)刪除模塊 24
4.5.1 刪除車次 24
4.5.2 刪除站點(diǎn) 25
4.6 公交系統(tǒng)更新模塊 25
4.7 公交系統(tǒng)留言板模塊 26
4.7.1 發(fā)表留言 26
4.7.2 查看留言 26
4.7.3 刪除留言 27
5 系統(tǒng)測(cè)試與分析 27
結(jié) 論 28
參考文獻(xiàn) 28
致 謝 29
聲 明 30