File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 13037
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.

I agree. Here's the link:
subject: beanshell vs java
jQuery in Action, 3rd edition