Download presentation
Presentation is loading. Please wait.
Published byImogene Holt Modified over 9 years ago
1
2008 Freshmen Java Project Produced by 2008 IDS Freshmen
2
Copyright 2008 by CEBT Contents Motivation Requirement Specification User Scenario Program Architecture Database Schema Module Function Conclusion
3
Copyright 2008 by CEBT Motivation Practice Java programming and Database management. Construct a system that can use resources of lab through web effectively.
4
Copyright 2008 by CEBT Requirement Contain all resources made in lab. Resources are used and managed through web. Support its own search of web site. Enable to make dynamic pages that show resources which satisfy designated conditions. Link and show related resources in same page. Enable to sort and search in a specific condition.
5
Copyright 2008 by CEBT Specification Type of resource The range of type is within resources defined by Resource Management Framework Team. Web site Enable to join and log-in Each resource has its specific input form. Follow an idea of WIKI – An Information of resource can be edited by several people. – An attachment of files is a method that is linked to resource after uploading file.
6
Copyright 2008 by CEBT Specification Dynamic view Dynamic view is to show information referencing other resources. A resource can be in several views, and can link various resources. It can show information referencing other resources in accordance with relations between resources.
7
Copyright 2008 by CEBT User Scenario Front page Top – Log-in – Menu Resource: appear the menu that resource is classified. Body – Front Page – This site can be showed after log-in. Bottom – Add : Make a new resource or dynamic view page. – Edit : Modify the page appearing now. – Delete : Erase the page appearing now. – Dynamic : Set a dynamic page.
8
Copyright 2008 by CEBT User Scenario Resource view page Left – Arrange a type of resources. Right – Appear the name and list of resource that is selected. – The list of resource can be sorted by name or title attribute. Bottom – Show up detail contents of selected resource.
9
Copyright 2008 by CEBT User Scenario Addition Resource – Decide a kind of resource. – Display the input form of resource. File – File is uploaded separately. – Enables to upload several files at once.
10
Copyright 2008 by CEBT User Scenario Edition Modify the resource appearing now. Show a input form classified by resource. Edition button is activated when detail contents of resource appears. Deletion Erase the resource appearing now. Show a message that asks to confirm deletion. Deletion button is activated when detail contents of resource appears.
11
Copyright 2008 by CEBT User Scenario Dynamic page Dynamic view page – Set Dynamic view page – Decide conditions in advance. Dynamic attribute – Set Dynamic attribute – Select attributes that appear when name and list of resource are showing.
12
Copyright 2008 by CEBT Program Architecture Java class Model – Define classes and methods of each resource. – Bring values of resource through connecting Database. Action – Define classes and methods of page that appear on display. – Process data actually. JSP Display materials processed in Action class. Pass event values to Java class.
13
Copyright 2008 by CEBT Program Architecture CSS Separate page design from JSP which is concerned in display. Manage page design independently. Properties Manage File path and other environment variables independently.
14
Copyright 2008 by CEBT Program Architecture Action Model JSP CSS Properties
15
Copyright 2008 by CEBT Database Schema
16
Copyright 2008 by CEBT Module Function Log-in and Join Manage log-in of member and join of non-member. login.action (LoginAction.java) login*.jsp Database join.action (LoginAction.java) join.jsp Database
17
Copyright 2008 by CEBT Module Function View a resource This has 3 steps. – Select type of resource. – Select name during list of resource. – Display contents of resource. ViewResourceAction.javaviewResource.jsp Database rm.model.*.java
18
Copyright 2008 by CEBT Module Function Add a resource This has 3 steps. – Select type of resource. – Display a input form in accordance with a type of selected resource. – Save data. addResource.action (AddResourceAction.java) addResource*.jsp Database rm.model.*.java
19
Copyright 2008 by CEBT Module Function Edit a resource Display a input form in accordance with the type of resource that appear now. The difference between add and edit is that the contents display in input form in case of edition. editResource.action (AddResourceAction.java) editResource*.jsp Database rm.model.*.java
20
Copyright 2008 by CEBT Module Function Delete a resource Erase the resource that appear now. deleteResource.action (DeleteResourceAction.java) deleteResource*.jsp Database rm.model.*.java
21
Copyright 2008 by CEBT Module Function Set dynamic page There are 2 type of dynamic page setting. selectDynamic.action (SelectDynamicAction.java) selectDynamic.jsp AddDynamic.action (AddDynamicACtion.java) setDynamicAttribute.action (SetDynamicAttributeAction.java) setDynamicAttr*.jsp Database AddDynamic*.jsp
22
Copyright 2008 by CEBT Conclusion We studied MVC model through JSP and Struts.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.