Ever had a small piece of code that you wanted to try out, but you didn't want to open an editor, create a new Class, put the code in main(), compile, run, check the results (probably with System.out.println), rinse, repeat.
Well, there's just a tool to make this thing much easier, with faster results. The tool is Beanshell, which is a lightweight scripting tool for java. In a small jar (~275KB) you have a powerful and easy to use application that lets you write java code and run it on-the-fly. It uses java as its scripting language, but eases a lot of requirements that Java imposes, mainly by avoiding Type variable declaration, and instant evaluation of code. The jar includes a Graphical Interface (Swing) and a Console Interface, so you can even use it from a remote shell. Pretty powerful for such a small jar, isn't it?
Friday, June 10, 2005
Subscribe to:
Post Comments (Atom)
Popular Posts
- as400 Iseries Tips
- Common Gateway Interface (CGI) on the as400 / iSeries
- Using as400 QRCVDTAQ api to retrieve a message / entry from a dataqueue
- Why Crunch Mode (Long Hours) Doesn't Work
- Configuring Tomcat5 and Apache2 with Virtual Hosts using mod_jk
- Adobe Flex 2.0 Beta
- AS400 Job Scheduler
- AS400 APIs
- as400 iSeries NetServer Disabled user profiles
- EclipseZone - Clean Up Warnings with the 'restriction' Suppression Flag
No comments:
Post a Comment