• 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
Re: Sharing an EO model between applications... ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sharing an EO model between applications... ?


  • Subject: Re: Sharing an EO model between applications... ?
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 23 Jul 2014 00:29:58 +0000
  • Thread-topic: Sharing an EO model between applications... ?

Hi Chris,

The word you are looking for is “framework”.  Put the model and EO classes and anything else you want shared in a  framework project and include that in the two application projects. 
http://wiki.wocommunity.org/display/documentation/Development-Frameworks
http://wiki.wocommunity.org/display/WEB/Your+First+Framework
http://wiki.wocommunity.org/display/documentation/Add+a+Framework+Dependency


As for locking… do you run more than one instance of your application now?  If so, you should not run into any new problems.  If not, it is possible that your code is relying on there being only one process updating the database and that a second app could result in optimistic locking failures that you will need to now handle and will result in data freshness concerns that you will need to accommodate.


http://wiki.wocommunity.org/display/documentation/EOF-Using+EOF-Optimistic+Locking
http://wiki.wocommunity.org/display/documentation/EOF-Using+EOF-Concurrency
http://wiki.wocommunity.org/display/documentation/EOF-Using+EOF-Problems
http://wiki.wocommunity.org/display/documentation/EOF-Using+EOF-Caching+and+Freshness


Chuck

-- 
Chuck Hill             
Executive Managing Partner, VP Development and Technical Services

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/gvc/practical_webobjects

Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! 

Global Village ranks 56th in the 26th annual PROFIT 500 ranking of Canada's Fastest-Growing Companies by PROFIT Magazine!


On 2014-07-22, 5:03 PM, "Chris Klein/IcontactWeb" wrote:

Folks,

I have a webobjects application that I want to split into two
separate applications: one to do slow, batch-oriented tasks; the
second to manage simple, fast user queries.

Ideally, the two applications would exchange data through a
database using a common EO model. However, I have no idea
whether the WO runtime provides any kind of concurrency/locking
protection for this scenario.

I have a rudimentary understanding of locking, but this is way
beyond my understanding, and I haven't found any hints on-line.

Any help, including a pointer to somewhere that this may have
already have been answered, would be greatly appreciated.

WebObjects 5.3.3
OS X 10.4.11
XCode 2.4.1
(I know, old-timey)

Thanks in advance.

Chris Klein






_______________________________________________
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
 _______________________________________________
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

References: 
 >Sharing an EO model between applications... ? (From: Chris Klein/IcontactWeb <email@hidden>)

  • Prev by Date: Sharing an EO model between applications... ?
  • Next by Date: Re: D2W app date field is required ???
  • Previous by thread: Sharing an EO model between applications... ?
  • Next by thread: WebObjects Puppet Module
  • Index(es):
    • Date
    • Thread