Thursday, January 14, 2010
Head First Servlets & JSP by Basham, Sierra & Bates. (HeiFer'S Joe). Chapter Five Review.
I gotta admit I'm rather enamored with Model-View-Controller (MVC) pattern, so I like to think about listeners from that perspective. I've even printed an MVC diagram as a kind of mental map for these, to decide, where would each kind of listener should go.
Because this is the deal with listeners within MVC: View listens to model changes, and Controller listens to the view's user gestures. But Model doesn't listen to anybody or have a handle on anything outside of itself; it's completely self-contained. Model is what the application would be if it didn't have any user interface.
My sense has been, according to the book, generally servlets are part of the controller and JSP's are part of the view. See Chapter 3, diagram on page 88. Attributes? Usually part of the model, I would think.. But if an attribute were a database connection, that makes it part of the controller's plumbing.
But from looking at these listeners, they don't seem to fit nicely into MVC. For example the servletContextAtributeListener. If context attribute were part of the model, the listener should be view. So, some JSP could be notified maybe. Context attributes wouldn't be part of the view would they? And who listens to the controller? Nobody. Well maybe this just goes to show, there are other places for listeners, outside of MVC. Or maybe I can say it's part of the controller, listening to other parts of the controller...
Saturday, June 06, 2009
Reading: Writing Effective Use Cases, by Alistair Cockburn
Need to re-evaluate, re-estimate a project at work. So I'm hoping this book will help, and I've downloaded a notes application to support my plan, the free Requirements Management Database from OpenNTF.org; apparently the application was created by Dave Parillo of Rite Solutions, and now I intend to use the application as I go through the book. Hopefully I can use the application at work --Will it work in ND 6.5? Anyway here goes.
From Chapter 1: Introduction
"...are fundamentally a text form, although they can written using flow charts, sequence charts, Petri nets, or programming languages..."
I was just curious about the whole Petri net concept.
I admire this work but.. this is going to put me to sleep. Of course, most tech books have the same effect.. Maybe I'm spoiled by Kathy Sierra and Bert Bates. Oh and I don't think I'm going to have time or energy to do the exercises.
Monday, August 27, 2007
Monday, April 24, 2006
Dave started new job in central OH
(retro-posted in late 2007)
Sunday, March 19, 2006
A toast to my father and his new bride.
A very long time ago, in the active imaginations of some Mediterraneans, there were these three women: One very young -almost only a child, one grown up, and one, shall we say, very mature. Three women generations apart in age, and yet - sisters. If they were here, they would be in a cheerful good mood; you can imagine them sitting outside on a hill, on a bright warm sunny day, but they're busy. As always they continue with their tasks, each what they're best at: One of them spinning, as if with wool, one of them measuring, the other, clipping. All of them conspiring.
Hold that image in your mind for a moment, please.
When you're single and looking for a way to spend some time on a weekend, you need to find some clean fun, maybe get a little exercise, a little light chatter. Certainly it's possible to find a nice activity in this town. You could grab a friend and take a bicycle ride, go play handball someplace, or go bowling, or if the weather's bad, just stroll a few laps around the mall, or maybe go to a ballroom dance class.
The point is, it's just a little something to do - it'll boost your spirits a bit, but otherwise it will certainly be something of absolutely no consequence to the rest of your life.
So that's what Judy decided to do for that weekend; nothing terribly important.
And yet, somehow that small decision has set off a chain of events, leading inexorably to this very moment.
Clotho, Lachesis, and Atropos are those three women, the ancient Greeks would say: Spinning, measuring, clipping, and for us, engaging in a happy conspiracy, perhaps allowing us to take their product and weave our own events.
Look at Dave and Judy -- their characters -- they attractively match: Judy is astonishingly kind, hard-working, cheerful and open-minded. My father Dave shares all of those qualities. And there's a little something else too, some other unnamed attribute that they share, that draws these two inevitably together.
It's the three fates we can thank, or it's divine will, or it's a more earthy poetic, a combination of natural course and the choices made by Judy and Dave.
At any case, I think there could have been no other outcome; your presence is my evidence, and this is a good thing: A union for two, a reunion for many; for these I thank you, Judy and Dave. A toast!
Monday, February 20, 2006
Light Bulb Change Request System
Tuesday, January 31, 2006
I really thought that the job was mine.
This feels horrible.
Monday, January 30, 2006
Plan A still not dead, but not looking so good, either.
Working on the house today.
Saturday, January 28, 2006
New Job Not Dead Yet
Seems that Friday was just a really chaotic day for people who were supposed to do the arrangements. Some kind of system problem, and the account manager involved in working it out, and the CIO not available to give his signature? I really wonder what exactly was going on. The guy tried to call me on my cell at around 7:30, but I don't get a good signal here at home; it never rang and I didn't notice the voice mail until two hours later.
The message was that in effect, they'll work it out on Monday. But I just wonder if they really will? And if this really does go through, is this the way things normally go for them? Which circle of hell are they dragging me into?
They don't probably often deal with families that operate like ours. Thanks to Jaye, as long as we can rely on the words of the people we deal with --and we almost always can-- we move like lightning. No futzing around waiting for anyone. Our intent was to sell the house, buy and move into a new one within the space of three weeks. One move, bam-bam. And I think we might be able to do it, as long as people can hold up their parts of our dealings.
But as things turned out, I count at least 15 people whose weekend plans were disrupted or at least altered a bit: At least 7 homeowners in Columbus, one buyers agent, a sellers agent, Jaye's parents, and the four of us would-be movers. If I had the offer letter in hand we would've done a Columbus road trip you see.
Tuesday, January 24, 2006
So it seems I'll have the new job.
Which is unbelievably great, really. Of course the paperwork isn't done yet, and I can't actually give my two-week notice until I see something in writing. This part may take all week, so I have to keep playing my part, attending these pointless salesLogix-related meetings. Yep even the meeting where the CEO attends, this Thursday or Friday, that one will be pointless too, for me.
Once I give notice maybe for the last couple weeks I can drop the slx stuff and do some things that actually need to be done. Maybe I can talk some sense into a couple of management types, get them to put our group where it belongs: the software development division..
Tuesday, January 17, 2006
Not happy with the colors here.
Also the "previous posts" URLs don't work right; they don't include the blog directory. Why?
Not enough time to play, though.
Yeah this is mainly just a test..
Thursday, December 15, 2005
CSS guide boring
Tuesday, November 29, 2005
Webmaster wanna-be?
Friday, November 18, 2005
To Mr Newdow and my atheist buddies:
My response.. so at last we come to this:
"..he'll ask a federal court to order removal of the national motto "In God We Trust" from U-S coins and currency."
What I'm thinking is, whether or not we like the "under God" or "In God We Trust" phrases, they're part of our history. They make us nonbelievers a little uncomfortable, but so what, it's nothing. Again Mr Newdow trying to use litigious means to forcibly take something away from American culture.
I'm beginning to have strong doubts about this strategy. It's very negative, it pisses people off; I don't think anything good is going to come of it. If the courts decide that the slogan must be removed from our currency, think of what it'll be like for us: We'll be absolutely hated.
If we're to be successful in the long term, somehow, we as a group need to be a positive force - we need to be some kind of asset to our communities; we need to contribute something, not take something away.
Wednesday, November 16, 2005
How much stress do you have..
Today (11/16) I worked with a Java developer a little, offering some advice and encouragement for using the Domino Java API. I hope he goes for it; maybe once these guys become more acquainted with Notes technology, they'll look at it with higher regard.
Monday, November 14, 2005
Good sea-faring fiction
Sunday, November 13, 2005
There Be Words!

Yesterday as he played on the stairs with Mommy and Grandma, Ian yelled "Dow! Dow!".. And a little later I heard him say "Ut!" once. I'm deeply afraid of him being on the stairs; I'm having nightmares about him falling - but the sound of him using words to get his way cheered me greatly. We had another happy moment later in the afternoon when we turned on the lamp next to his diaper-changing table and he looked at it, grinned and said "Light!" and then another this morning, when, as we were getting out of the car, he pointed at our neighbor's small poplar and declared "Tee!". Yipee!
Continuing with the get-a-job at home theme, yesterday I posted my resume to Dice and applied to Ajilon using not-very-good HTML, partly generated by openOffice, but then hand-fixed to get rid of the images --they're too awkward in that format-- and in order to apply to TEK Systems, also posted to thingamajob in a text format. Also generated a PDF version from openOffice. And I updated my "Edited for Content" with those, and a link to this blog, using a free ftp extension I found for Firefox, called FireFTP. Very cool tool.
And on to a completely different topic, here's a cozy nighttime scene.. Jaye's really into this knitting-and-spinning thing now --noble, practical crafts that come naturally to her intelligent hands-- She made a very nice hat for me!
Thursday, November 10, 2005
Icky Surprise
After a few minutes of this Ian came toddling back into the living room, right toward me with a rather determined scowl on his face, and as he came closer I could see he had a dark, unfamiliar form in his fist. Dark grey. Furry? Has a tail?!
Ian had a firm grip on a dead mouse! I grabbed the baby's wrist and shook his arm - I think he could see a sense of urgency in my face and body language - and he dropped it. I picked up Ian and rushed him to the bathroom, scrubbed his hands while Jaye took care of the carcass..
So Nik and Ian served as pest exterminators that day - cat the killer, toddler on disposal. I just hope the boy didn't do the usual thing he does with found objects: Chew.