Paul-J Woodward anticipates

the need to store the contents of uploaded pages in a database as a blob,

"War story" / food for thought:


Almost ten years ago and totally unrelated to Struts or even Java, I did something similar. At that time, I had very good success with a home brew object oriented concept on top of a relational database.

I thought of my individual database row as an "object". There would be a relationship to a "class". If I wanted to do anything particular with the object, I would think of it as, "I want to call a method". Given the class and the name of the method I wanted to call, a database lookup would tell me which particular implementation would do the trick.

In this way, I had, in fact, implemented object orientation. The architecture would easily accommodate various implementations for special ways of performing common tasks. In my own (biased) opinion, the net result was an stable, flexible and successful architecture. The customer loved it, too (the stability in particular). The major drawback was that, for a couple of years or so, I was the only one who dared to touch the code.

In this age of Java, of course, you could simply use EJBs. I recommend you evaluate whether they fit your needs (I you haven't done that already).

Regards,

Andreas

Dr. Andreas Kr�ger, [EMAIL PROTECTED]
DV-RATIO Nordwest GmbH, Tel.: +49 211 577 996-0, Fax:  +49 211 559 1617
Leostra�e 31, 40545 D�sseldorf, Germany



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to