摘要: 将任务一进行改编,写了一个基于ServiceI框架的服务,并提供Adapter,并用Cmake进行编译,部署,运行,具体分为以下几个方面:1 设计和实现基于ServiceI服务的服务器端服务撰写基于ServiceI服务的服务器的头文件和源文件,在/trunk/socialgraph/helloworld/src下面编写服务的头文件和服务实现文件,撰写过程中需要注意以下几点:1.1 实现服务所需的完整的头文件及头文件直接的相对位置,一般的顺序如下:首先是C++ STL相关的头文件,常见的有#include<string>, #include <vector>等;然后是IC 阅读全文
posted @ 2011-11-26 11:38 tangr206 阅读(458) 评论(0) 推荐(0) 编辑
摘要: IceBox offers a refreshing change of perspective: developers focus on writingservices, not applications. The definition of an application changes as well; usingIceBox, an application becomes a collection of discrete services whose composi-tion is determined dynamically by configuration, rather than 阅读全文
posted @ 2011-11-23 20:53 tangr206 阅读(370) 评论(0) 推荐(0) 编辑
摘要: json 格式的例子: { "firstName": "John", "lastName": "Smith", "address": { "streetAddress": "21 2nd Street", "city": "New York", "state": "NY", "postalCode": 10021 }, "phoneNumbers& 阅读全文
posted @ 2011-11-21 17:04 tangr206 阅读(687) 评论(0) 推荐(0) 编辑