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 Job Scheduler
- Recover or reset QSECOFR passwords
- About Me
- About Us
- Contact Us
- AS400 APIs
- WAS Application hangs with previous J2CA0086W warning messages STATE_TRAN_WRAPPER_INUSE
- UDATE and *DATE in AS400 RPG
- eBook making on the PSP
- mrc online lab for anyone who wants to try their hand at building Java servlet applications
No comments:
Post a Comment