close
Newest Post

Spring Data REST 1.0.0.RC2 Released

Read more

Spring Data release train approaches stage one

I'd like to announce the availablity of new milestone and bugfix releases of Spring Data Commons (1.3.2.RELEASE, 1.4.0.M1), JPA (1.1.1.RELEASE, 1.2.0.M1) and MongoDB (1.0.3.RELEASE, 1.1.0.M2). The releases mark the very first step to a common release train that will reach the next major release mid August and include Spring Data Commons, JPA, MongoDB, Neo4J and Gemfire. The release train is an effort to simultaneously release all store modules that support the repository abstraction and thus have a common set of functionality to provide. Beyond that this will make sure the released stores interoperate with each other seamlessly.

Read more

Spring Shell 1.0 M1 released

Dear Spring Community,

I am pleased to announce the first milestone release of Spring Shell project! Spring Shell is an interactive shell that can be easily extended with commands using a Spring based programming model, extracted from the Spring Roo project.

Downloads | JavaDocs | Reference Documentation | Changelog

For more information about Spring Shell please see the home page.

We look forward to your feedback on the forum or in the issue tracker.

Read more

This Week in Spring - July 17th, 2012

Welcome to another installment of This Week in Spring! This week, the SpringSource and Cloud Foundry teams are OSCON talking about open source enterprise and cloud computing with anybody and everybody. If you’re in the region, be sure to check out the SpringSource and Cloud Foundry booth in the exhibition hall!

  1. The Spring Data team is working on a book with O’Reilly on Spring Data. If you want to preview and feedback, now’s your chance!

  2. Are you using Spring Data Commons support for repositories? How would you feel about support for Java-centric configuration? Check out the new support for Java-configuration in Spring Data!
  3. The Java Beginner’s tutorial blog has a quick post on how to use the embedded database namespace that debuted in Spring 3.0. The namespace is great if you want to setup H2, HSQL and Derby instances quickly and then specify initialization .SQL statements or scripts to run to initialize the database to a known state. This is particularly useful in quicker integration tests.
  4. <LI> Jeroen Horemans has a great post on <a href  = "http://www.cleanjava.org/blog/?p=96">using EclipseLink (the JPA implementation) and Spring   together</A>.  </LI>
    

  5. Marco Tedone has a great blog on using JMX and Spring together.

  6. Geraint Jones has a great post on using Spring Data MongoDB to access MongoDB instances.
  7. <LI> <a href = "http://www.twitter.com/olivergierke">@olivergierke</A>, Spring Data ninja and contributor, tweeted about a nascent  project that <a href = "http://code.google.com/p/sol-dock-r/"> supports Spring Data-centric access to Apache Solr repositories</a>, which looks very interesting! Check it out! 
        </LI>
    <LI> Lijin Joseji has a great post on how to setup <a href ="http://architects.dzone.com/articles/do-not-delete-how-create">a simple CRUD application using Java and MongoDB and Spring Data</A>.   Definitely worth a read! 
        </LI>
    
    
             <LI> Are you having trouble setting up the <a href = "http://www.twitter.com/cloudfounry">@cloudfoundry</A> gem support for service tunneling on Windows?  To recap, a) install <A href = "http://www.rubyinstaller.org">Ruby</A>, then install  <a href = "http://rubyinstaller.org/add-ons/devkit/">DevKit</a>, then install the Event Machine gem, like this <code> gem install eventmachine --pre -v '1.0.0.beta.4.1'</code>, <EM>then</EM> install the tunnel, like this <CODE>gem install caldecott</code>. You should be able to start a new shell, register an account on <a href= "http://www.cloudfoundry.com">Cloud Foundry</a>, and start building Spring applications with <a href = "http://www.springsource.com/developer/sts"> the SpringSource Tool Suite </a> in no time! </LI>
    
    
    <LI> Stacey Schneider has put together a nice blog introducing <EM>why</EM> <a href ="http://blogs.vmware.com/vfabric/2012/07/why-java-developers-need-spring-insight-on-cloudfoundry.html">Spring Insight should be a part of your Cloud Foundry experience</A> </LI> 
    
    <LI> This post has almost nothing to do with Spring, but I've seen the error enough in Spring applications that it is worth trying to provide help. If you <a href = "http://ejvyas.blogspot.com/2012/07/oracle-sid-error.html"> use Spring with the Oracle database driver and have trouble connecting, with errors about the SID</A>, you might appreciate this blog. </LI>
    

Read more

Video: Managing and Monitoring Spring Integration Applications

This video discusses the options for managing and monitoring applications that use Spring Integration. Topics covered include:

  • using the Spring Integration plugin for Spring Insight to get a real-time view of your applications and its performance
  • using the Integration MBean Exporter and the MBeans it registers for analyzing messaging endpoints and channels
  • exporting the Integration MBean Exporter itself as an MBean, to gain access to its attributes and operations
  • using the <control-bus /> to start and stop endpoints
  • enabling and using Message History
  • previewing the orderly shutdown mechanisms being built into Spring Integration 2.2
