The interceptor can be safely removed. It was necessary for the
project I was working on, but you probably don't need it.

JDBC connection settings are best done through a DataSource and
specified at the container level instead of programmatically.

Martijn

On Mon, Nov 16, 2009 at 6:38 PM, Jeffrey Schneller
<jeffrey.schnel...@envisa.com> wrote:
> At the link[1] it describes how to configure wicket to use Spring and
> Hibernate.  In the applicationContext.xml file there is reference to a n
> interceptor bean.  What is this interceptor bean?  What is the
> definition of this bean?  Everything else seems to make sense.
>
>
>
> Also how would one move the configuration of the jdbc connection to
> code?  It is desirable to db connection information reside at the server
> level so when deploying code from dev to stage to production, you do not
> need change or replace a file.  The configuration is at the server level
> [in the server context] and it is pulled from there.
>
>
>
> Thanks.
>
>
>
>
>
>
>
> [1]
> http://wicketinaction.com/2009/06/wicketspringhibernate-configuration/
>
>
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.4 increases type safety for web applications
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to