grails - Should I use Spring integration or Spring social to interact with twitter and Facebook? -


i'll start new project in grails in have interact facebook , twitter (and possibly myspace too).

i wondering if tried through spring integration (2.0) adapters vs new spring social apis.

if did, give me pros , cons you've encountered each of these ?

in spring integration, i've played twitter connector in little example, , found quite easy. liked loose coupling. spring social on other hand seems use templates allow too... hence concerns framework choose.

thanks.

philippe

spring integration best suited

  • if have sequence of steps, workflow
  • you have atleast couple such flows
  • you want separate business logic orchestration logic (which step gets called when kind of stuff) in flows

if need simple connnectivity (for fire , forget messages) twitter , like, might need spring social. adding spring integration without real need can lead system complicated understand , maintain.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -