Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!

Steve Roderick

Greenhorn
+ Follow
since Mar 15, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Steve Roderick

Well done. Are there any other books that you would recommend.
18 years ago
Hi

Passed the developer exam

General Considerations (maximum = 100): 100
Documentation (maximum = 70): 70
O-O Design (maximum = 30): 13
GUI (maximum = 40): 28
Locking (maximum = 80): 44
Data store (maximum = 40): 40
Network server (maximum = 40): 40

Spent hours on the locking mechanism but got the magic score of 44. Wonder if I should have used an Observable pattern? Anyone got any ideas about that. Also low on the O-O design which is a bit worrying. But hey, I am more concerned about getting the next exams done.

Thanks for your postings they helped alot!
18 years ago
I don't believe you can .... unless you pass in the servletcontext object as a parameter to the class constructor.
What I have done in a similar situation is to use the servlet listener interfaces to create a database connection when the servlet is initialized and pass that to the helper classes instead. You can also use them to close the connection when the servlet context is destroyed.
Hope that helps
18 years ago
My mate went for a job interview in java and they asked him how "they could change a string by passing it into a method". ANSWER they can't, or use a StringBuffer
[ November 27, 2003: Message edited by: Steve Roderick ]
18 years ago