Results 1 to 3 of 3

Thread: Spring Social Showcase app with XML-based context configuration?

  1. #1
    Join Date
    Aug 2011
    Posts
    8

    Default 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. #2
    Join Date
    Aug 2004
    Posts
    1,067

    Default

    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.
    Craig Walls
    Spring Social Project Lead

  3. #3
    Join Date
    Aug 2011
    Posts
    8

    Default

    thanks much!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •