Re: What is Best Practice for Menu Storage / Retrieval?




<LibbyChantel@xxxxxxxxx> wrote in message
news:1145022144.998637.321730@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,

I am writing a system where the user wants to store menu values in a
database where they can be changed at will. To get the prototype up in
a hurry, I have stored them in XML format in a database table, and each
time a user connects I retrieve them. For the real system, I would like
to retrieve them once at startup of the system, then each new user will
receive them from some sort of cache. The user is OK with bouncing the
system when the menu changes, if necessary. What is a best practice for
this type of scenario - use properties files or some sort of object
that stays in the JVM memory for the life of the system, or maybe
something else entirely? I have searched the web for documents relating
to this but have not really found much so any links would be
appreciated, as well as helpful advice.

How dynamic do you need the menus to be? Can they change while the program
is in use? Or can changes only be made when the system is down for
maintenance?

Are we talking about an application or a suite of servlets or something else
again?

I think we'll need to know at least that much before we can hope to advise
you.

--
Rhino


.



Relevant Pages

  • Re: DOCX FILE CORRUPTED WHEN RETRIEVED FROM SQL2005
    ... I am facing the same problem and would appreciate your reply on the same as it has become a show stopper for me now. ... My Code is given below to retrieve the docx content from SQL 2005 whose data type is image. ... Here is the code where i insert the file into database. ... when I store these files to the server, using the code below and similar ...
    (microsoft.public.office.developer.vba)
  • Re: Places to store a password
    ... If you need to retrieve the actual value of the password, ... in a database. ... You could also store it in the filesystem in a ... You never retrieve the password itself, but compare the hash ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: DOCX FILE CORRUPTED WHEN RETRIEVED FROM SQL2005
    ... is not the same as the original file size, which seems to be the real issue). ... the process seems forced to store a file whose size ends in an even ... Here is the code where i insert the file into database. ... Here is the code where i retrieve the file from the database. ...
    (microsoft.public.office.developer.vba)
  • Re: special character problem
    ... I assume that field in your database is nvarchar or nchar. ... What you can do is store base64 in your database, ... > alphanumeric character string.In vb by using richtextbox i ... > retrieved when we try to retrieve it. ...
    (microsoft.public.sqlserver.tools)
  • What is Best Practice for Menu Storage / Retrieval?
    ... database where they can be changed at will. ... To get the prototype up in ... time a user connects I retrieve them. ... receive them from some sort of cache. ...
    (comp.lang.java.help)