Re: [Pride-users] Re: [Wicket-user] Re: Tools and frameworks
Brought to you by:
jlessner
|
From: <jle...@gm...> - 2005-08-14 22:37:41
|
Hello everybody.
I would suggest to have a look in the PriDE examples folder. There is a
example of how to use PriDE from within a servlet engine, independently
from the engine's specific features. Maybe this helps you along. The
example uses are hard-coded configuration which you can simply modify to
a variant reading a property file from the class path and feed the
properties to the PriDE initialization.
Regards,
Jan
Anders Peterson schrieb:
> Eelco Hillenius wrote:
>
>> You can't specify VM arguments in your web.xml file. You can use
>> web.xml parameters in your Wicket application object (override method
>> init). You should note however that VM arguments are in the scope of
>> the whole VM that can have mutliple (conflicting?) webapplications.
>> So, you probably want to avoid depending on VM in production systems
>> unless you are really sure you 'own' the server.
>
>
> Ok.
>
> The class/method that reads the properties doesn't access
> System.getProperty("aProp") directly. Instead it takes an argument of
> type Properties. So, there is no problem.
>
> Having multiple databases, for one app, is not a problem either.
>
> http://pride.sourceforge.net/PriDE-Introduction.html#AccessingMultipleDatabases
>
>
> /Anders
|