Java Posse 79

edit

Summary

Terms and technologies mentioned in episode 79 of http://javaposse.com/.

Tools / Technologies

Term (memorize) Description (memorize)
closureanonymous block of code (passable as a parmeter)
continuationsaving a copy of call stack (at a point in time)
delagatesC# name for closure
genericslets you give types to collections (Java 5 feature)
Mustangold name for Java version 6
Dolphinold name for Java version 7

Tools / Technologies

Tool (memorize) Description (memorize)
JSFJava Server Faces (web UI framework)
ELthe expression language from JSF
JDeveloperOracle's Java IDE
JFugueJava API for Music Programming (encapsulates MIDI)
MIDImusical instrument digital interface
SmartMoney 401(k) Retirement plannerCalculates 401k numbers

Tools / Technologies II

Tool (memorize) Description (memorize)
annotations@... tags that add metadata (to classes and methods, etc.)
autoboxingsyntactic sugar to converting between Integer and int, etc.
varargsvariable-length arguments for methods
Trailersprovides new ways of skinning swing apps
JiniEnables transparent networking (of devices and services)
J2Nativeaccess to native libraries without JNI (commercial product)

New versions mentioned

Tool (memorize) Version (memorize)
JDeveloper10.1.3.1.0
JBoss ESB (Enterprise Service Bus)4.0 beta 1

Code samples

Question (memorize) Answer (memorize)
JFugue
Pattern pattern = new Pattern("C D E F G A B"); 
new Player().play( pattern );
Closure example (in Groovy, define a web service method)
server.squared = { return it * it }
Generics
List<Integer> myIntList = new LinkedList<Integer>();
Annotations
@Deprecated 
static void myMethod() { ...