RE: Can spring live with keel?
"Ray Tayek" <[email protected]>
| Newsgroups | gmane.comp.java.keel.user |
|---|---|
| Message-ID | <015d01c41ce2$df088280$b4d501cc@STINGRAY> |
> -----Original Message----- > From: user-keelframework.org-admin-rI8AND0JKYOgdSakss0wQjfEH8FBEnyy@public.gmane.org > [mailto:user-keelframework.org-admin-rI8AND0JKYOgdSakss0wQjfEH8FBEnyy@public.gmane.org] > On Behalf Of Shash Chatterjee > Sent: Tuesday, April 06, 2004 10:45 AM > To: user-6VIttnCrOeJXNEnpj1eHPNi2O/[email protected] > Subject: Re: [Keel User] Can spring live with keel? > > > Ray, > > > Or do these overlap too much?... > Although I haven't tried to do this, there is no inherent > reason why Spring cannot coexist with Keel. There are many > possible ways, one of which might be to define a simple Keel > service with one method like getSpring(); in the initialize > method of that class create the Spring container as you > normlly would. Then from your Keel Models (or other > components) you can do: > > SpringService springSvc = > (SpringService)request.getService("spring"); > MyBean bean = springSvc.getSpring().<some spring method I > don't know of>;... > HTH, > Shash Thanks for your prompt assistance.