• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

JavaFX with Groovy

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:

https://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!
 
Ranch Hand
Posts: 861
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic