Hi all

As said earlier, I'm beginning with Spring and I find it a bit hard to
know how to design my application with it.

Let me give an example : in order for the end user to register, I've a
registration form. Up to now, I've a registrationBean which isn't
managed by Spring. On the form submit, I do a Spring bean and save it
as needed.

Is it the best way to proceed ? Or all objects used should be managed
by Spring excepted for my pages, session and forms ?

BTW, do you have a "reference source" dealing with Spring design in
general ? I fear XML hell and I've seen so many different designs that
I'm looking for the good way. For example, I'm hesitating between :
- implementing somes "Managers" for each kind of objects
- setting both the interfaces and the implementations in the
ApplicationContext file
- setting only the implementations in the ApplicationContext file and
using only interfaces in my code
-...

My goals are to be able to unit test my work as well as avoid xml hell
and the like...

Thanks in advance
ZedroS

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to