RE: [gentle-devel] Gentle.NET and Remoting
Brought to you by:
mnmr
From: Sanders, D. <dsa...@op...> - 2006-02-24 13:51:45
|
I'd be real interested in hearing your client's selection criteria for their framework. I took a look at Nhibernate, but hate the fact that you have to maintain external xml files. (And not use the attribute features of .NET.) D -----Original Message----- From: gop...@li... [mailto:gop...@li...] On Behalf Of Andreas Seibt Sent: Friday, February 24, 2006 2:42 AM To: gop...@li... Subject: Re: [gentle-devel] Gentle.NET and Remoting Morten Mertner wrote: > Hi Andreas, >> Does anyone have experience in using Gentle in such an environment. >> Specially: Is Gentle capable to transfer the internal object states >> (added, modified, deleted) between the client and the server even if >> the server is implemented stateless? > It is the responsibility of the client class to ensure that state is > included in the serialized data (specifically, the backing field for the > IPersistent.IsPersisted boolean). The default implementation by > Persistent does include this field. Note that it is also the > responsibility of clients to initialize this field correctly in > constructors (e.g. by calling the Persistent base constructor with the > right parameter). When retrieving records from the database, the field > is automatically set (after calling the constructor). >=20 > Also note that the cached PersistenceBroker reference is lost during > serialization, so after remoting they'll revert to using the default > provider unless you specify one manually (e.g. by handling a > deserialization event). >=20 > Yours, > Morten Hi Morten, thanks for your reply. I couldn't answer before because i can't get my private mail at my current job. Fortunately my customer has decided to build a classic client/server application with direct database access. Unfortunately he has decided to use NHibernate as persistence layer. So i have another project where i can't use Gentle in practice. But i don't give up the hope ;-) What's about the status of Gentle 2.0? Regards Andreas ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D= 121642 _______________________________________________ Gopf-devel mailing list Gop...@li... https://lists.sourceforge.net/lists/listinfo/gopf-devel |