Hi ZedroS,

you could check out the wicket pastebin at
http://developer.berlios.de/projects/wicketpastebin/ which uses wicket
and spring.
I personally think using only the interfaces in your code is usually a
good idea. If you want to avoid XML and don't mind dabbling with
experimental code then you could take a look at
http://www.springframework.org/javaconfig which aims to configure
spring in java code.

regards,

roland

On 3/9/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote:
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to