I was playing with spring mvc and built a simple annotation based example..
Just a few controller pojos and then i wanted to put in a login but when i try
i get an error message that there is no application context. I can post my setup but
I tried all kinds of config and and just got lost. So can you guys please help me!

- First is the underlying container/default setup different when using xml vs annotations? If so whats different?

- what is the minimal security setup for a database based login using xml and using annotations? Please point me to working examples if you have.

- is security configuration different when using annotations?

Thanks in advance