BT

InfoQ Homepage Presentations Concurrent and Distributed Applications with Spring

Concurrent and Distributed Applications with Spring

Bookmarks

Bio

Dr David Syer is the technical lead on Spring Batch, the batch processing framework and toolkit from SpringSource, and a committer to Spring AMQP. Mark Fisher is an engineer within the SpringSource division of VMware and lead of the Spring Integration project. He is also a committer on the core Spring Framework and the Spring BlazeDS Integration project.

About the conference

SpringOne 2GX is a collocated event covering the entire Spring ecosystem and Groovy/Grails technologies. SpringOne 2GX is a one-of-a-kind conference for application developers, solution architects, web operations and IT teams who develop, deploy and manage business applications. This is the most important Java event of 2010, especially for anyone using Spring technologies, Groovy & Grails, or Tomcat. Whether you're building and running mission-critical business applications or designing the next killer cloud application, SpringOne 2GX will keep you up to date with the latest enterprise technology.

Recorded at:

Mar 29, 2011

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • samples

    by daniel nistor /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Hi,

    Very nice presentation.
    Can I have access at the samples and/or slides? Are they available somewhere on the net?

    Thanks.

  • Re: samples

    by Mark Fisher /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    @daniel thanks!

    The samples are available here: git.springsource.org/s2gx-2010/concurrent-progr...

    ...and the slides are here: www.slideshare.net/DaveSyer/concurrency-fisher-...

    Cheers,
    Mark

  • Re: samples

    by Renato Santos /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    I've seen only the first 24 min of this presentation and I already think it's brilliant. I'm really thankful you published this.

    But there are some very small mistakes in the sample code I downloaded from git.springsource.org/s2gx-2010/concurrent-progr... :


    • * In the pom.xml file from the project "messaging", the activemq-core dependency should exclude its spring-context transitive dependency. Failing to do so brings version 2.5.6 of spring-context and its transitive dependencies to the project, which results in some compilation errors (like the error "The type ApplicationListener is not generic; it cannot be parameterized with arguments <ApplicationEvent>" present in SimpleEventListener.java). The following config should do the trick (notice the exclusion):

      <dependency>
      <groupId>org.apache.activemq</groupId>
      <artifactId>activemq-core</artifactId>
      <version>${org.apache.activemq.version}</version>
      <exclusions>
      <exclusion>
      <groupId>org.springframework</groupId>
      <artifactId>spring-context</artifactId>
      </exclusion>
      </exclusions>
      </dependency>


    • * In the CounterDemo.java from the project "concurrency", there is a comment that reads "also try: newSingleThreadPool, newFixedThreadPool(2)". That newSingleThreadPool should be newSingleThreadExecutor() .

    • * Still in CounterDemo.java and not really a bug: the line int loop = 100000; (hundred thousand) should really be int loop = 1000000; (a million). That way, it would be exactly like the presentation and better demonstrate the "Performance Myth-buster" which you explained in the presentation and in that README.TXT. =)


      • Thanks again for the presentation, slides and code.

        Renato.</applicationevent>

    • Re: samples

      by Abhishek Chavan /

      Your message is awaiting moderation. Thank you for participating in the discussion.

      Great Presentation. Loved it. Do you have a channel or a feed I can subscribe to regarding your talks/presentations.

      Regards
      Abhishek

    • Not able to see video

      by Ashokan Balan /

      Your message is awaiting moderation. Thank you for participating in the discussion.

      Not able to see video, I am using IE 6

    • Re: Not able to see video

      by Onkar Joshi /

      Your message is awaiting moderation. Thank you for participating in the discussion.

      Don't use IE 6.

    Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

    Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

    BT

    Is your profile up-to-date? Please take a moment to review and update.

    Note: If updating/changing your email, a validation request will be sent

    Company name:
    Company role:
    Company size:
    Country/Zone:
    State/Province/Region:
    You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.