File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JavaFX and the fly likes JavaFX with Groovy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JavaFX
Bookmark "JavaFX with Groovy" Watch "JavaFX with Groovy" New topic
Author

JavaFX with Groovy

Bradley Slavik
Greenhorn

Joined: Jun 19, 2009
Posts: 1
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

Joined: Jun 15, 2009
Posts: 60
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

Joined: Oct 01, 2001
Posts: 814
    
    3
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


SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
 
GeeCON Prague 2014
 
subject: JavaFX with Groovy