By jettro, on December 13th, 2008

For a project we were looking for an appropriate technology stack to create a back end application supporting a REST like architecture together with some screens to test and maintain the application. The application uses REST like urls and JSON as response objects. Some data is persisted in a database and we want to use Java as pure as possible. Another requirements was not to use xml. We are very used to using spring framework for dependency injection. We chose another framework though. Most important reason was to lose the xml configuration (yes I know Spring can do that as well), Guice comes with a wel thought out strategy for configuring dependency injection using annotations. Than we needed a front end (MVC framework) without xml configurtion as well. Since there is a pretty easy configuration of Stripes and Guice, we decided to use Stripes. With this blog post I am going to walk you through a the stripes part of the mentioned application. If you want to learn more about Guice and the JPA part, check my other blog item One liter of Guice during spring break.
Read on to find out more about stripes.
- mvc framework
- No xml
- Extendability using Interceptors
- Test framework of stripes
What am I going to create?
Continue reading Using Stripes as a webmvc framework without that thing called xml
By jettro, on October 19th, 2008
As you all know, I am a regular springframework user. Especially now that I am working for JTeam, all my projects deal with the springframework. At JTeam we are innovators, so we do check out some other frameworks as well. Therefore I am looking at an alternative for Dependency Injection. Since google is doing a good job with there Guice framework, I thought I’d give it a go. Time for a spring break. Beforehand I do want to stress that this is not going to be a post telling that spring is so bad for some reason and that Guice is much better. If you are looking for that, than there are better posts. I need more time to make a good judgement in that area. Of course where appropriate (or not) I might do some comparison. I do am a persons with an opinion, and I do not mind sharing it
.
So what can you expect from this post? First of all a very short description of my first steps with google Guice. Second, I’ll explain more about the MVC framework called Stripes. I’ll focus on the integration between stripes and Guice. Third a very brief introduction into a back end using the wideplay jpa implementation. Fourth and finally some very careful conclusions.
Read on for the good stuff
Continue reading One liter of Guice during Spring break
Popular