Re: How to use ERJgroupsSynchronizer framework without Wonder?
Re: How to use ERJgroupsSynchronizer framework without Wonder?
- Subject: Re: How to use ERJgroupsSynchronizer framework without Wonder?
- From: Chuck Hill <email@hidden>
- Date: Thu, 4 Sep 2008 15:04:25 -0700
On Sep 4, 2008, at 2:59 PM, Mike Schrag wrote:
We have the JMS change notification framework in place that we need
to replace with the Jgroups implementation.
We are not using Project Wonder.
Unfortunately (or fortunately, depending on how you look at it :) ),
you need to drink the Wonder koolaid to use ERXJGroups
notification. This is one that is very hard to do properly without
hackery and a lot of the Wonder tricks depend on eachother --
especially down in EOF. I would be very hesitant recommending that
you pull it apart, because you're just going to run into nasty
problems. You likely need to commit to using ERXEC, ERXModelGroup,
etc. So while you're not going to necessarily gut your app, adding
this ability to an existing non-Wonder app is definitely going to
require some work.
The basic rules still apply -- extend ERXApp, extend ERXSession, and
use ERXEC.newEditingContext instead of new EOEditingContext, but
with an existing app, you are just a lot more of these to find and a
lot more testing to do (for instance, with a big existing app, you
might find that you already have delegates on things that Wonder
requires being a delegate for).
Which, of course :-P Wonder provides a solution for as well:
http://webobjects.mdimension.com/wonder/api/er/extensions/foundation/ERXMulticastingDelegate.html
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden