• Post Reply Bookmark Topic Watch Topic
  • New Topic

Griffon user interface responsiveness compared to java/swing app

 
Fredrik Johansson
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

Can I expect the same level of responsiveness from a user interface developed in Groovy/Griffon (compared to Java/Swing)?
Is the Groovy code compiled to byte code?

Regards

Fredrik Johansson



 
Andres Almiray
author
Ranch Hand
Posts: 47
Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Fredrik,

Yes. All Groovy code is compiled to .class files before launching the application.

As a matter of fact all Groovy based artifacts inherit/extend the same basic classes you would use if you choose Java as your main language when developing a Griffon application. The Griffon compiler is smart enough to weave the required types given each artifacts' placement, naming convention and responsibilities.

Views built with the SwingBuilder DSL behave in the same way as plain Java views. What you gain is a declarative way to express the UI hierarchy plus a more concise syntax.

Cheers,
Andres
 
Mohamed Sanaulla
Bartender
Posts: 3166
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its just Swing underneath right?
 
Andres Almiray
author
Ranch Hand
Posts: 47
Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it's just Swing underneath. Griffon does not provide a new UI toolkit for you to learn.
Rather it provides the building blocks for creating applications without red tape
 
Fredrik Johansson
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!

Fredrik
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!