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/documentation/Development-Frameworks?src=search>
http://wiki.wocommunity.org/display/WEB/Your+First+Framework<http://wiki.wocommunity.org/display/WEB/Your+First+Framework?src=search>
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 protected]<mailto:[email protected]>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to [email protected]<mailto:[email protected]>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to