Archivi per 27 Marzo 2009



Mocking JNDI

Testing components that use JNDI to get DataSources and other resources can be annoying, because (hopefully) you don't want to run your unit tests inside the application server. JNDI is a good example of how the ServiceLocator makes testing harder.
When you can't turn around the JNDI to get your resources and inject them into your [...]




Info

Stai navigando negli archivi del sito NewInstance per il giorno 27 Marzo 2009.

Gli articoli lunghi sono troncati. Clicca sul titolo dell'articolo per leggerlo interamente.

Calendario

Marzo 2009
L M M G V S D
« Feb   Apr »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categorie