Hi,

On Mon, Jun 15, 2009 at 9:28 PM, Daniel Dominik Holúbek <
[email protected]> wrote:

> Well, may be, but won't they send me back to this mailinglist? :)To be
> honest, I have only a little problem with Spring DM itself (there are
> couple
> of tutorials out there), I was only curious about whether somebody has
> successfully tried this.
> For example, now it seems that the dependency is not being injected in my
> code. And I can't do that via @SpringBean, because that needs to be set in
> web.xml, and I have no web.xml in my OSGi bundle.


Actually with Spring DM you do have web.xml in web bundles, as described in
their reference documentation.
I'v been able to use Wicket with Spring DM without problems. No Hibernate
though : it really wasn't designed for a strictly controlled environment
such as OSGi.

So, I guess that your problem (not getting IoC to work) is not Wicket
related but Spring DM related.

Cheers

>
>
> But yes, there is a chance that the problem has nothing to do with Wicket
> itself.
>
> On Mon, Jun 15, 2009 at 4:38 PM, Igor Vaynberg <[email protected]
> >wrote:
>
> > isnt this a question for the spring dmserver forum?
> >
> > -igor
> >
> > On Mon, Jun 15, 2009 at 3:49 AM, Daniel Dominik
> > Holúbek<[email protected]> wrote:
> > > Hello,has anybody here successfully used Spring DM with Hibernate (the
> > OSGi
> > > way) in Wicket?
> > > I am totally hopeless about this...
> > >
> > > The goal is to create modular app with this features:
> > > - every module (bundle) has its own applicationContext and DAO classes.
> > > - i.e. if I have a module which loads blogs, I want to include the Blog
> > > entity with corresponding DAO in the bundle and nowhere else.
> > >
> > > Thanks in advance.
> > >
> > > --
> > > -danoh-
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>
>
> --
> -danoh-
>

Reply via email to