Announcement Announcement Module
Collapse
No announcement yet.
Spring Social Showcase app with XML-based context configuration? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Social Showcase app with XML-based context configuration?

    Hey folks,

    Do you have a version of the Spring Social Showcase that uses XML for configuration, rather than the annotation method? i'm integrating spring social into an existing application that uses XML. Or, is there a way to have both xml-based and annotation-based configuration in the same project?

    Thanks!

  • #2
    Although not exactly the same example as the Showcase, the spring-social-twitter4j sample shows how to configure Spring Social with XML.

    And yes, it's certainly possible to mix Java-based configuration with XML configuration. The @Configuration annotation can be picked up by component-scanning or you can explicitly declare the configuration class(es) as beans--and the beans that they declare will be added to the Spring context.

    Comment


    • #3
      thanks much!

      Comment

      Working...
      X