Read more

This Week in Spring - July 10th, 2012

Welcome back to another installment of This Week in Spring. This week, I’m at JAX in San Francisco. We’re
having a good time, and happily answering questions from community members. As usual, though, we’ve got a lot to cover, so let’s get on with the show.



  1. Martin Lippert has announced the latest versions of SpringSource Tool Suite and the Groovy and Grails Tool Suites.
  2. Chris Beams has announced that Spring 3.1.2 has been released!

        </LI>
    <LI> Rob Winch has announced that <A href = "http://www.springsource.org/node/3588">Spring Security 3.1.1 has been released!    </A>
    

  3.  <LI>  Costin Leau has announced that <A href = "http://www.springsource.org/node/3588">Spring GemFire 1.1.2 has been released!     </A>
        </LI>
    
     <LI>   The Tech Annotation page has a great post on using some of  <a href = "http://techannotation.wordpress.com/2012/07/05/remoting-spring-rmi-and-http/">Spring's remoting technologies, RMI and HTTP invoker, to expose objects  to remote clients</A>.  </LI> 
    
    
    <Li>  
        Chris Haddad  has   put together a nice article <a  HREF = "http://cloud.dzone.com/articles/how-deploy-spring-database">on using
            Spring on Cloud Foundry</A>.
         </LI>
    
    
    <LI>  
     The Enterprise Development Ideas blog has a nice article <a href ="http://pfelitti87.blogspot.com/2012/07/rest-services-with-spring-3-xml-json.html"> on using Spring 3.1  to build RESTful services that support JSON and XML</A>.
         </LI>
     <LI> 
    

    Did you guys miss JAX, in San Francisco, this week? The talks that Chris Richardson and I have, and will, give are going to be online next week, but this week you should check out the presentation on using Spring MVC and Backbone.js together by Sebastiano Armeli-Battana, a community member who also spoke this week. Nice job, Sebastiano!
    Also: be sure to check out the code!

     </LI> <LI> 
         Would you like a sneak peak at how a master structures his application? Let 
    
        <a href = "http://gordondickens.com/wordpress/2012/07/03/enterprise-spring-best-practices-part-1-project-config/"> Gordon Dickens explain how he configures his application</A>. 
    
         </LI> 
    
    <LI> The <EM>Code Tips and Tricks</em> blog has a nice post on using <a href = "http://lessonsincode.wordpress.com/2012/07/10/explicitly-defining-a-spring-mvc-annotation-based-controller/">Spring MVC without using the default Spring component scanning in place</A>.    
          </LI>
     <LI>  This VMware knowledge base article has a rather interesting tip that shows how to 
         <a href = "http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2007015"> ask the Spring <CODE>ApplicationContext</CODE> which configuration resources  are being used.
         </A>
    
        </LI>
      <LI>This blog has a great look at customizing <a href = "http://thinkinginsoftware.blogspot.com/2012/07/round-half-up-using-annotation-driven.html"> formatting for Spring MVC with the use of a custom formatter</A>. </LI>
    <LI> 
         Peng Fei Xu  has  a quick <a href  ="http://s-xu.blogspot.com/2012/07/spring-framework-annotation-part-3.html">introduction to using Spring's Java configuration</A>.
          </LI>
    
        <LI> 
           This blog has a <a HREF = "http://techforenterprise.blogspot.com/2012/07/handling-forms-with-spring-3-mvc.html">nice introduction to handling Forms with Spring 3 MVC</A>
    
    
            </LI>
    

  4. The Java Code Geeks has a nice blog introducing how Spring’s custom namespace definitions work.
  5. <LI> The Apache Tomcat team has announced <a href = "http://www.tomcatexpert.com/blog/2012/07/09/apache-tomcat-7029-released">the immediate availability of Apache Tomcat 7.0.29</A>. 
    

    • The new release adds support for a default error pages


    • The servlet version defined in web.xml no longer determines if Tomcat scans for annotations when the web application starts. This is now solely controlled by metadata-complete element.

    • On web application start, JARs are now always scanned for ServletContainerInitializers regardless of the setting of metadata-complete

    </li>
    

  6. This is not a Spring-specific post, but instead pertains to AspectJ. AspectJ, of course, is very well supported as part of Spring’s AOP story. In this blog, Thibault Delor introduces how to introduce a useful toString method for all of your classes.
Read more

Spring Tool Suite & Groovy/Grails Tool Suite 3.0.0.M3 released

Dear Spring Community,

I am pleased to announce the availability of the third milestone build of the upcoming Spring Tool Suite 3.0.0 and the Groovy/Grails Tool Suite 3.0.0.

Among the highlights of this milestone release:


  • ships on top of Eclipse Juno 4.2 release

  • includes Groovy-Eclipse 2.7.0 release, which includes Groovy 2.0 compiler support

  • includes AJDT 2.2.0 release and AspectJ 1.7.0 release (including Java7 support)

  • new support for Spring Data (content-asisst, validation)

  • simplified template project authoring and hosting

Read more