Re: EOEditingContext and WO Services (was Subclassing EOEditingContext)
Re: EOEditingContext and WO Services (was Subclassing EOEditingContext)
- Subject: Re: EOEditingContext and WO Services (was Subclassing EOEditingContext)
- From: Chuck Hill <email@hidden>
- Date: Wed, 4 Jul 2007 09:30:22 -0700
On Jul 4, 2007, at 9:12 AM, Ricardo Strausz wrote:
To have full access to the model (to the database) trough a service...
I am thinking in an intranet, where security is not issue... well
it is, but it can be handled.
This may be the simplest way to connect a desktop app to a database...
I know, it has its problems (e.g., most of the logic goes on the
client) and many EOF functionality is lost with this approach...
but it is just a first try...
And all the clients share a single editing context?
Do you have another suggestion?
I'd keep business logic on the server and move display and a layer of
validation to the client. The solution to this is much more complex
than exposing a single editing context as a web service.
Chuck
On Jul 4, 2007, at 10:15, Chuck Hill wrote:
Why would you want to expose an editing context through a web
service? That seems like the wrong thing to even _want_ to do.
Chuck
On Jul 4, 2007, at 8:02 AM, Ricardo Strausz wrote:
Hola!
Apparently, it is not trivial (at least not easy) to publish an
EOEditingContex trough a web service (see below), nor a subclass
of it, so i decided to do so by "wrapping" such an object into
one of mine...
it works, but it is more tedious since I have to "bypass" each
used method...
If some one knows a better approach, I am looking forward to here
about...
Gracias,
Dino
--
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