Looking at some documentation, the text-based shell interface is implemented using these technologies:
- JLine - Library for handling console from Java, unbuffered.
- JAnsi - Library for using ANSI escape sequences to format console output.
- JNA - Windows-specific library for displaying colored output on Windows-systems.
Both libraries work on Windows, Mac OS X and Linux/UNIX-systems. Definitely worth considering in case you want to implement a console application in Java.
PS. Upon further inspection, Roo is very different from XINS, though. Roo is an aspect-oriented build-time code generator/manager that generates JSPs, Spring code, Java plumbing code (such as toString() methods), while XINS is an RPC-oriented component technology framework that also has (optional) runtime components (both client- and server-side, if you wish).