How to use ERJgroupsSynchronizer framework without Wonder?
How to use ERJgroupsSynchronizer framework without Wonder?
- Subject: How to use ERJgroupsSynchronizer framework without Wonder?
- From: Dov Rosenberg <email@hidden>
- Date: Thu, 04 Sep 2008 17:31:00 -0400
- Thread-topic: How to use ERJgroupsSynchronizer framework without Wonder?
Title: How to use ERJgroupsSynchronizer framework without Wonder?
We have the JMS change notification framework in place that we need to replace with the Jgroups implementation.
We are not using Project Wonder.
I am trying to decipher the necessary steps to incorporate this framework into our existing apps. There really isn’t any docs that explain the functionality of this so I have had to figure out things based on the code. Here is what I think I need to do. If someone can validate this list it would be appreciated
- Need to incorporate ERJGroupsSynchronizer.framework into my code.
- Looks like I need to call out ERJGroupsNotificationCenter.install() early on in my application initialization. This appears to create a subclass of the NSNotificationCenter. It seems that this needs to happen before the model gets loaded.
- Then it looks like I need to call out ERXObjectStoreCoordinatorSynchronizer.initialize(). This looks like it needs to happen before any models get loaded.
- Once I get a reference to a ERXObjectStoreCoordinatorSynchronizer then I can create a ERJGroupsSynchronizer.
It seems that there must be some other steps that Wonder does that I might need to replicate. I saw a reference to ERXDatabase. Somewhere I would need to hook in and create a subclass of EODatabase I would imagine.
Would it be possible to integrate Project Wonder without destroying my whole application? We have a base class that inherits from WOApplication (actually some thing like)
WOApplication
foundation.Application
services.Application
myapp.Application
Can I simply change my foundation.Application to extend ERXApplication? Will that initialize the other parts of the stack properly? We don’t have the ability to gut our application too much at this point.
Thanks in advance for any tips
Dov Rosenberg
_______________________________________________
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