Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.0k views
in Technique[技术] by (71.8m points)

bash - Current state of BeanShell

We are investigating possibility of using BeanShell to write scripts that do a lot of file operations. Currently bash scripts are used.

Now the main question is - is BeanShell stable at this moment? I know that it is not actively supported , but does that matter? Are there bugs? What about BeanShell2? Is it original plus some bug-fixes? Or are there other changes?

I am also wondering if at this point in time using Groovy is better given that it is actively supported and developed by Pivotal.

Any additional information regarding pros and cons of either Bash scripts, BeanShell and Groovy scripts is greatly appreciated.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You really haven't given us much to go on here. No specifics about your environment, not much in the way of criteria. Nothing really about the problems that you are trying to solve with scripting. You are clearly thinking about moving away from bash for some reason, but you haven't really told us why.

If you are comfortable with bash, then I agree with @Nick Ellis. Stick with it.

However, if for some reason you are determined to choose either Groovy or Beanshell, the choice is pretty clear. Groovy is a well-supported language whose user base and application base are both growing by leaps and bounds. Beanshell... not so much.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...