InfoQ

InfoQ

Presentation

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Recorded at:
Recorded at

Concurrent and Distributed Applications with Spring

Presented by David Syer and Mark Fisher on Mar 29, 2011 Length 01:29:09     Download: MP3
     Slides
Sections
Development
Topics
Spring ,
Java ,
Web Frameworks ,
Dependency Injection ,
SpringSource ,
VMWare ,
Languages ,
WOA ,
Concurrency ,
Design Pattern ,
Architecture ,
Programming ,
Patterns ,
Spring Integration ,
Object Oriented Design ,
Design ,
Distributed Programming ,
Companies ,
Spring Batch ,
SpringOne 2010
 

How would you like to view the presentation?

In case you are having issues watching this video, please follow these simple steps to help us investigate the issue:
1. Right click on the video player and select Copy log
2. Paste the copied information in an email to video-issue@infoq.com (clicking this link will fill in the default details in most email clients).
Note: in case your email client hasn't automatically picked up the email subject, please include in your email the URL of the video too.
3. Done.
We will investigate the issue and get back to you as soon as possible. Thanks for helping us improve our site!
Summary
David Syer and Mark Fisher on using Spring to develop concurrent and distributed apps, covering topics such as: asynchronous execution, intra-process, inter-process and inter-JVM communication.

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.
  • This article is part of a featured topic series on Java
samples by daniel nistor Posted
Re: samples by Mark Fisher Posted
Re: samples by Renato Santos Posted
Re: samples by Abhishek Chavan Posted
Not able to see video by Ashokan Balan Posted
Re: Not able to see video by Onkar Joshi Posted
  1. Back to top

    samples

    by daniel nistor

    Hi,

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

    Thanks.

  2. Back to top

    Re: samples

    by Mark Fisher

    @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

  3. Back to top

    Re: samples

    by Renato Santos

    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>

    • Back to top

      Re: samples

      by Abhishek Chavan

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

      Regards
      Abhishek

    • Back to top

      Not able to see video

      by Ashokan Balan

      Not able to see video, I am using IE 6

    • Back to top

      Re: Not able to see video

      by Onkar Joshi

      Don't use IE 6.