What is the best dynamic language for collaborating with Java on a large Java project?
We consider the use of a dynamic language for tests, controllers, services. Some options: Groovy, JRuby, or Jython. What are the pros and cons of each for this? Ideally, we could call Java from a dynamic language, and also call a dynamic Java language.
EDIT: if this helps, we use Hibernate with PicoContainer and Webwork.
Thanks Alex
, Java - scala, groovy clojure. , , , .
, , :
, , . , , - JVM . , , , .
Groovy, , Java Java, Java . , , , , Groovy , JRuby Jython.
, Groovy ++ , -, , .
, , . , Ruby Python, Groovy , Java ( Java) , , .
JRuby, .
Groovy , , Java . BDD EasyB, . , Groovy . Java.
Jython - , , Python, , Python. Interop script, , , , Jython, Java. Groovy - , REPL Java.
Clojure, , Java- , , , REPL. , Ruby Python, , Lisp .
Clojure, , . ( , "".
Scala Groovy ++ java-, ( Groovy ++ , ). Scala . Scala http://www.scalatest.org/ Specs AKKA , API Java
Jython. , /, Python.
For example, if you have to go with Groovy, you are mostly limited only by what Java will give you. Jython will add Python authority to this.
If this helps, I used Jython with Hibernate, SOAP, Corba, and EJB, and it is much easier than doing the same with plain Java.