close
Newest Post

This week in Spring: August 30th, 2011

Read more

Using Postgres on Cloud Foundry

When the new open source Platform-as-a-Service (PaaS) offering Cloud Foundry from VMware launched earlier this year, it included a relational database service powered by MySQL along with the NOSQL options of MongoDB and Redis. One of the promises of the Open PaaS is to provide choice both in languages and frameworks you can develop with and in the database services that are available to use. We now have a new relational database service using PostgreSQL available. This is great since we can now choose between the two most popular open source relational databases. PostgreSQL is is a very robust and reliable database that has been around for a long time so it definitely has been battle tested.

Read more

RabbitMQ: Enabling Grails full text search on Cloud Foundry

In my second blog about Grails and Cloud Foundry I introduced a variant of the Grails Twitter example that could be hosted on CloudFoundry.com At the time I mentioned that full text search using the Searchable plugin would limit you to a single application instance because the search indices would be unique to each instance. In other words, you might very easily get different search results depending on which application instance your browser is routed to.

I also said that one option for fixing this problem would be to synchronise the search indices across the instances. But that doesn’t sound particularly easy, does it? As it happens, the introduction of the RabbitMQ service into Cloud Foundry means that the required code changes are far smaller than you might expect. So let’s see how I added full text search for the Grails Twitter status messages.

Read more

Get Started With Spring

Spring provides an incredibly powerful and flexible collection of technologies to improve your enterprise Java application development that is used by millions of developers. It is easy to get started by using our free development tool, Spring Tool Suite, or following one of the many tutorials. If you have specific questions then you can ask them in the community forum, look for a solution in our extensive code samples or search the outstanding Spring documentation.

 

Get Everything You Need

Spring Tool Suite™ provides the best Eclipse-based development environment for building Spring-powered enterprise applications. STS supplies all the tools you need for developing with the latest enterprise Java and Spring based technologies.

Read more

Feature Tour

Spring enables you to focus on your business problem rather than the plumbing that connects components and systems. Take a tour of Spring’s key features from the core framework to infrastructure and data services and learn how to build, run and manage your modern Java applications. Getting started is easy and you can do it now.

 

Spring Framework Features

The Spring Framework helps you build Java Applications faster because it allows you to focus on your business problem rather than the plumbing code that connects components and systems. The features of Spring include:

Read more

Clean Code in Android Applications

Let's say you wake up one morning, and think, "Hey, I'm going to build an Android app today." First off, good choice! As of the end of June, 500,000 Android devices were being activated every day, outpacing even the iPhone. That means there is a large, potential audience for your app. Additionally, Android is built with Java. This may not seem like a big deal, but I have worked in Objective-C on the iOS platform for a few years, and while I am now quite comfortable with it, the iOS SDK offered a steeper learning curve than I experienced with Android. Android just felt more accessible when I first started working with the Android SDK. That said, there are some clear differences from any other Java application you have built in the past, and I'll go over some of those in the first section.

Read more

Spring Social 1.0.0.RC3 Released

Dear Spring Community,

We are pleased to announce the 1.0.0.RC3 release of Spring Social, including the 1.0.0.RC3 releases of Spring Social Facebook and Spring Social Twitter. Spring Social lets you connect your Java applications to Software-as-a-Service (SaaS) providers such as Facebook and Twitter.

This release includes fixes for bugs reported since 1.0.0.RC2, as well as a few improvements:

  • ConnectInterceptor implementations can now add parameters to the authorization URL.
  • Twitter TimelineOperations.updateStatus() improvements:
    • Photos can now be uploaded along with a status update.
    • TimelineOperations.updateStatus() now returns a Tweet object for the newly posted tweet.
    • A status can now be posted as being a reply to an existing status.
  • The set of sample applications has been updated, including two new examples: One to demonstrate a popup-based connection flow and another to demonstrate using Spring Social within a Facebook Canvas application.
Read more

Spring AMQP 1.0 GA released

We are pleased to announce that Spring AMQP 1.0 GA (for Java) has been released! You can find links to all of the resources (documentation, samples, source code, forum, issue tracker, etc) at the Spring AMQP Home Page. The artifacts are available in the SpringSource Maven repository as well as Maven Central.

This project has been extremely popular during its milestone and release-candidate phases, and we would like to thank those of you in the community who have provided valuable feedback and raised JIRA issues along the way. We are looking forward to watching the community grow even more now that we have a GA release.

Read more

Micro Cloud Foundry Gives Developers Their Own Personal Cloud

Today the VMware team released Micro Cloud Foundry, a complete, local version of the popular, open source Platform as a Service that lets developers run a full featured cloud on their Mac or PC. Using Micro Cloud Foundry developers can build end-to-end cloud applications locally, without the hassles of configuring middleware while preserving the choice of where to deploy and the ability to scale their applications without changing a line of code.

Micro Cloud Foundry is available as a free downloadable virtual machine image and is compatible with VMware Fusion for Mac OS X and VMware Workstation and VMware Player (available as a free download) for Linux and Windows computers. It provides easy installation, setup, and virtual machine management and all you need is a Cloud Foundry account to get started.

Read more

STS Cloud Foundry Integration 2.7.0.M4 Released

Dear Spring Community,

I am happy to announce a new milestone release 2.7.0.M4 of the Cloud Foundry Integration for the SpringSource Tool Suite (STS).
This milestone release includes support for the just released Micro Cloud Foundry and allows you to register users directly from within your IDE.
In addition to that the milestone includes a number of fixes and improvements to existing features.

Installation instructions and a quick guide for the tooling is available from the SpringSource Team Blog: Using Cloud Foundry from STS.

Read more