in
Forums
Blogs
Files
Devexpress.Com
ClientCenter
Support Center
DevExpress Channel

XPO

eXpress Persistent Objects

December 2006 - Posts

  • XPO and WCF

    And another “leftover” XPO sample – this time tunnelling through Windows Communication Foundation (WCF). Nothing much to say about this really… if you’re reading this as a single post, you might wonder what the “tunnelling of IDataStore” is all about, so let me point you to this article here for the explanation.

    The download of the sample is here.

  • XPO and RemObjects

    I just remembered that this was something that was still waiting to be published on the XPO blog. Here’s what I announced in the newsgroup about this previously:

    The attached sample implements tunneling of XPO's IDataStore interface through RemObjects SDK's "remoting" solution. I've created an interface in Service Builder that is pretty close to IDataStore, apart from the fact that it uses the Binary type to transfer the XPO specific data types. As RO SDK doesn't do any automatic serialization of data, I had to implement this myself in the methods of the XPOService and XPOServiceProxy classes. I also created the XPOServiceClassFactory, which makes the "real" data store available to the server - this is something you'd probably want to do a bit differently in a real world application.

    Have a look if you're interested, it's really easy - the biggest part of the code I had to write myself is the repetitive serialization stuff.

    I’d like to add two things:

    1. If you don’t know what that “tunnelling IDataStore” thing is all about, please read this post here, and maybe a few others from the XPO section of these blogs.
    2. Miha came up with a nice helper class to simplify the repetitive serialization implementation that I mentioned in my post. A very nice optimization. He’s got his own blog post about it here.

    And finally, the download of the sample itself can be found here.

Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED