按照下列步骤建立您的数据源
输入bean当作您的数据源来使用。
您不会希望您的数据源指向您的生产数据库服务器。
You wouldn't want your data sources pointing to your production database server.
测试您的数据源并确保能够连接到Sample数据库。
Test your data source and make sure that you can connect to the Sample database.
单击加号(+)展开数据源,然后高亮显示您的数据源(DELIM)并单击ok。
Click on the plus sign (+) to expand the data sources, then highlight your data source (DELIM), and click on ok.
在您的数据源中添加一个额外的变量和两中方法到您的根bean 中,如 列表8 所示。
Add an extra variable and two methods to the root bean in your data source, as Listing 8 shows. You can see these changes in the Root.java
当然,简单明了的事情,以及您在自己站点上实现它的时候所面临的主要挑战,将与您的数据源互动,并获得恰到好处的CSS式样。
Straightforward stuff, of course, and the main challenges when implementing this on your own site will be interacting with your data sources and getting the CSS styling just right.
可以考虑将一个RESTfulJSON控制器放置到您的项目中,将它用作一个虚拟“交通警察”,负责发送请求并接收来自您的数据源的响应。
Consider putting a RESTful JSON controller into your project and using it as a virtual "traffic cop" that sends requests to and accepts responses from your data source.
为了获得易读的错误消息,配置您的数据源并且设置 retrieveMessagesFromServerOnGetMessage自定义属性为true。
To get readable error messages, configure your data source and set the retrieveMessagesFromServerOnGetMessage custom property to true.
运行该应用程序将在窗口中显示来自数据源的数据,并允许您浏览数据记录并根据需要进行修改。
Running the application displays the data from the data source in the form, and allows you to browse through the records and modify the data as needed.
对于这一示例场景,您需要将数据源指定文件绑定到相应的数据库。
For this sample scenario, you want to bind the data source specific files to their corresponding database.
您的客户应在其数据源中修正丢失的数据,但他们可能会寻求帮助。
Your customer should fix missing data in their data source, but they might ask for help.
假设您需要创建和维护一组不同的数据源定义。
Suppose you need to create and maintain a separate set of data source definitions.
如果您的后端系统是JDBC数据库,那么您应当将登录信息与数据源联系起来。
If your backend system is a JDBC database, you should associate the login with the data Source.
例如,有了考虑全面的数据模型后,就可以更为容易地将各种数据源迁移到您的应用程序中。
Having a well-thought-out data model, for example, makes it easier to migrate a variety of data sources into your application.
可能有一些情况您只需为某些报告关联来自不同数据源的数据。
There will be instances where you simply must relate the data from disparate data sources for certain reports.
查询语言(YQL),这种单端点的JSONP服务允许您查询、过滤和合并来自不同数据源的数据。
Query Language (YQL) as a single endpoint JSONP service that lets you query, filter, and combine data from different data sources.
您需要给出一个JDBC的数据源,从中可以提取出数据库模式的信息。
You give it a JDBC source from which it can extract database schema information.
为此,您必须为前面小节定义的每个OD m数据源创建一个ODBC数据源。
To do this, you must create an ODBC data source for each of the ODM data sources defined in the previous section.
除了打开一个通信信道之外,该链接还允许您映射企业应用程序的数据源jndi名称。
Besides opening a communication channel, this link allows you to map your enterprise application's datasource JNDI names.
对您管理的现有业务数据源进行编目。
Take an inventory of the existing business data sources at your disposal.
如果有丢失数据或脏(dirty)数据,您的客户是否可以在数据源中进行纠正呢?
If there is any missing data or dirty data, can your customer correct this in the data sources?
现在已经创建了数据存储帮助程序,您需要在上面创建的WebSphere数据源中配置它们。
Now that the data store helpers have been created, you need to configure them in the WebSphere data source created above.
尽管您已经用OracleXAJDBC数据源配置了您的测试服务器,但还需要对Oracle数据库自身进行配置以使其支持xa事务。
Although you have now configured your test server with an Oracle XA JDBC data source, you may also need to configure the Oracle database itself to support XA transactions.
接下来,为您的jndi数据源建立参考资源。
Next, follow these steps to set up a resource reference to your JNDI data source.
在您的应用程序内,所有您需要做的就是将数据源指向rds服务器。
Inside your application, all you need to do is to point your data sources to your RDS server.
服务器调用一个目的函数来执行明确定义的任务,即访问和管理您的外部数据源。
The server calls a purpose function to perform well-defined tasks to access and manage your external data sources.
一旦您拥有了采用RDF的一些数据源,并且拥有可以确定它们之间关系的本体,那么您需要一种从中获得有用信息的方法。
Once you have some sources of data in RDF, and you have ontologies to let you determine the relationships between them, you need a way to get useful information out of them.
为了识别将支持仓库数据模型和业务需求的数据源(业务内部和外部的),您需要记录所有的数据源。
To identify the data sources (both internal and external to the business) that will support the warehouse data models and business requirements, you need to document all the data sources.
在典型的摄入场景中,您会有大量的数据源要处理。
In typical ingestion scenarios, you will have a number of data sources to process.
应用推荐