robert young
Posts: 361
Nickname: funbunny
Registered: Sep, 2003
|
|
Re: Logic in Database Apps: Stored Procedures or Java?
|
Posted: Apr 22, 2006 7:05 AM
|
|
> Perhaps I > am just a bit naive because of inexperience with stored > procedures, but I don't see why I should be so afraid of > using them for simple logic like creating history records.
You don't sound naive, and there is nothing to fear (well, except the ignorant mob).
What's afoot is age-old: fight for hegemony betwixt warring factions, each seeking control of the future. The stake: employment.
If you're a java kiddie with a CS degree and no experience (or even course work) with databases (RM, SQL, or otherwise); then you will seek to denigrate any approach which minimizes your skill set.
Since there are a lot of such kiddies churning out java "infrastructure", especially in the "enterprise" space, they seek COBOL-ize java; force it to be lingua franca in that space. It so happens that (not a coincidence) COBOL functions largely ignorant of RM and SQL, prefering the 1960s file approach. This approach yields language lock-in and lots of code.
On the other side are veterans of data development (even, dare I say, pre-Codd) who have seen how much more structured systems are when you start with the datastore and work outward. In the early days of COBOL (when it was only batch, and 132 column paper reports represented output), the mantra was "design the outputs, then the inputs".
This mantra led to spaghetti file based systems and was Codd's target.
Today, the java mantra is "design the screens, then the inputs". One then wanders down the 40 year old path of yore. It's kind of like the dark ages of Real History; learning has ceased and practice reverted leeching and casting out of witches. (The java kiddies are blissfully unaware that, save the <>, tagged text data (XML) was au courant with IBM and DEC in the 1960s. It was of only limited use then, too.)
But nature, and math, can't be stopped. So the winners will continue to be those who follow the data-centric mantra. And you generally don't hear much from them on forums; it's such a huge competitive advantage and the java kiddies are so full of themselves.
|
|