Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do.
-- Steve Jobs
Showing posts with label Spring. Show all posts
Showing posts with label Spring. Show all posts

Tuesday, August 30, 2011

Those evil frameworks and their complexity - Java Code Geeks

Those evil frameworks and their complexity - Java Code Geeks
Frameworks like Hibernate and Spring are industry-standards. JSF, EJB and the likes are also standards and used in many applications. But there are always people that are against these frameworks. The usual arguments against using frameworks are:
  • it is very complex, we don’t need it
  • we can make our own framework that will be better for us
  • we doubt their quality and don’t think they can do the job
  • we don’t want to learn yet another framework, core java should be enough
  • we’ve never heard of those…what’s so good about them?

The bad thing is you can’t argue with these people. And if they happen to be leads or architect – here’s another screwed project.
 Spring in Action Hibernate in Action (In Action series) Java Persistence with Hibernate

Tuesday, August 23, 2011

Spring Roo samples on Google App Engine | SpringSource.org

Spring Roo samples on Google App Engine | SpringSource.org
Google App Engine now runs Roo MVC and GWT applications without the need to tweak configuration settings. Check out the Vote and Expenses samples on the app engine.

Monday, August 22, 2011

Rapid Cloud Development with Spring Roo – Part 2: VMware Cloud Foundry | Javalobby

Rapid Cloud Development with Spring Roo – Part 2: VMware Cloud Foundry | Javalobby
Spring Roo is a tool to offer rapid application development on the Java platform. I already explained when to use it: http://www.kai-waehner.de/blog/2011/04/05/when-to-use-spring-roo. Spring Roo supports two solutions for Cloud Computing at the moment: Google App Engine (GAE) and VMware Cloud Foundry. Both provide the Platform as a Service (PaaS) concept. This article will discuss the Cloud Foundry support of Spring Roo. GAE was discussed in part 1 of this article series (http://www.kai-waehner.de/blog/2011/07/18/rapid-cloud-development-with-spring-roo-%E2%80%93-part-1-google-app-engine-gae).

Monday, August 8, 2011

Graham Hacking Scala: How to Create a Webapp with Scala, Spring, Hibernate and Maven in Late 2011

Graham Hacking Scala: How to Create a Webapp with Scala, Spring, Hibernate and Maven in Late 2011
Way back in the ancient history of January 2010, I wrote a walk-through of how to create a webapp with Scala, Spring Hibernate and Maven.

As with all things, technologies have progressed, as have other things, including the way code is shared online. So I decided it was time to update the code form that post and share it somewhere more modern.

Tuesday, August 2, 2011

SpringOne 2GX   2011 : Chicago, October 25 - 28, 2011 - Spring Framework , Groovy / Grails, Java / Agility Conference

SpringOne 2GX 2011 : Chicago, October 25 - 28, 2011 - Spring Framework , Groovy / Grails, Java / Agility Conference
SpringSource in conjunction with the No Fluff Just Stuff Symposium Series are pleased to present SpringOne 2GX, the premier Java event of 2011. 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 business applications, create multi-device aware web applications, design cloud architectures, and manage high performance infrastructure. The sessions are specifically tailored for developers using the hugely popular open source Spring technologies, Groovy & Grails, and 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.
Featuring over 100 presentations delivered by development leads and published authors on the Spring, Groovy/Grails, Tomcat and Cloud technology today, it's the ideal place to obtain critical skills to help you build, run and manage tomorrow's software solutions. Plus you'll meet and learn from open source leaders who drive innovation for these technologies.

Monday, July 25, 2011

Rapid Cloud Development with Spring Roo – Part 1: Google App Engine (GAE) | Javalobby

Rapid Cloud Development with Spring Roo – Part 1: Google App Engine (GAE) | Javalobby
Spring Roo is a tool to offer rapid application development on the Java platform. I already explained when to use it: http://www.kai-waehner.de/blog/2011/04/05/when-to-use-spring-roo. Spring Roo supports two solutions for Cloud Computing at the moment: Google App Engine (GAE) and VMware Cloud Foundry. Both provide the Platform as a Service (PaaS) concept. This article will discuss the GAE support of Spring Roo. Cloud Foundry will be analyzed in part 2 of this article series.

GWT 2 Spring 3 JPA 2 Hibernate 3.5 Tutorial - Java Code Geeks

GWT 2 Spring 3 JPA 2 Hibernate 3.5 Tutorial - Java Code Geeks
This step by step guide will present how to develop a simple web application using Google's Web Toolkit (GWT) for the rich client and Spring as the back – end, server side framework. The sample web application will provide functionality to make CRUD (Create Retrieve Update Delete) operations to a database. For the data access layer we will use JPA over Hibernate and for a database we will use Hypersonic. Of course you can change the configuration and use whatever you like. We will deploy the web application to an Apache – Tomcat instance.
GWT in Action: Easy Ajax with the Google Web Toolkit Spring in Action Hibernate in Action (In Action series)

Thursday, July 14, 2011

Spring into Mobile Application Development | SpringSource Team Blog

Spring into Mobile Application Development | SpringSource Team Blog
At SpringOne2gx we announced exciting new initiatives in the areas of social media and mobile application development. A few weeks ago, Craig Walls released Spring Social. Today, Roy Clarkson released Spring Mobile and Spring Android. In this post, I'd like to highlight these projects and share how Spring aims to simplify mobile application development.

Sunday, June 5, 2011

Model Two Zero: Running Cloud Foundry on Amazon EC2 (or any Ubuntu server!) and Deploying Using STS

Model Two Zero: Running Cloud Foundry on Amazon EC2 (or any Ubuntu server!) and Deploying Using STS

The idea with Cloud Foundry is that you can run it on any cloud infrastructure - hence the separation of cloudfoundry.org and cloudfoundry.com. The former is the open-source project that is building the infrastructure software, the latter is a commercial offering by VMWare.

So here's what this is about:
  • Running Cloud Foundry on EC2 instead of the out-of-the-box cloud VMWare provide
  • Connecting Spring STS to it
  • Getting a grails app deployed

Grails - STS Integration

Grails - STS Integration
This is a quickstart tutorial for the Eclipse Grails support in SpringSource Tool Suite (STS).

In this tutorial, we will look at installation of the tools and creating/importing projects. The Grails tooling naturally requires Groovy language support. The language support is provided by the Groovy-Eclipse project. Installing the Grails tools in STS will automatically bring in the correct level of Groovy-Eclipse, so you do not need to separately install it.

Tuesday, May 31, 2011

Creating Application using Spring Roo and Deploying on Google App Engine | Javalobby

Creating Application using Spring Roo and Deploying on Google App Engine | Javalobby
Spring Roo is an Rapid Application Development tool which helps you in rapidly building spring based enterprise applications in the Java programming language. Google App Engine is a Cloud Computing Technology which lets you run your application on Google's infrastructure. Using Spring Roo, you can develop applications which can be deployed on Google App Engine. In this tutorial, we will develop a simple application which can run on Google App Engine.

This, however, is a dealbreaker:
Spring Roo on app engine does not support enum and references yet which means that you can't define one-one or one-to-many relationships between entities yet.

Wednesday, May 11, 2011

GWT Sushi: Create a GWT Contact Application in 10 easy steps.

GWT Sushi: Create a GWT Contact Application in 10 easy steps.
Google GWT and Spring Source have joined forces to make it easier to develop web applications by developing a tool which creates your data models, your web gui interface and all the web-server communication code in a few easy command line statements. This was demo’d at Google IO 2010 and I aim to replicate the steps required here, including any pitfalls to help you jump start your GWT development.

Monday, April 18, 2011

Spring Android and Maven (Part 2) | SpringSource Team Blog

Spring Android and Maven (Part 2) | SpringSource Team Blog
The Maven Android Plugin lets you build your Android applications with Maven and benefit from dependency management. Google's Android Development Tools (ADT) plugin allows you to develop and build Android applications within the Eclipse IDE. To get Maven dependency management within Eclipse, the Maven Integration for Android Development Tools plugin is required, which integrates m2eclipse, the ADT Plugin, and the Maven Android Plugin. This post will show you how to install this plugin and use it to get Maven-based dependency management working in the Eclipse IDE.

Spring Android | SpringSource.org

Spring Android | SpringSource.org
Spring Android is an extension of the Spring Framework that aims to simplify the development of native Android applications.

Sunday, April 17, 2011

Spring Roo - springroo can't setup gwt - Stack Overflow

spring roo - springroo can't setup gwt - Stack Overflow
I had the same problem with the Roo sample expenses.roo project. I solved it by adding the missing maven dependancy to project.
From Roo shell run this:
dependency add --groupId com.google.appengine --artifactId appengine-api-1.0-sdk --version 1.4.0

Sunday, April 10, 2011

Rapid Application Development for the Cloud - Google Web Toolkit - Google Code

Rapid Application Development for the Cloud - Google Web Toolkit - Google Code
Getting started with GWT, Spring Roo, and SpringSource Tool Suite
One of the main features of GWT 2.1 is the integration with SpringSource developer tools. This collaborative effort is focused on making it easy to develop rich web apps for business, bringing together GWT, Spring Roo, and SpringSource Tool Suite (STS).

Spring Roo 1.1.2 GWT bug (not) fixed in 1.1.3

When trying to create the sample project in the Spring Roo tutorial I got an error at the 'gwt setup' step. A quick Google search turned up this thread which pointed to this ticket. Another search turned up this thread which points to the the nightly snapshots.

Update: After downloading and installing 1.1.3 and recreating the project I encountered a new issue at the 'perform tests' step. The org.springframework.roo.annotations-1.1.3.BUILD-SNAPSHOT.jar file was not being recognized despite being in the 1.1.3 release folder. I imported the file as a Maven dependency and once again tried to run the tests. This time the annotations dependency was resolved but the GAE issue is still there:

[ERROR] The import com.google.appengine cannot be resolved

I guess I'll try installing GAE.