Re: How to create a stand-alone clone?
Re: How to create a stand-alone clone?
- Subject: Re: How to create a stand-alone clone?
- From: Nicolas Daum <email@hidden>
- Date: Mon, 08 Dec 2003 23:22:32 +0100
Thanks Enrique
I should probably forget about this idea
Enrique Zamudio wrote:
* It's impossible to do a stand-alone clone application with WO, is
it?
If by stand-alone you mean that the client can run without connecting to
the server, then yes, well, it's almost impossible.
What you could do is write your own subclasses of
EODistributedObjectStore and EODistributionChannel. When the client app
starts, you catch the exception raised by the normal channel when it
can't find a server, and start your own channel which should do
basically nothing...
And the trick is with your distributedObjectStore. You can access a
local database with JDBC, or use XML files or something, instead of
going to the server. You can allow simple queries of cached data and
maybe storing some data to synchronize it later when you have a
connection to the server.
This way you can probably avoid the issue of having a WebObjects license
on each client. I believe a java client app doesn't need a license on
the client. But you can't use EOAccess then.
* OTOH DBMS like FrontBase can run stand-alone, right?
Yes. Or you can use MySQL or text files.
* The only really workable solution would probably be a remote
connection, wouldn't it?
If licensing is not an issue then you can have a clone server running on
every laptop and then you only need to write your own
EODistributionChannel, which connects to the local server if it fails to
connect to the remote one.
The issue is the cost.
* Is there another dev tool that could use the same code to create a
stand-alone clone?
With 4th Dimension the same code can be used for stand-alone and C/S
deployment. Yet I think it's probably the only edge it over WO ;-)
yeah, stay away from 4D, it's bad for you.
I have been in it for some years and I'm currently running away from it.
It's bugs, shortcomings, arbitrary behavior and so on. And what make
things worse, it's proprietary. It had an edge for some time but it's
behind today.
Moreover the company is in a very bad shape and might just close sooner
or later.
Cheers
Nick
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.