Data flow diagram

Good intro. from SmartDraw: http://www.smartdraw.com/resources/tutorials/data-flow-diagrams/#/resources/tutorials/Introduction-to-DFD Tutorial: http://www.hit.ac.il/staff/leonidm/information-systems/ch24.html

What is @Repository advantage

The @Repository annotation is yet another stereotype that was introduced in Spring 2.0. This annotation is used to indicate that a class functions as a repository and needs to have exception translation applied transparently on it. The benefit of exception translation is that the service layer only has to deal with exceptions from Spring’s DataAccessException… Read More »

NetBeans compile old source code

NetBeans will cache up the compiled byte code, even “Clean and Build” is used. It may generate weird compilation error in the server log, but the application is execution normally. Check out this url Clear your cache in NetBeans

Server push mechanism

Articles introduced the server push mechanism on html Traditional Comet mechanism http://www.ibm.com/developerworks/web/library/wa-reverseajax1/index.html HTML5 Websocket http://www.ibm.com/developerworks/web/library/wa-reverseajax2/index.html Java server side solution for comet/websocket http://www.ibm.com/developerworks/web/library/wa-reverseajax3/index.html Java framework for comet/websocket http://www.ibm.com/developerworks/web/library/wa-reverseajax4/index.html

Java log viewer

log4j Chainsaw logger viewer – (http://logging.apache.org/chainsaw/index.html) Otros log viewr – (http://code.google.com/p/otroslogviewer/) logback logger Lilith logger viewer – using socket/native appender to communicate (http://lilith.huxhorn.de/)

Setup GWT project with maven and eclipse

Environment: Eclipse 3.7 Indigo, Maven 2/3 + default M2E , GWT Eclipse plugin 2.4 Go to the GWT SDK folder, type this: webAppCreator.cmd -out d:\workspace-Eclipse\gwtTest -maven com.mystic.gwtTest Then import to eclipse as “Existing Maven projects” There are many other way to create GWT in maven, but most of them just NOT working with eclipse 3.7… Read More »

Evenly spaced list items

Ref.: http://stackoverflow.com/questions/7647195/evenly-spaced-list-items made a jsFiddle of your menu… everything is perfectly spaced, dynamic, and it goes all the way to the left/right edges without JavaScript or weird/ugly HTML semantic issues. (And it should work in IE 6, if it matters.) http://jsfiddle.net/bXKFA/2/ HTML: CAREERS TRADE CONTACT US PRIVACY POLICY T&CS SITEMAP CORPORATE ACCESSIBILITY CSS: #menuwrapper {… Read More »