Meetings every 3rd Tuesday at 5:30pm at Gallup in downtown Omaha.

Scripting in Java 6

In case you are interested, there is a new API, that supports a standard interface to any compliant scripting engine, within the javax.script package in Java 6. John Hunt over at Reg Developer has a great educational article on this API and how you can use it:

In an ideal world, rather than invent our own scripting engine we could have used an existing engine, one that supported a well-known or standardised language. Such engines are now available and indeed implementations for Java can be obtained both commercially and as open source projects. However, such engines each tend to have their own interface and standards.

Java Standard Edition 6.0 introduces a new API that supports a standard interface to any compliant scripting engine. This feature allows different scripting engines to be plugged in, but all are accessed in the same way, through a standard API.

Read complete, ready-to-print article here.