蔡新宇,陳勁杰
(上海理工大學 機械工程學院,上海 200093)
基于Java Web的海事局管理系統
蔡新宇,陳勁杰
(上海理工大學 機械工程學院,上海 200093)
針對目前相關海事局單位在網上沒有信息錄入系統,單位員工無法看到海事局相關公開信息。因此,設計和開發了一種基于JDBC和Java Web技術的海事局信息管理系統。前端通過AngularJS技術將前臺輸入的數據通過http路由傳送給后臺,后臺使用Java代碼,對傳入的數據進行相應處理,同時,采用部分方法防止SQL注入等網路滲透。該系統通過黑盒白盒測試,整體項目啟動時間6 625 ms,前臺輸入數據時,通過白盒的斷點調試功能,測試后代碼順利執行,沒有報錯。
管理系統;Java Web;AngularJS;網絡滲透
AbstractSome marine office have some trouble that they don’t have some related web information input system, worker can’t see published news, and there is no statistic data to specified matter. In order to solve this problem, we design and open a management system of marine board which is based on JDBC and web. The front page use AngularJS as script in order to speed the website query. Also,It’s important for company to prevent information from being stealed. The framework of website has been added safety supervise to prevent unauthorized visit; and it filter the char which being input to prevent some attack such as sql injection or xss attack. The system has worked on Shanghai marine board, and gets good effect. it has increased the transparent and public to Shanghai marine board. This system has improved the marine company more transparent and public in their information. Making workers gets information easier, working more efficiency as well.
Keywordsmanagement system;Java Web;AngularJS;website attack
隨著信息的公開透明化和日益增多的海事局事務處理,構建一個海事局項目系統,對每天處理的海事局事務進行登記管理,不僅增加了企業的信息公開和透明,也大幅提高了辦事效率。目前,針對海事局的信息管理系統系統還處在初級階段,并且隨著信息系統登記事務的增多,查詢等相關操作變得緩慢;同時,相關網站系統存在安全問題,每年會因安全設計問題而被攻擊。因此,本文以海事局實際需求為背景,搭建了一個完整、高效、安全的海事局管理系統[1]。
通過客戶端的瀏覽器訪問指定IP或域名得到對應的服務器內容,叫做瀏覽器/服務器技術,即Web技術。Java Web即以Java語言開發的后端服務器代碼,相比于其他后端如php,asp的服務器,使用Java開發Web的主要優點是框架豐富、功能眾多,并且安全性高。……