Chapter 30. NetRexx
Overview
NetRexx is an object-oriented Rexx-like language designed to bring the ease of use associated with Rexx to the Java environment. Like Java, it can be used to create applets, scripts that run within a Web browser, and applications, programs run from the command line. It also brings Rexx to the world of server-side Java, in the form of servlet programming and dynamic Java Server Pages. You can even write Java Beans in NetRexx, components that fit into Java's reusable component architecture.
NetRexx scripts compile into Java byte code. They seamlessly use Java classes and create classes that can be used by either Java or NetRexx programs. NetRexx offers an alternative language in the Java environment, one that can be intermixed in any manner and to any degree with Java programs. The goal is to bring the ease of use, maintainability, and reliability of Rexx to the Java environment.
NetRexx is not a superset of classic Rexx. In this it differs from object-oriented Rexx interpreters like Kilowatt Software's roo! and the Rexx Language Association's Open Object Rexx. But NetRexx is similar enough to classic Rexx that programmers can pick it up quickly. To port classic Rexx scripts to NetRexx, use a utility like Rexx2Nrx, the free classic Rexx to NetRexx automated conversion tool.
This chapter briefly summarizes the purpose and highlights of the NetRexx language.
Why NetRexx?
NetRexx is very different in its goals as opposed to either classic or object-oriented Rexx ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access