Best dynamic Java collaboration language for Java projects

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

+5
source share
5 answers

, Java - scala, groovy clojure. , , , .

, , :

  • Groovy , Java - .
  • Scala DSL, , , , .
  • Clojure lisp , ..

, , . , , - JVM . , , , .

+9

Groovy, , Java Java, Java . , , , , Groovy , JRuby Jython.

, Groovy ++ , -, , .

+4

, , . , 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 .

+2

Clojure, , . ( , "".

Scala Groovy ++ java-, ( Groovy ++ , ). Scala . Scala http://www.scalatest.org/ Specs AKKA , API Java

+1

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.

+1
source

All Articles