Skip to main content

Kenyth Zeng's Library tagged article   View Popular

14 Dec 09

探索 CouchDB

  • 面向文档的数据库中根本不存在表、行、列或关系。
  • 这并不意味着不能从 CouchDB 数据库获取一组关系数据。一个称为视图的特性允许您为没有在数据库中定义的文档创建一种任意关系。这意味着您能够获得典型的 SQL 联合查询的所有好处,但又不需要在数据库层预定义它们的关系。
  • 10 more annotations...

InfoQ: Virtual Panel: Evolution of JavaScript Frameworks for HTML 5

  • HTML 5 introduces a number of new Javascript APIs.
  • 2D drawing API which can be used with a new canvas
  • 6 more annotations...

InfoQ: JavaRebel: Dynamic Classloading in the JVM

  • JavaRebel brings Ruby and PHP style dynamic reloading of classes to Java.
  • This includes adding and removing both methods and fields and the only forbidden changes are to ‘extends’ and ‘implements’ clauses
03 Dec 09

幂律分布-搜狐财经

  • 也请注意由于少数几位摄影者不成比例的提交量,3/4的摄影者所提交照片数量低于平均值。这个模式在博客、邮件组等社会性媒体中普遍呈现。
  • 维基百科用户中提交过内容的不足2%,却足以为数百万用户创造深远的价值。如果考虑过减少这些不平等的话,推动维基百科发展的自发的劳动分工就不可能了。
  • 7 more annotations...
06 Nov 09

Class Loading in Java: Time to Add Dynamicity? | Javalobby

  • But not everything can be reloaded by JavaRebel: No reloads with class hierarchy change are possible.
  • 8 more annotations...

How JavaRebel Saves Development Time | Javalobby

  • When debugging through my code in Eclipse, it’s nice to make a change and see that reflected in the running instance straight away with HotSwap.
  • I’ve often wondered why this is the case with Java when dynamic languages and .NET can handle this quickly. 

  • 8 more annotations...
04 Nov 09

Understanding Network Class Loaders

  • The mechanism that enabled such dynamic loading is a class loader, which is one of the cornerstones of Java dynamism.
  • The process of combining the code into an executable native code is called linking - the merging of separately compiled code with shared library code to create an executable application.
  • 6 more annotations...

Discover the secrets of the Java Serialization API

  • That means we could easily transfer a flattened object across a network wire and have it be rebuilt on the other side!
  • the class file must be accessible from the system in which the restoration occurs
  • 15 more annotations...
02 Nov 09

ClassLoader说明 - 锈材技术收藏站 - JavaEye技术网站

  • 大家可以看看sun.misc.Launcher的源码,Bootstrap和Extention就在该文件里。该src可以在sun的网站上下载该压缩包,约60M(jdk-1_5_0-src-scsl.zip),它不在jdk自带的那个src.zip里。
  • 在一个单虚拟机环境下,标识一个类有两个因素:class的全路径名、该类的ClassLoader
  • 3 more annotations...

Tacit Records: The Java Class Loader — Developer.com

  • Since each class loader is itself a class, the question as to which comes first is often asked.
  • The SecureClassLoader is an extension of ClassLoader and a standard class loader within the JDK runtime library.
  • 5 more annotations...

Java 编程的动态性,第 1 部分:类和类装入 - K.Y.Z@CSDN - CSDN博客

  • 在编写应用程序以使用接口时,可以到运行时才指定其实际实现。这个用于组装应用程序的后联编方法广泛用于 Java 平台,servlet 就是一个常见示例。
  • 每个构造好的类在某种意义上是由装入它的类装入器所“拥有”。类装入器通常保留它们所装入类的映射,从而当再次请求某个类时,能通过名称找到该类。
  • 5 more annotations...
01 Nov 09

page 2 > The Chain of Responsibility pattern's pitfalls and improvements - JavaWorld

  • By nature, a global event hook chain is not classic CoR. The event must be delivered to all listeners in the chain,
    regardless of whether a listener already handles it. So the CallNextHookEx() call seems to be the job of the base class, not the individual listeners. Letting the individual listeners make the call
    doesn't do any good and introduces the possibility for stopping the chain accidentally.
  • "4. a) Either invoke the next entity in the chain using the FilterChain object (chain.doFilter()), 4. b) or not pass on the request/response pair to the next entity in the filter chain to block the request processing."

page 1 > The Chain of Responsibility pattern's pitfalls and improvements - JavaWorld

  • I wrote two Java programs (for Microsoft Windows OS) that must catch global keyboard events generated by other applications
    concurrently running on the same desktop. Microsoft provides a way to do that by registering the programs as a global keyboard
    hook listener.
  • The code that registers the program itself as a hook listener was missing the CallNextHookEx() call required by the hook framework.
  • 1 more annotations...
21 Oct 09

Presentation Model

  • The view either stores all its
    state in the Presentation Model or synchonizes its state with
    Presentation Model frequently
  • In the case of composition a Presentation Model may contain
    one or many child Presentation Model instances, but each child
    control will also have only one Presentation Model.

Separated Presentation

  • As well as a separation, there is also a strict visibility
    rule. The presentation is able to call the domain but not
    vice-versa. This can be checked as part of a build with dependency
    checking tools.
  • Although the domain cannot call the presentation it's often
    necessary for the domain to notify the presentation if any changes
    occur. Observer is the usual solution to this
    problem.
  • 1 more annotations...
1 - 20 of 160 Next › Last »
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo