[EMAIL PROTECTED] writes:
> On Oct 3, Tom Cook quoth:
[snip]
> If you only have one database installation which contains all your data
> and everything you are running is in one box in one location in one hard
> drive without the need to operate in a degraded state or have graceful
> failover then, yes, then you are correct, there is no need for a
> distributed unique id generation system.
>
> In fact, it would be silly in such circumstances to try and reduce the
> amount of interdependence between your database vendor's proprietary
> implementation of key generation and your portable, write once, run
> anyhere, database-issues-are-the-containers-problem Enterprise Java Beans.
>
> I don't know what I was thinking. I stand corrected.
Sheesh, calm down already.
It just seems to me (and I am no expert in the field) that it makes
sense to have your database tightly linked to the key generator for
that database. While EJBs are a nice abstraction, what you have
underneath is still a database, and it seems sensible for the database
to be responsible for the consistency of the data in it. Of course
having one database generate keys for another is not sensible since,
as you point out, if your key generator goes down then your other
databases are stuffed. You may well argue that we want to be able to
move this to any database backend; in my experience of deploying
enterprise applications (which is a bit more extensive than my
experience of designing them), the deployment architecture is well and
truly fixed early on. Enterprise applications are not the sort of
thing you want to be able to install on everyone's desktop; that's the
point of it being an enterprise application. It's very likely that it
will be deployed to one place on earth, and not moved.
Just my two bits worth...
Tom
--
Tom Cook - Software Engineer
"We rarely find that people have good sense unless they agree
with us."
- Francois, Duc de la Rochefoucauld
LISAsoft Pty Ltd - www.lisa.com.au
--------------------------------------------------
38 Greenhill Rd. Level 3, 228 Pitt Street
Wayville, SA, 5034 Sydney, NSW, 2000
Phone: +61 8 8272 1555 Phone: +61 2 9283 0877
Fax: +61 8 8271 1199 Fax: +61 2 9283 0866
--------------------------------------------------
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]