ZRM has a wonderfully simply way to expose your model as a RESTful service.
ZRM具有一种奇妙的方法可以将模型作为RESTful服务公开。
To begin using the ZRM for the sample, create resource models for your data.
为了开始在示例中使用ZRM,需要为您的数据创建资源模型。
This is a handy feature and time saver when you're developing applications using ZRM.
在使用ZRM开发应用程序时,这是一个便利的功能和节省时间的方法。
In particular, ZRM provides a basic Atom feed service that we'll use later in this article.
特别是,ZRM提供一个基本的Atom提要服务,本文稍后将用到该服务。
You will use another pattern for building REST services called the zero resource model (ZRM).
您将使用另一个模式来构建调用zero资源模型(zero resource model,ZRM)的REST服务。
ZRM is typically used for green field applications, which are applications that don't have legacy data sources.
ZRM通常用于全新应用程序,即没有遗留数据源的应用程序。
Define a DataStore that interacts with a ZRM resource handler and define a DataGrid that utilizes the DataStore.
定义一个与ZRM资源处理程序交互的DataStore,并定义一个使用DataStore的DataGrid。
Also by default, ZRM will use a Derby database unless you provide configuration to use another supported database.
ZRM将默认使用Derby数据库,除非您配置为使用其他支持的数据库。
The ZRM framework will automatically create a backing database to store data instances of this model definition.
ZRM框架将自动创建一个支持数据库来存储这个模型定义的数据实例。
Next, add a ZRM form element. This can be found in the Zero section of the palette, which runs down the right side of the edit window.
下面,添加一个ZRM表单元素,它可以在编辑窗口右侧的选项菜单中的Zero部分找到。
The resource handlers contain very little code in order to process incoming data, and the ZRM completely hides interactions with the back end database.
资源处理程序仅包含少量代码,用于处理输入数据,并且ZRM完全隐藏了与后端数据库的交互。
These resource models define the data format of the resources in your application and are used by the ZRM to provide access to data stored in the database.
这些资源模型定义应用程序中的数据的格式,并由ZRM用于访问存储在数据库中的数据。
As the first component, define a Zero Resource Model (ZRM) -which is equivalent to a relational database table, but provides numerous services on top of it.
作为第一个组件,定义一个ZeroResourceModel (ZRM)—这等同于一个关系数据库表,但在表上提供各种服务。
In earlier steps, you provided the information required for the ZRM, including data source class name, database location, and access information for the database.
在前面的步骤中,您已经提供了ZRM所需的信息,包括数据资源类名、数据库位置和数据库的访问信息。
In earlier steps, you provided the information required for the ZRM, including data source class name, database location, and access information for the database.
在前面的步骤中,您已经提供了ZRM所需的信息,包括数据资源类名、数据库位置和数据库的访问信息。
应用推荐