RemObjects常见问题列表

本文档详细介绍了使用ROSDK服务时常见的配置问题及解决方法,包括如何正确放置组件、设置数据服务窗体属性等,确保客户端能成功连接并获取服务。

1、找不到RODLFile.res 

  --> 检查在服务端窗体上是否有放置THYRODLReader组件,并是否有将TRO**Message组件的RODLReader属性关联到THYRODLReader组件

 

2、服务端的TRO**Server、TRO**Message组件一定要放在主窗体上,不能放在其它地方,如bpl包,impl窗体。如果放在

非主窗体上,则客户端会出现找不到服务,或在客户端的TRORemoteServer的ServiceName中会找不到相关的服务。

 

3、服务端的数据部分,如DataStreamer,schema,datadictionary,driverManager,ConnectionManage,SessionManage,

ADODriver,IBXDriver之类的数据端组件一定要放在TDataAbstractService(DataAbstract Service4,即新建一个RO SDK服务,

添加已有的DataAbstractService,另外新加一个服务A,设置A从DataAbstractService继承)的服务中。

 

4、承接上述问题,同时要设置上面TDataAbstractService数据服务窗体的三个属性ServiceDataStream,ServiceSchema,

SessionManage,将这三个属性分别关联窗体中对应的组件, 只有这样做了,客户端才可能在TDAADODataTable的LogicalName属性中列举出表名.

 

5、运行时,提示'TableRequestInfo' does not descend form class 'TableRequestInfo'.
--->要预先在runtime package中添加DataAbstract_core_d7的包;

