none
ADO .NET Data Service and Java

    Question

  • I'm evaluating whether to use ADO .NET Data Services for a project.  The services need to be accessible from .NET as well as other platforms such as Java.  Is it possible to consume ADO .NET Data Services from Java?  If so could someone point me to some information that explains how to do it?

    Thanks.

    Friday, June 05, 2009 5:31 PM

Answers

  • Hi,

    While I don't believe anyone has written a full Java client for ADO.NET Data Services (yet), you should be able to access the service using whatever http request and xml read/write functionality Java includes (I assume it has something ).

    I don't have any first-hand experience with this functionality, so I can't provide you with any example code, but you can find examples and explanations of most of the protocol in Mike Flasko's MSDN article "Using ADO.NET Data Services ." The team recently completed an extremely detailed document for the protocol, found here , but the reading is extremely technical and the article might be a better place to start.

    I realize this is not an ideal solution for a Java deployment. It may be possible that someone is working on an open-source Java client, or that the team will consider it as a future investment. For now though, I don't know of any such effort. There have been some efforts for other languages though, so it may happen someday.
    Matt Meehan, ADO.NET Data Services (Astoria)
    Wednesday, June 10, 2009 4:57 PM

All replies

  • Hi,

    While I don't believe anyone has written a full Java client for ADO.NET Data Services (yet), you should be able to access the service using whatever http request and xml read/write functionality Java includes (I assume it has something ).

    I don't have any first-hand experience with this functionality, so I can't provide you with any example code, but you can find examples and explanations of most of the protocol in Mike Flasko's MSDN article "Using ADO.NET Data Services ." The team recently completed an extremely detailed document for the protocol, found here , but the reading is extremely technical and the article might be a better place to start.

    I realize this is not an ideal solution for a Java deployment. It may be possible that someone is working on an open-source Java client, or that the team will consider it as a future investment. For now though, I don't know of any such effort. There have been some efforts for other languages though, so it may happen someday.
    Matt Meehan, ADO.NET Data Services (Astoria)
    Wednesday, June 10, 2009 4:57 PM
  • Hi , 

    Since ADO.Net Data Service is REST enabled service , so any client (Java) which is able to create HTTP Request and process XML/JOSN would be able to consume . 

    Thanks Dhananjay Kumar Find my Articles on http://www.c-sharpcorner.com/Authors/AuthorDetails.aspx?AuthorID=dhananjaycoder Contact me at dhananjay.25july@gmail.com
    Wednesday, June 24, 2009 4:02 AM