Maybe my question was somewhat confusing...

Of course, the client does not need the database connection. But I
need a central place for my fixed values. I do not want to hardcode
them in the different Java files - I want one central place where all
the settings reside.

On the client side, I need to place some constants, e. g. the
pixelsize of some widgets, or codes that control the behavior of my
app.
On the server side, I need to place some parameters, e. g. the
database connection.

Maybe it would be better to have two config files, one for the client
and the server.

But back to my question:
Where in the file system should I put them?
Direct in the "war" directory? Or somewhere below?

Thank you
Magnus

On Jun 18, 5:15 pm, Magnus <[email protected]> wrote:
> Hi,
>
> I want to have a central configuration xml file to store things like
> database connection. The file should be accessible from the client and
> the server code.
>
> Where should I place this file and how can I access it (are java
> properties supported in client code?)?
>
> Thank you
> Magnus

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to