To solve the datasource issue, I just split out the
database info into a separate context file. I have a
jndiContext and a jdbcContext. I use the jdbc one
when testing and jndi one when deploying to an
appserver.
--- Dariusz Wojtas <[EMAIL PROTECTED]> wrote:
> How is it diferent from a "non-static" references?
> We just switch the 'beanRefFactory.xml' file before
> starting tests.
> Tests are run with ANT which just uses a special
> copy of spring settings.
> In fact it mainly differs with datasource.
>
> Darek
>
> On 04/10/05, Eduardo Rocha
> <[EMAIL PROTECTED]> wrote:
> > How do you test your pages with static references
> to Spring beans? Do you
> > use stubs or do you use the actual bean (service)
> implementation?
> N¬HS^µéX¬²'²Þu¼£«·!×¶êÞEë(º·
éíz±kyç(×§µÚ0ZvÇb±Ë¬²*'±©ÝÞÛiÿû(ëb¢{'{¢¸r¿¹ÈmVɶë®f¢)à+-Z'$zÛ¬z¹b²Û,¢êÜyú+éÞ¶m¦Ïÿ+-²Ê.Ç¢¸ë+-³ùb²Ø§~ðɶë
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user