Skip to main content

Programming Related Items on Java.net

In this introductory article, Albert Attard introduces the basic techniques of reflection: discovering and using a class's methods and fields at runtime, and discusses cases where this can be a powerful technique.
February 12, 2008
Binildas C. A. shows how to combine the database's ROWNUM function with Java SE 5's thread pools to create highly effective pagination.
January 31, 2008
Java EE defines the Java Messaging Service (JMS) for creating loosely coupled enterprise systems, and in this article, Deepa Sobhana shows off how to build a JMS-driven application atop GlassFish.
January 22, 2008
GlassFish provides fine tools for load balancing across a cluster, but what if you want to make your clustering decisions dynamically? In this article, Masoud Kalali shows how JMX and AMX can be used to make runtime clustering decisions.
January 15, 2008
Shoal is an open source clustering framework, used to provide clustering functionality to GlassFish. In this article, Diego Naya and Juan Pedro Danculovic show how to work directly with the Shoal API.
December 11, 2007
Eric Spiegelberg offers a cleaner design for using DWR to allow an Ajax-based web application to provide server-side validation of client-side input.
December 4, 2007
This "stupid question" is about how collections are defined as only working with objects, yet a simple code example proves it's trivial to add primitives to collections.
November 27, 2007
This "stupid question" is about a scenario in which an application wants to listen to events from a remote box and invoke interface methods, which implies a thread to listen for the methods. But how do you invoke those methods when all the threaded work has to be done in the thread's run() method?
November 1, 2007
Biswajit Sarkar shows how to create a JVM from an assembly language program and call Java methods from it.
October 4, 2007
Dejan Bosanac, author of "Scripting in Java," looks at how an interface-driven approach allows you to maintain good design as you combine languages.
September 20, 2007