This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Performance and the fly likes beanshell vs java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "beanshell vs java" Watch "beanshell vs java" New topic

beanshell vs java

fahad siddiqui
Ranch Hand

Joined: Jun 14, 2006
Posts: 85
I have a program that does some reading of some files, writes files from the data from the read file, matches content of 2 files when multiple files exist.

I want to port this in java. Should i go for some aspects of these to be developed in beanshell? Or would java be fine?
Would beanshell give me some performance advantage over java in relation to some of the tasks mentioned above which i need to perform?

Please advise
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12761
Would beanshell give me some performance advantage

Certainly not since it depends on the same underlying Java library and just adds another layer.

Using a scripting language may make for faster development, but thats about it. There are plenty of scripting languages that run on top of Java - Jython, Groovy, etc.

Don't get me started about those stupid light bulbs.
subject: beanshell vs java
Similar Threads
executing java expression from a text file!
But is my API really useful?
Anyone already uses Groovy
Interactive shell scripts (console style) in application
Evaluating boolean string expression