• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to use ERJgroupsSynchronizer framework without Wonder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  1. Need to incorporate ERJGroupsSynchronizer.framework into my code.
  2. 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.
  3. Then it looks like I need to call out ERXObjectStoreCoordinatorSynchronizer.initialize(). This looks like it needs to happen before any models get loaded.
  4. 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

  • Follow-Ups:
    • Re: How to use ERJgroupsSynchronizer framework without Wonder?
      • From: Mike Schrag <email@hidden>
  • Prev by Date: new Session being created
  • Next by Date: Re: Inherited Relationships using Different Destinations
  • Previous by thread: Re: new Session being created
  • Next by thread: Re: How to use ERJgroupsSynchronizer framework without Wonder?
  • Index(es):
    • Date
    • Thread