Restful has released a bridge connecting Java and. net.

Source: Internet
Author: User
Restlet open-source project (Java-oriented lightweight rest framework) is mainly a bridge between Java and. net, so that Java developers can easily use ADO. netdataservices.

 

Recently, noeliostechnologies, a French consulting service company, released a new version of the restlet open source project (Java-oriented lightweight rest framework), which includes the restlet extension for ADO. netdataservices. This is the result of collaboration between Microsoft and noeliostechnologies. Java developers can easily use ADO. netdataservices.

 

Through the ADO. netdataservices framework, we can create restful services and clients that use these services. According to msdn:

 

The ADO. netdataservices framework includes many modes andProgramTo create and use the data service on the web. The goal of this framework is to simplify the creation of data services so that users can easily create well-integrated and flexible data services with the Web. Therefore, ADO. netdataservices uses URIs to point to data fragments and represents data in simple and well-known formats, such as JSON and atom (XML-based feed format ).

 

Microsoft technical evangelist Jean-christophecimetiere wrote an articleArticleThis article gives a detailed introduction to ADO. netdataservices (previously called "projectastoria") and explains the reasons why the framework can publish links and non-relational data through restful services.

 

To enable the system to understand and utilize data semantics, ADO. netdataservices uses entitydatamodel (EDM, an entity-link derivative) and uses data services to model data. In this way, data is organized and the associations between entities are managed in the form of "entity type" instances or "entities.

 

For relational data, ADO. netdataservices can expose the EDM model created by ADO. netentityframework. For other data sources (such as non-relational data) or other database access technologies (such as linqtosql), ADO. netdataservices also provides a mechanism to model these data sources as entities and relationships (such as described through edmschema) and expose them as data services.

 

You can use this link to learn more about ADO. NET data services.

 

According to the restlet site, restlet is a framework that assists in developing restful clients and server applications. The restlet framework contains a restletapi that provides a set of core Contract sets to register restlet implementations. These implementations can be open-source projects or commercial products. Cimetriere said:

 

The restlet extension of ADO. netdataservices provides a high-level clientapi to extend the core functions of the restlet framework: You can access Remote Data Services on ASP. NET servers or Windows server.

 

Java developers canCodeThe generator creates a Java class that complies with the data entities exposed by ADO. netdataservices. Then the Java application can use a simple method to access the data. The restlet engine and extended runtime components are responsible for communications between Java client applications and ADO. netdataservices.

 

The component diagram below depicts the overall architecture (source ).

 

 

 

Other Java interoperability technologies led by Microsoft include apachestonehenge (cross-platform SOA/Web Service interoperability) and azure. netservicessdkforjava. You can use www.interoperabilitybridges.com/projects/tag/java.aspxto learn more about java-.netinteroperability.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.