Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel...
-
Upload
britney-miles -
Category
Documents
-
view
220 -
download
2
Transcript of Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel...
![Page 1: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/1.jpg)
Ordering Stones on the Senior Sidewalk of Kansas State
University
Under the guidance of Dr. Daniel Andresen (Major Professor)Dr. Gurdip SinghDr. Mitchell Neilsen
Pradeep K Tallogu
![Page 2: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/2.jpg)
Overview
Introduction Architecture Client Tier Web Services Container Java Beans Database Demo Performance Future Work Reflection Conclusion
![Page 3: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/3.jpg)
Introduction
Offers an opportunity to commemorate graduates’ walk
Was accepting orders through written forms Carried the burden of book-keeping Website would be more reachable Using credit cards simplifies the transaction
![Page 4: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/4.jpg)
Architecture
System for accepting online stone orders
Browser Browser Browser
Java Beans
Client Tier
Web Services Container – Stoneware Portal
Database DB2
![Page 5: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/5.jpg)
Client Tier
Two sets of JSPs Gather information
Student (name, ID, college) Donor ( address, …) Payment Information (Credit card information) Certificate (Optional)
Processing Display details Mark as processed
![Page 6: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/6.jpg)
Why JSPs?
Static part – HTML Dynamic part – JSP Encourages use of Java Beans Stoneware provides Java Beans
![Page 7: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/7.jpg)
Web Services Container – Stoneware Single point of access to organizational web
content Provides a host of services like
SSL Gateway Services Consolidated Authentication Stoneware Components Registration Services Development …
![Page 8: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/8.jpg)
Stoneware Architecture
Databases
File Systems
Directory Services
Web Services and
Applications
Stoneware Server
Stoneware Relay
Portal Users
Portal Users
Portal Users
![Page 9: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/9.jpg)
Auto-Login
Pre-authentication index.html (takes username and password) Here we redirect it to the appropriate page by
supplying the username and password on the background
![Page 10: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/10.jpg)
Relay/Server Communications
Stoneware Server
Stoneware Relay
Directory
username, password and account status
1.Relay sends username and password
2. Server locates username, verifies password and account status
3. Server returns status code to Relay
![Page 11: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/11.jpg)
Post-Authentication
Sets a Session ID Determines user’s access, builds
navigational links The user is now logged in Presents the user with a web page ( the order
form)
![Page 12: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/12.jpg)
Package edu.ksu.util;
DonoraddGift()addStoneOrder()…
GiftgetGiftAmount()getDesignation()…
StoneOrdergetStudentID()getNameOnStone()…
PetTrustDonationgetPetName()getGiftSource()…
Roundinground(…)…
![Page 13: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/13.jpg)
Package edu.ksu.beans;
Class ksuBean addDonor(…)
Inserts information into tables Donor, Gift, Audit, StoneOrders, CreditCard
markProcessed(…) Updates the given order as processed
…
![Page 14: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/14.jpg)
Database Tables
Donor Audit Gifts StoneOrders CreditCard
![Page 15: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/15.jpg)
Demo
![Page 16: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/16.jpg)
Lines of Code 900 lines of Java Code for the packages
edu.ksu.util; and edu.ksu.beans; 1200 lines of JSP code
Configuration Windows 2000 Server Pentium III 1.26 GHz RAM 1.28 GB JVM – 1.3.1
![Page 17: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/17.jpg)
Load Testing and Performance
Throughput
1493.391257.87
911.18 669.19
0
500
1000
1500
2000
500 1000 5000 10000
number of requests
thro
ug
hp
ut
![Page 18: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/18.jpg)
Latency
1113 14
18
0
5
10
15
20
25
500 1000 5000 10000
number of requests
mill
ise
co
nd
s
![Page 19: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/19.jpg)
Future Work
Pet Trust Donations Online Donations Grouping common functionality into one
module (accepting credit card information) Basis for distinguishing the types of
donations
![Page 20: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/20.jpg)
Reflection
Experience working with a B2B Portal Working with JSPs Working on DB2
![Page 21: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/21.jpg)
Conclusion
No more book-keeping More reachable Accepts credit cards Allows enhancements through creating
donation-specific classes and using the existing beans
![Page 22: Ordering Stones on the Senior Sidewalk of Kansas State University Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Gurdip Singh Dr. Mitchell.](https://reader035.fdocuments.net/reader035/viewer/2022062421/56649cf75503460f949c6761/html5/thumbnails/22.jpg)
References
Java Servlets and JSP by Andrea Steelman and Joel Murach.
Java Server Pages Documentation – http://java.sun.com/products/jsp/
Stoneware 3 – Pinnacle Computer Services. [4] Stoneware Web Portal API Documentation –
www.stone-ware.com /support/ developerzone/ java/javadocs/
[5] Apache Jakarta Project - Apache JMeter: http://jakarta.apache.org/jmeter/