Re: Can spring live with keel?

"Shash Chatterjee" <[email protected]>
Newsgroups gmane.comp.java.keel.user
Message-ID <[email protected]>
Ray,

> Or do these overlap too much?
> 
> Any pointers will be appreciated.
> 
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>;

This would be the general idea, YMMV.

HTH,
Shash
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.