Friday, April 26, 2013

Maven - the "Convention over Configuration" Disadvantage

The Maven approach reduces the JAR-file bloat that consumed most version-control repositories. But using Maven encourages you to adopt its "convention over configuration" approach to building software, which can limit your flexibility in customizing your build scripts.
http://www.ibm.com/developerworks/java/library/j-ap05068/

Saturday, April 20, 2013

Significance of the Mach Kernel

 Unlike traditional systems, under Mach a process, or "task", can consist of a number of threads. While this is common in modern systems, Mach was the first system to define tasks and threads in this way. ... The existence of ports and the use of IPC is perhaps the most fundamental difference between Mach and traditional kernels.
http://en.wikipedia.org/wiki/Mach_(kernel)

Saturday, April 13, 2013

Singleton in the cluster

Even my device control JMX mbeans support high availability where they are automatically managed to run as a singleton in the cluster.
http://humbleblogger.blogspot.com/2005/04/aspnet-vs-j2ee.html

Message Persistence

Also, with async-style RPC there's no equivalent to message persistence - which when message persistence is coupled with transaction semantics, it enables messages to be reliably processed (think credit card transactions, etc).
http://humbleblogger.blogspot.com/2005/04/aspnet-vs-j2ee.html

Wednesday, March 27, 2013

prototype members should be methods

You want the members of prototype objects to be methods. Adding objects which itself contain methods doesn't sound like a good pattern. – Šime Vidas http://stackoverflow.com/questions/8693279/javascript-accessing-parent-properties-from-inside-nested-function

Tuesday, March 26, 2013

JSON.stringifying a Circular Reference

You can use the replacer function approach to blacklist member names (in contrast to how the replacer argument as an array whitelists member names). I’ve found this approach to be useful when I need quick and targeted logging of certain values from a DOM element, but I want to prevent a serialization exception due to attempting to serialize a circular reference (which would occur if I drank some antifreeze and attempted to do something ridiculous like JSON.stringify(document.body)). 
http://freshbrewedcode.com/jimcowart/2013/01/29/what-you-might-not-know-about-json-stringify/