Thanks for your replies everyone. I think I can make an informed decision
now about what to do in each case.
I like the flexibility of the @SpringBean and the simplicity of the
application object, probably with seperate objects holding the DAOs and
services, so not to bloat the application object.
And if you have about 100 DAO's, then your application class will get bloated.
Martijn
--
BREAKING NEWS: Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wic
2007/6/23, Robert . <[EMAIL PROTECTED]>:
this is better because if you use applications to hold non-proxied daos
> you have to be very careful not to leave a reference to it anywhere. because
> dependencies injected throgh @SpringBean are special proxies you dont have
> to worry about it because
On 6/23/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > class PersonModel extends LoadableDetachableModel {
> >@SpringBean
> >private PersonDao dao;
> >private final long id;
> >public PersonModel(long id) {
> > this.id=id;
> > InjectorHolder.getInjector().inject(thi
On 6/23/07, Robert . <[EMAIL PROTECTED]> wrote:
On 6/23/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>
> On 6/23/07, Robert . <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > On 6/23/07, Flemming Boller < [EMAIL PROTECTED]> wrote:
> > >
> > > On 6/23/07, Robert . < [EMAIL PROTECTED] > wrote:
> > >
>
On 6/23/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
On 6/23/07, Robert . <[EMAIL PROTECTED]> wrote:
>
>
>
> On 6/23/07, Flemming Boller < [EMAIL PROTECTED]> wrote:
> >
> > On 6/23/07, Robert . < [EMAIL PROTECTED] > wrote:
> >
> > There is no silverbullet here. Each solution has its drawbacks.
>
On 6/23/07, Robert . <[EMAIL PROTECTED]> wrote:
On 6/23/07, Flemming Boller <[EMAIL PROTECTED]> wrote:
>
> On 6/23/07, Robert . <[EMAIL PROTECTED] > wrote:
>
> > One thing I am struggling with is where I should put my DAO's and data
> >
> > services. I know about the @SpringBean annotation for
On 6/23/07, Flemming Boller <[EMAIL PROTECTED]> wrote:
On 6/23/07, Robert . <[EMAIL PROTECTED] > wrote:
> One thing I am struggling with is where I should put my DAO's and data
> services. I know about the @SpringBean annotation for components, but
> how should I use those in classes such as De
Hi
I have put my answer in below you mail
/Flemming
On 6/23/07, Robert . <[EMAIL PROTECTED]> wrote:
Hi, I'm trying to make a project using Hibernate, Spring and Wicket.
I am have some conceptual difficulties. Would love if someone could
share their knowledge or point me in the right direction
Hi, I'm trying to make a project using Hibernate, Spring and Wicket.
I am have some conceptual difficulties. Would love if someone could
share their knowledge or point me in the right direction.
One thing I am struggling with is where I should put my DAO's and data
services. I know about the @Spr
10 matches
Mail list logo