Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaFX with Groovy

 
Bradley Slavik
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear JavaRanchHands and assorted JavaRancheros,

I have been learning groovy and am very excited to use it
to increase my productivity with Java, Spring, and Hibernate.

Are there any problems that you can foresee mixing my groovy
know-how with JavaFX? Is there some fundamental reason (like
JavaFX does everything better than groovy anyway) that I cannot
or should not intermix these two technologies? Should I drop
groovy like a red-hot potato and restrict myself to JavaFX? Or
can these scripting paradigms peacefully coexist?

Thank you for your consideration.


Sincerely,



Bradley Slavik
 
Eric Bruno
author
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't drop your Groovy knowledge yet. Although JavaFX Script is the language for JavaFX development, you can utilize your investment in Groovy code through its Java interface. Take a look at this earlier thread on this site for more information:

http://www.coderanch.com/t/449926/Swing-AWT-SWT-JFace/java/Would-you-recommend-using-Groovy

Personally, I don't have much experience with Groovy and haven't used it from JavaFX at all, so you'll have to take it from here. But apparently it works. Good luck!
 
Burk Hufnagel
Ranch Hand
Posts: 814
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bradley Slavik wrote:Are there any problems that you can foresee mixing my groovy
know-how with JavaFX?

Dierk Koenig had a great talk at JavaOne on using JavaFX and Groovy together. Here's an article with more information: http://java.dzone.com/news/draft-how-groovy-helps-javafx

Good luck,
Burk
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic