I think that shouldn't be too much of a problem really. I forgot about
the transient keyword, but it was in my line of thought re-inject on
every request.
Eelco
On 8/22/05, Joni Suominen <[EMAIL PROTECTED]> wrote:
> Note, you do not need to use XML when using Spring. While that's a
> default choice for many developers, I will almost always use autowire
> feature + programmatic bean factory manipulation + custom annotations to
> drive the dependency injection. Why not let developers choose which IOC
> mechanism to use?
>
> The problem with IOC container integration is that many of the things
> configured using IOC are not serializable. For instance, in many cases
> the example below should be written as:
>
> class MyForm extends Form {
> @Dependency("myDaoName")
> private transient MyDAO foo;
> }
>
> So, Wicket's IOC integration should be able to re-inject dependencies
> whenever the component is deserialized.
>
> --
> Joni Suominen <[EMAIL PROTECTED]>
>
> On Mon, 2005-08-22 at 01:18 +0200, Eelco Hillenius wrote:
> > Sorry guys, but I wasn't able to reserve enough free time to do an irc chat.
> >
> > I have been thinking about Spring integration a bit more though, and the
> > only thing I can think of to make it really nice is to use (runtime)
> > annotations. I was thinking about letting Wicket (actually a few utility
> > classes that come in a seperate package, e.g wicket-extensions-spring)
> > do the wiring using spring like:
> >
> > class MyForm extends Form {
> >
> > @Dependency("myDaoName")
> > private MyDAO foo;
> >
> > etc...
> > }
> >
> > I know, it will take a while before JDK1.5 will be available for the
> > large public, but this is something I would like to support, while I
> > definitively don't want to go the xml route. The advantage of trying to
> > implement something like this, is that we can learn what parts of the
> > Wicket API aren't flexible enough yet to support this. And once that is
> > clear and fixed, it opens the way for alternative implementations if
> > people want that.
> >
> > What do you think?
> >
> > Eelco
> >
> >
> >
> > Eelco Hillenius wrote:
> >
> > > We could even have an online conference (IRC) with the people who are
> > > interested/ want to contribute to this topic. We (core devs) sometimes
> > > work like that, and I find it really boosting to brainstorm like that
> > > and write some code right away. Interested? This weekend?
> > >
> > > Eelco
> > >
> >
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user