permaculture playing cards
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

JavaFX with Groovy

Bradley Slavik

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.


Bradley Slavik
Eric Bruno
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:

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
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:

Good luck,

SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
I agree. Here's the link:
subject: JavaFX with Groovy
It's not a secret anymore!