最近我也是在涉及并发Java方面的东西, 说说我的心得. 确实到了并发盛行的时期了, 我觉得最重要的原因还是多核处理器及其硬件体系的日趋成熟, 并且成本摊薄到大众价格了. j.u.c 包主要是为了性能来的, 其设计其实不如Java传统的内置同步机制(synchronized块和方法, 以及 Object.wait(); Object.notify())优雅, 但是传统同步机制的最大弊病就是不区分共享同步(一般是并发的读操作) 与 互斥同步 (一般是写操作), 所有同步都只能是完全排他的,只要有并发写的可能性就不得不把全部读操作也互斥同步,从而丧失并发读取的可能性. 这跟大多数应用的并发模式 ...
我感觉受 主流/传统的 Object Orientation 对 领域模型设计 的影响, 以及 SQL 对 关系模型设计 的影响, 目前领域模型基本都设计为 "网络模型" 也就是更倾向于 传统的数据结构. 举个例子, 比如要描述一颗螺丝 s1 和一颗螺母 c1, 以及把它们拧在一起的关系. 如果按照网络模型(传统数据结构)的思路, 那么就必须同时有一个把螺丝拧进螺母(s1.cap = c1)和一个把螺母拧上螺丝的动作(c1.screw = s1), 显然这跟现实世界的逻辑思维是有差别的. 反过来如果按照关系模型的思路, 只要一个建立拧接关系的动作 (new Screwing(s1, ...
2007-09-17

Introducing Hosting Based Interfacing

关键字: HBI Distributed Interoperability
HBI - Hosting Based Interfacing What is (not) HBI? 引用HBI is about interoperability among distributed applications (software components), built with same or different technologies. As the name implies, HBI is an architecture that software components communicate with each others by hosting the ex ...
一点相关进展: Sun Releases JCK to OpenJDK and its Derivatives: http://www.infoq.com/news/2007/08/openjdk-jck Apache你就去打造你的 Harmony 牌子不就完了么, 非看上人家的 Java 牌子, 还要求不受限制的使用, 有点觊觎的感觉.
http://www.brightcove.com/title.jsp?title=704328501 科幻里的东西已经开始进入现实了 :O
偶然看到Wiki百科的 Lua 词条, 注意到它的这个特性: 引用Lua allows ...; and full lexical scoping allows fine-grained information hiding to enforce the principle of least privilege. 不过比较遗憾的是, 通过这里链接过去的 http://en.wikipedia.org/wiki/Principle_of_least_privilege 词条中的描述, 似乎这个 最小权限原则 没怎么被用于软件设计开发方法学, 虽然很早就提出来了, 但主要描述的是在系统设计领域 ...
BSD License, 需要 JDK 6.0 或者 JRE 6.0 + OpenJDK Javac 运行. 附件为代码包 (请到 http://sjsh.dev.java.net 下载最新代码包, 此处附件以后不再更新) 参照代码包中 demo/src 目录下的示例, 就可以很简单的写成包装自己应用对象的 SSH Server 了 启动演示 SSH Shell Server 引用 D:\workspace\SecureJSH>ant demo Buildfile: build.xml build: compile-demo: run-java-demo: [java] ...
http://www.webofweb.net 新 Logo, 新页面. 大家去看看.
The Object-Relation-Kin Model Toward Relational Analysis and Design in General Object Oriented Languages Abstract: The relational model is in use by many database systems. Object oriented technology is also widely used in database application development. But “object-relational impedance mismatch” ...
Object-Relational Mapping The Fake Speak of Relational Model In Your Favorite OO Languages Abstract: What is today's Object-Relational Mapping REALLY doing? The answer will be given by this paper is: Mapping the Network Model and SQL interface. In this paper, we shall see why and how this is the tr ...
歆渊
搜索本博客
存档
最新评论