Recently, I put together a Spring demonstration for jclouds, the Java cloud library. This quickly turned into unexpected multi-dimensional experiment in integrating Guice, Google App Engine and Spring, but after much trial-and-error I finally came across a configuration that does the trick - or at least works1 as well as seems possible on GAE. (more...)
Tags: GAE, Google App Engine, Guice, Javaconfig, jclouds, Spring
Filed under Amazon Webservices, Frameworks, Java, Spring | 4 Comments »
Some while back I was preparing a presentation on mocking and testing frameworks for Java. As part of the aim was to demonstrate some real, running code, I ended up spending quite some time copying, pasting, extending and correcting various examples gleaned from readmes, Javadoc, Wiki pages and blog posts. Since then, this codebase has been extended with various new features I've come across, and I've often referred to it for experiments, as a helpful reference, and suchlike.
I imagine this kind of "live" reference could also be useful to others, so I thought I'd share it. (more...)
Filed under Frameworks, Java, TDD, Testing | 13 Comments »
Besides organizing a Scala workshop at the J-Fall meeting we also presented five technical posters to serve as discussion points for anyone interested (or just walking by). Unlike traditional meeting sessions we could interact directly, somewhat similar to open space sessions.
(more...)
Filed under Architecture, Domain Driven Design, Frameworks, GIT, Java, Scala, fitnesse | 1 Comment »
Recently I had to get JAX-WS based webservices running on Weblogic 10.3. However instead of using the default Weblogic 10.3 stack (Metro), the Apache CXF stack had to be used. Why? We required SOAP over JMS capabilities and that is possible with CXF without much effort.
(more...)
Tags: Java
Filed under Deployment, Frameworks, Java, Maven | 3 Comments »
The last blog post, Understanding Google Wave, discussed the architecture and technical underpinnings of Google Wave. In this post, we will look at different ways of developing with Google Wave.
(more...)
Tags: API, Google Wave
Filed under Frameworks, Java, Web 2.0 | 1 Comment »
In this article we will basically try to understand the basic difference between different ways in which we can do Seam application development. So before we get into details, let have a brief introduction about Seam
Tags: jboss tools, Seam, seam-gen
Filed under Frameworks, Java, Seam | 3 Comments »
Narinder Kumar, Vivek Kumar Yadav and Vincent Partington talk about choosing a technology stack for building an automated deployment product, currently named Deploy it.
- What is a technology stack.
- Why do you need it.
- What did they choose and why.
- How Agile/SCRUM helped the team to make better choices.
- Lessons learned.
- What not to do when choosing a technology.
Hosted by Robert van Loghem.
So head on over to the show page or subscribe to our podcast!
Filed under Frameworks, General, Middleware, Podcast, Xebia Labs | 2 Comments »
Today JavaWorld published my article series "Automated code reviews with Checkstyle" in 2 parts.
Part 1:
Automated code reviews with Checkstyle, Part 1
Part 2:
Automated code reviews with Checkstyle, Part 2
This article series attempts to bridge the gap of code review with applying automated Checkstyle checks in a complete and proactive way. First goal is to make the task of custom Checkstyle rules creation so simple so that any enterprise IT team could create new custom rules suiting to their project (IT standards) needs.
Second goal is to apply these rules in PROCTIVE fashion. Instead of waiting the build to fail or waiting for rule violation reports and working on them in a reactive way, the idea is to apply these checks proactively with Checkstyle Eclipse plugin or applying them at SVN level itself. Irrespective of which IDE you are using, if your code contains some of the high severity violations, you will not be able to commit the code in SVN. You will see the same kind errors and location on SVN console as you see with Eclipse plugin. This is achieved using SVN pre-commit hooks.
Filed under Articles, Eclipse, Frameworks, Java | 4 Comments »
Flex provides means to create RIA applications in declarative fashion using MXML. Unlike Swing where you need to do the entire coding in Java, Flex hides a lot of complexity behind MXML tags like JSTL/taglibs do for JSPs. In JSP world, view level scripting is done in JavaScript and presentation layer server side code is written in Java which kind of provides a separation between client side code and server side code. If you really want to do some dynamic stuff on JSPs, either you write some Java code inside JSP (not recommended though) or you use/create taglibs to achieve the same effect. In Flex world, it's all about ActionScript (AS). Irrespective of whether you are writing some scripting or server side code, it's all AS code which kind of creates a confusing situation in front of a developer. It becomes very difficult to separate the scripting code from server side code. That's one of the reasons people complain about Flex as it looks like it doesn't provide a clear separation between scripting code and server side code.
Tags: cairngorm, fluint, prana
Filed under Architecture, Flex, Frameworks | 5 Comments »
Have you ever tried to pronounce a url generated by Wicket? It’s quite a tedious job and often end users want to have understandable url’s (even when that url has no meaning).
It’s is quite easy to get normal url’s in Wicket. In this article I’ll show you several solutions, the first two with plain Wicket and the final solution is with wicketstuff-annotations.
Filed under Frameworks, Java, Maven, Wicket | 1 Comment »