I don't know of any resources like this, but I'm sure there are database books
which detail the use of tables to help configure code. Like I said, I based my
own tables off of what I've seen Oracle do, but there's probably a lot of
variations on the same concept.
Mike
Julian <[EMAIL PROTECTE
Hey Michael,
Thanks for the input, you've offered me some great
insight. I was wondering if you may know a good
resource that discusses database design patterns like
the codelist or a line table? Otherwise, afaik I have
stored XML in the database and it's great if you just
transform it to an out
I'd like to learn more about storing XML in the database myself. I really
haven't had much experience there so I couldn't say if it is beneficial or not.
I started out as a database developer so I tend to rely heavily on the
database for a number of things, system prefs being one of those thin
I forgot to mention:
1) I cannot use Xindice since I do not feel it is
viable.
2) I expect to have thousands of users with a moderate
load.
3) I am leaning towards Michael's suggestion:
http://www.developer.com/db/print.php/10920_3413151_1
Comment appreciated :)
Thanks again, Julian
Comments inline:
--- Dakota Jack <[EMAIL PROTECTED]> wrote:
> You received several answers about security, but
> that is not what you
> want, right? You want to be able to set and to
> deliver user
> preferences.
Exactly.
>As part of any suggestion about how
> you should do this,
> one would
Why not do both and use XML database like Apache Xindice?
http://xml.apache.org/xindice/
Regards,
David
-Original Message-
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 12:33 PM
To: Struts Users Mailing List
Subject: Re: [OT] User Preference System
You received several answers about security, but that is not what you
want, right? You want to be able to set and to deliver user
preferences. As part of any suggestion about how you should do this,
one would need to know what the app is all about. Different solutions
for different problems is k
Why don't you just use a database? Am I missing something? Why XML,
properties files, etc.?
Jack
On Wed, 17 Nov 2004 10:44:04 +, Adam Hardy
<[EMAIL PROTECTED]> wrote:
> Hi Julian,
>
> you should take a look at CMS (container-managed security) as this is
> probably the most effective solut
ike the following:
>
> colour.count=3
> colour.0=red
> colour.1=green
> colour.2=blue
>
> So your code loads the property for colour.count and
> loops through the other
> properties. Not very elegant, but it works.
>
> Daniel.
>
> > -Original Messa
if JDK 1.4 is an option you might want to take a look at:
java.util.prefs.*
HTH.
ATTA
On Tue, 16 Nov 2004 19:09:55 -0800 (PST), Julian <[EMAIL PROTECTED]> wrote:
> Hi, I am a Struts Newbie and would appreciate if
> anyone could give me some pointers on a user
> preferences/ configuration syste
truts Users Mailing List
> Subject: Re: [OT] User Preference System Design
>
>
> Hi,
>
> Thanks for the input. The Properties object is more
> inline with what I was thinking. The problem with it
> however, is that there can only be one key/value pair.
> I see no ability to
works.
Daniel.
> -Original Message-
> From: Julian [mailto:[EMAIL PROTECTED]
> Sent: 17 November 2004 14:08
> To: Struts Users Mailing List
> Subject: Re: [OT] User Preference System Design
>
>
> Hi,
>
> Thanks for the input. The Properties object is more
>
Hi,
Thanks for the input. The Properties object is more
inline with what I was thinking. The problem with it
however, is that there can only be one key/value pair.
I see no ability to have one key with multiple pairs
other than doing comma delimitation. This is why XML
was chosen originally.
I like java.util.Properties, or, if Strings aren't good enough, another
wrapper for a Map that allows put/get of Objects but that uses a
hierarchical default system like Properties does. Properties has built
in load/save methods that you can use to store your properties on disk
until you move t
If you have a good learner and familiar with Dependancy injection/IOC
I would recomend you look at acegi.
It has a steep initial learning curve but there is no need that it
doesn't satisfy, I think it is the most flexible and advanced security
system/framework I've ever seen, providing security al
Hi Julian,
you should take a look at CMS (container-managed security) as this is
probably the most effective solution - integrated, portable, widespread
etc.
Try either tomcat's website for documentation there, or even look in the
servlet spec from Sun, or in your appserver's docs, to see if i
Hi, I am a Struts Newbie and would appreciate if
anyone could give me some pointers on a user
preferences/ configuration system design. Perhaps a
link to a good resource? I have an ASP system with
several levels of "users" that are as broad as an
organization and as fine-grained as an individual
17 matches
Mail list logo