Skip to main content

Programming Related Items on

The term "first-class function" is now very well-known, partly because of the renewed interest in functional-programming languages (Scala, Clojure, Erlang, etc.). But a quick google search shows that the only well-known meaning of "first-class code" is a category of airline travel that includes "Supersonic or First Class Suite (currently only on the Airbus A380)"! Well, for the purposes of this article, script embedded in a Java program is not "first-class code" because it can not use in-scope Java variables unless the variables have been put into the script engine by explicit program action. This article describes the use and development of "InScript" -- a tool that enables scripts in any JSR-223 supported language to use in-scope variables from the embedding Java program naturally -- without the need for any manually programmed action on the Java variables.
This blog explains when, where and how to implement a decorator pattern.
This blog explains when, where and how to implement a decorator pattern.
In this newsletter we try to calculate the meaning of life, with surprising results.
Article consist of extending JAVA's printStackTrace() which prints out much more details of the execution. In case of an Exception a much more detailed stack trace is printed out, from which the complete execution graph can be rebuilt. Sample code was implemented using Java instrumentation API and Java Assist API so that this functionality can be added to any Java Program at class load time without having to physically modify the sources, and by only setting a flag in the JAVA startup command.
State design pattern which is a behavioral pattern allows an object to alter its behavior when its internal state changes, the behavior of object changes due to updates on its state. The implemented graphical drawing program is a good place to use this pattern.
Introduction to parser development using the completely visual tool, VisualLangLab
September 14, 2011
Learn how Facelets can help you speed up JSF development.
July 22, 2011
Learn about agile Application Lifecycle Management (ALM) and its benefits.
June 29, 2011
Learn about worker queue contention and methods for addressing worker queue issues.
June 14, 2011
Learn how to apply jHepWork for analyzing and plotting data sets.
May 15, 2011