• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Long polling in Griffon app & branching grails

 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Two questions way off from each other, but oh well.

The last one first - at SpringOne, Graeme mentioned they were thinking about "splitting" some of Grails off, because other frameworks (like Griffon) were using certain pieces and this would be easier if to support if parts of it were seperated from the web specific code. Any progress or discussions the Grails/Griffon teams have had in this regard?

Second, I an thinking about using Griffon as a PubSubHubbub/Atom client. The trick with that spec is supporting POSTs from servers. So, is it possible to embed an http server w/in a Griffon app & if so is that a terrible idea (I lean towards yes). If I go the route of long polling/webhooks, am I going to run into any threading issues (locking the GUI while I wait for server responses) and am I better off in doing that in an applet/webstart app?

Sorry for the long questions...I'm really looking forward to doing a Griffon app though because It just makes it look so much easier than traditional desktop app development.
 
author
Posts: 47
VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

andrew ennamorato wrote:At SpringOne, Graeme mentioned they were thinking about "splitting" some of Grails off, because other frameworks (like Griffon) were using certain pieces and this would be easier if to support if parts of it were seperated from the web specific code. Any progress or discussions the Grails/Griffon teams have had in this regard?



While we (the Griffon team) certainly look forward to a better collaboration with our big brother Grails there have been no further news on this front yet.

andrew ennamorato wrote:Second, I an thinking about using Griffon as a PubSubHubbub/Atom client. The trick with that spec is supporting POSTs from servers. So, is it possible to embed an http server w/in a Griffon app & if so is that a terrible idea (I lean towards yes). If I go the route of long polling/webhooks, am I going to run into any threading issues (locking the GUI while I wait for server responses) and am I better off in doing that in an applet/webstart app?



I have little to no knowledge on PubSubHubbub/Atom, it sounds like a server can push data to a client doing a POST, is that correct? You can certainly embed a web server into a Griffon application if needed, most likely by building a plugin around Jetty or Tomcat. If you build such a plugin let us know :-) so that it can be added to the growing list of plugins.

Cheers,
Andres
 
andrew ennamorato
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Andres,

Thanks for the reply.

Will be interesting to see if Grails can splice off the pieces that you use in Griffon...might be cleaner for all involved?

You're correct about PubSub...basically just doing POSTs all over the place. Interesting idea about plugging in Jetty, if I try it I will definitely let you know!

andy
 
We cannot change unless we survive, but we will not survive unless we change. Evolving tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic