`
xhyccc
  • 浏览: 6703 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论
文章列表
接上回的JSON-REST被人潮水般的喷了以后我将事业回归到了REST的学术领域。在完成任务发几篇PP的时候写了这个框架基于Spring管理以及Annotation配置的RESTful WebService Engine。 发布在Google Code http://code.google.com/p/restfulcrudbeans/ 原名叫RESTful CRUDBeans,现在改称Lightechs!整个应用分为三个部分(接口) 1.Converter:将URL以及QueryString 和HTTP 请求头中的信息攫取 2.Service:实现服务的业务逻辑 3.Transforme ...
class PaperDetail implements ComputingTask{ public void doComputing(Representation REP, LogicalPipe pipe){ URI uri=REP.getURI(); String fulltext=pipe.get("http://example/document/"uri.getSection("ID")).transferTo(Representation.TEXT); Paper pp=new Paper(); pp.setId(uri. ...
Class PaperDetail implements ComputingTask{ public void doComputing(Representation REP, LogicalPipe pipe){ URI uri=REP.getURI(); String fulltext=pipe.get("http://example/document/"uri.getSection("ID")).transferTo(Representation.TEXT); Paper pp=new Paper(); pp.setId(uri. ...
CONSTRAINT SATISFACTION PROBLEM SOLVING BASED ON OWL REASONING Author(s): Haoyi Xiong, Ying Jiang paper Paper abstract: With the rapid development and wide application of the Constraint Satisfaction Problem (CSP) theory, the constraints are manifold diversities. In order to support a general solvin ...
此为LighTECHs的熊昊一的最新作品... jWorkPool HomePage I have ever met a problem that Lucene would lock the files of index when we do writing actions, so in a multi-`thread environment, if we only apply traditional Java Asynchronized keyword for sharing this mutex resource, the effect of index writing would be l ...
   终于 经过大学两年的学习 大三把系统分析师 考过了    一定会有人说 系分要靠经验 的确    但我今天说 我刚满二十岁     就是如此 年轻没什么经验是系统分析师的避讳              但年轻却是系统分析师进步的潜力与资本
  虽然,我的不慎言行把我搞成了负分。但还是要继续JSON_REST的系列文章。    昨天提供下载的版本是一个Servlet但我的最终版本是一个Filter过滤器,原因大家也很明了吧。今天主要将建客户端的建设。我用prototype曾经封装了一个。还好....现在找不到了。    不知大家下载以后用过没有,在TOMCAT下还是蛮好配置的。如果用过希望得到你们的评论。    现在用它的网站,还是有的比如     www.icems2008.com    还有几个教育网内的,估计是看不到的不过效果还蛮好的。   
   半年前的一次偶然机会,有幸到杭州开了个BEA DEV2DEV的会,回来后被REST的网络服务调用方法吸引,并且接触到了JSON的数据封装方法。我想大概能不能将两者放在一起,做一个轻量级的WS发布工具。摆脱XML,拥抱JSON?    后来有天下午,翘了一堂英语课写了JSON_REST的第一个版本。他是一个Servlet能够接受诸如 http://www.example.com/json_rest?service=TestService&method=now 的URI返回一个JSON风格的字符串,其可序列化任何POJO对象。如上例返回的是 {date:23,day:0,hours:1 ...
Global site tag (gtag.js) - Google Analytics