Sample Categories Some samples are shown below in more than one category. The Dynamic Request, RODL and Named Pipe samples do not ship with the trial version of the RemObjects SDK. Category Samples Introduction First Sample Multi Channel Super TCP Channel Chat RODL (not shipped with the trial version) Async Auto Server Dynamic Request (not shipped with the trial version) Session Types Time Server Channels MegaDemo Multi Channel Super TCP Channel Chat HTTP Chat Named Pipes (not shipped with the trial version) Intermediate Arrays Broadcast Chat Extended File Transfer Named Pipes (not shipped with the trial version) Service Discovery Variants Architecture Session Types Class Factories FPC Server DataSnap Dispatch Notifier Auto Server Multi Channel Proxy Server Advanced Class Factories COM Dispatch Notifier Proxy Server Sample Descriptions Name Category Description Arrays Intermediate This sample shows how to use TROArray for presentating DB tables in a master/detail relationship. Async Introduction This sample shows how to call methods on a RemObjects SDK server asynchronously. There may be times where you want to submit a request for information and defer receiving the result until a bit later. A very simple calculation (Sum) is performed, but this has a built in ten second delay so that it is possible to query the server before the calculation is completed. Auto Server Introduction Architecture This sample shows how a client can control its server when they are both running locally. This is useful if you want to provide a simple standard alone solution which is easily upgraded to multi-tier (or you might want to provide both options). Broadcast Chat Intermediate This example shows how to use the TROBroadcastServer and TROBroadcastChannel channels to write an UDP broadcasting chat program. Class Factories Architecture Advanced This example shows how to use a Class Factory to generate three types of server: Singleton: all clients access a single server object. Single Call: server instances are created on demand and destroyed after processing the method call. Pooled: multiple server instances are accessible by clients. This works exactly the same as Singleton, unless the first server instance is busy. Note: to test this sample properly, you need to run at least two clients. COM Advanced This sample shows how to call an existing RemObjects SDK server using COM. DataSnap Architecture Standard example of the use of the TRODataSnapModule and TRODataSnapConnection components. Dispatch Notifier Architecture Advanced This example shows how to customize message dispatching. IRODispatchNotifier is a special interface that TROInvoker classes know and look for. If your server side object implements it, the IRODispatchNotifier.GetDispatchInfo method will be called before the target method is invoked. Dynamic Request (not shipped with the trial version) Introduction This example shows how to use the TRODynamicRequest component to execute server methods. Extended File Transfer Intermediate This example shows how to transfer files to and from a RemObjects SDK Server in chunks and how to monitor new files via server events. Note: needs at least two clients open. File(s) uploaded from one client are downloaded to the other(s). First Sample Introduction This sample provides an introduction to using the Delphi edition of the RemObjects SDK product. The example shows how to define/implement methods on the server and how to access them from the client. The data consists of name information and four simple methods are provided by the service: Nicknames, VerifyName, CheckName and FullNames. FPC Server Architecture HTTP Chat Channels This shows how to use polled events to create an HTTP based chat program. The clients poll every few seconds for new messages and the server distributes the messages to the appropriate client(s). MegaDemo Channels This comprehensive example illustrates many of the features of the RemObjects SDK by providing benchmark facilities for the various protocols and channels supported. Multi Channel Introduction Channels Architecture This example provides an introduction to using the Delphi edition of the RemObjects SDK product. It shows how to use different channels to connect to the server application. Named Pipes (not shipped with the trial version) Channels Intermediate This example shows the use of a named pipe connection. It creates a named pipe server as a Windows service. Proxy Server Architecture Advanced This example shows how to create a proxy server to redirect the calls to another server without having to recreate the RODL file, thus allowing the use of the same types of the original server. This provides total control. As every call will pass from the proxy class before going to the real server, you can even stop methods from being dispatched any further. RODL (not shipped with the trial version) Introduction <to follow> Service Discovery Intermediate This sample illustrates how to use the TRODiscoveryClient and TRODiscoveryServer components. Each instance of the application acts both as a server and as a client. For the server, you can modify the list of services supported on the right-hand side, while for the client you can enter a service name and get a list of the servers available on your LAN to support it. Session Types Architecture Introduction This example shows the use of sessions and illustrates several SessionManagers: TROEventSessionManager, TROInMemorySessionManager, TROMasterServerSessionManager and TRODBSessionManager. Important note: this sample needs a "Sessions" table to be created in one of your databases. By default, the sample looks for the Sessions table in MSSQL's Northwind Database, but you can easily change to connect to any other database. Super TCP Channel Chat Introduction Channels This sample shows how the Super TCP Channel can be used to create a chat server and clients. Unlike the HTTP Chat sample, this sample doesn't poll the server but sends events back to clients directly. Time Server Introduction This is an extremely basic sample illustrating how to use the TROBroadcastServer and TROBroadcastChannel components. Variants Intermediate This example shows how the RemObjects SDK can transfer variants and array of variants from the client and server using the TROBinMessage and TROSOAPMessage message types.
RemObjects 文档翻译 RemObjects SDK文档总目录 这些年来生成了很多文档,这当然是好事情,但是却很难从中找到你需要的. 本文目标包括: • 提供基本文章推荐的阅读顺序 • 最近的更新列表,说明有什么变化 • 展示所有文档的状态 • 告诉你那个文档被更新 • 那个文档中的范例可以下载 当人们搜索适当的文章时可能有不同的需要,例如你可能很熟悉我们的产品只想看看随着时间的推移产品有多少改变,这样,推荐你使用下面的阅读顺序: • see 查看RemObjects SDK新特性 • see 从Win32到.NET • see 对'Vinci'的更新 • see 跨平台和与其他技术的整合 • see 了解产品架构 • see 产品提供的源码范例 • see 用贡献的文档 • see 老版本 • see 最近的更新文档 这个文档包含所有可用的文章列表list. 注意:本文章随着其它文章的更新而更新。而且最近相关文档也不完整,对'Vinci' 的回顾和更新将放在下面合适的地方 RemObjects SDK新手上路 如果你刚接触我们的产品,那么你可能对基于RemObject SDK的Data Abstract产品没有什么了解 WP01. • RO05 – 如何写 RemObjects SDK服务器端 (Delphi Version) • RO06 – 如何写RemObjects SDK客户端 (Delphi Version) • RO45 -如何写 RemObjects SDK服务器端 (.NET Version) • RO46 -如何写RemObjects SDK客户端 (.NET Version) • RO25 – 理解客户端 • RO29 – 使用服务端测试工具 • RO41 – 将.NET 标准事件处理变为RemObjects SDK执行方式 • RO42 – 介绍对Free Pascal支持 - new for 'Vinci' 从Win32到.NET 为了迁移的需要,你可能已经发现有些文档存在.Net版本,或有些文章包含.Net的相关信息.使用标记Delphi 或.NET 将嵌入在已经存在的Delphi应用程序的代码转到.Net的一个选择是使用Hydra产品 . • RO16 – 类工厂预览 • RO25 – 理解客户端 • 如何写RemObjects SDK服务端 - Delphi: RO05, .NET: RO45 • 如何写RemObjects SDK客户端 - Delphi: RO06, .NET: RO46 • HY09 –主要介绍Hydra 3.0.1 对'Vinci'的更新 下面的文档包含了对'Vinci'的变化,你将会看到new for 'Vinci'标记. • RO38 – 比较RemObjects SDK通道 - new for 'Vinci' • RO40 – 对XML-RPC的支持 - new for 'Vinci' • RO25 – 理解客户端 • RO37 – 新的Super通道 • RO42 – 介绍对Free Pascal的支持 - new for 'Vinci' 跨平台和与其他技术的整合 • RO42 -介绍对Free Pascal的支持 - new for 'Vinci' • RO40 -对XML-RPC的支持 - new for 'Vinci' • RO19 – DataSnap整合包 • RO20 – 如何用DataSnap类写服务端 • RO21 – 不用DataSnapModule 的简单DataSnap服务端 理解架构 • RO25 – 理解客户端 • RO07 - Smart Services™ • RO16 –类工厂预览 • RO37 – 新的Super通道 • RO38 – 比对RemObjects SDK的通道- new for 'Vinci' • RO11 – 使用RemObjects SDK创建异步执行客户端 • RO15 – 原理: RemObjects SDK消息流程-客户端 文档提供的源码范例 有些文档,主要的教程,我们提供了压缩的源码文件,你可以点击文档下面的超链接下载 • RO05 – 如何写 RemObjects SDK服务端 (Delphi Version) • RO06 –如何写 RemObjects SDK 客户端 (Delphi Version) • RO20 – 如何使用DataSnap类写服务端 • RO35 - ROCalc service (by Andrea Raimondi) 有贡献的文章 这些文章不是RemObjects软件公司人员写的,他们很伟大.如果你也许做出奉献请将你的大作发送到support@remobjects.com. 不必担心你的英文语法,我们将修改你的文章并保证不改变你的主题. • RO10 – 不要再如此频繁的调用: 最小服务调用改进执行(by Kevin Powick) • RO13 - Smart Project: 使用RemObjects SDK创建可升级的Smart Services™ (by Nathanial Woolls) • RO33 - SSL/TLS for RemObjects SDK (by Henrick Hellström) • RO34 - I Cannot ROmember (by Brian Moelk) • RO35 - ROCalc service (by Andrea Raimondi) • RO36 - RemObjects SDK 3中的广播事件 (by Derek Davidson) • RO39 – 在一个事务中更新多个ClientDataSet (by Erick Sasse) 产品历史和老版本 如果你的应用程序还在使用我们的老版本产品,你能再这里发现有用的信息. 注意: 关于DataSnap的文章也包含再这里,因为他们在Data Abstract产品之前就已经存在了. (see its ROadmap at DA00). • RO19 – DataSnap整合包 • RO20 – 如何使用DataSnap类写服务端 • RO21 – 不使用DataSnapModule 创建简单的DataSnap服务 • RO27 - RemObjects 3.0 SDK预览 • RO31 - RemObjects SDK 3.0代码级别特性 最近更新文章 这里只列出了最主要的更新文章. 次要更新包含修正错别字和语法等.规则很简单,主要更新就是我们觉得有必要重新阅读的更正. • 2007-07-10: RO29 – 使用服务端测试器 新的截屏和对.NET版本的说明. • 2007-07-07: RO21 –不用DataSnapModule创建简单的DataSnap服务端 截屏带有数据并更加整洁. • 2007-06-27: RO11 – 使用RemObjects SDK创建异步客户端 重新整理文章,但是只涵盖了Delphi. 不含.NET. • And so on
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值