Hi Eddy,

RIFE has support for application life-cycle management through the repository and participants. You don't need Spring for that.

We briefly discussed this here:
http://thread.gmane.org/gmane.comp.java.rife.user/1791

There's also some info here:
http://rifers.org/wiki/display/RIFE/ GuideConfiguration#GuideConfiguration-sect1friendsparticipants
http://rifers.org/docs/api/com/uwyn/rife/rep/package-summary.html

Best regards,

Geert

On 21-dec-05, at 13:04, Eddy Young wrote:

Hi all,

I suspect this is one situation where Spring comes in handy, but I am still not sure how best to proceed.

(I adhere to the domain-driven design philosophy and my current project is architected accordingly, as explained below.)

I have an abstract class AccountRepository that contains only static methods to retrieve account information. The actual database operations are delegated to a DAO implementation that is injected in the AccountRepository static variable at startup of the application (that is, only once during the lifetime of the application).

Where is the best place to do that in RIFE? If I use Spring with RIFE, how do I go along doing that?

Thanks,

Eddy

_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users


--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage, Belgium
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to