• Home
  • RSS Feed
  • Log in

Author Archive

Maarten Winkels

Agile says: Nothing will ever be perfect
Posted by Maarten Winkels in the early morning: September 21st, 2011

Wouldn’t it be sweet if your whole life were perfect? Your wife would fulfill your every wish. Your children would be perfect examples of responsible happy people growing up. At work your colleagues are the nicest people and working with them is always fun. Your team would feel responsible for every action they (proactively) take and the software systems you produce and maintain are flawless and run like well oiled machines?…

You need to wake up! Nothing will ever be perfect and Agile knows it!
(more…)

Share

Tags: Agile, barely good enough, learning by doing, perfection, Scrum, TDD
Filed under Agile | 3 Comments »

Maarten Winkels

Master-detail implementation for RESTful services with JQuery
Posted by Maarten Winkels in the late afternoon: September 15th, 2011

In two previous posts, we have seen how to develop RESTful application with JBoss AS 7. At the end of the second blog we used a generic REST client tool to execute some RESTful web services. Of course we would rather build a custom UI application as client for our services, so that a user can easily access and manipulate the data. In this blog we build a REST client that is based on the master-detail principle.
(more…)

Share

Tags: jquery, json, master-detail, rest
Filed under REST, ria | 1 Comment »

Maarten Winkels

Developing a JPA application on JBoss AS 7
Posted by Maarten Winkels in the early morning: July 19th, 2011

In my previous post we setup a Maven/Eclipse project for developing RESTful web applications on JBoss AS 7. A RESTful web service that is not using a database is some what of an oddity. Therefor in this blog we’ll extend the project with JPA.

(more…)

Share

Tags: JBoss, JPA
Filed under Uncategorized | 4 Comments »

Maarten Winkels

Developing RESTful applications on JBoss AS 7
Posted by Maarten Winkels in the early morning: July 12th, 2011

JBoss AS 7 CR1 has been released recently. On the previous release it was pretty easy to develop RESTful applications with the build in JAX-RS support based on RESTeasy. In this blog I’ll look at how well the new version of JBoss keeps up with the rest of the field.

(more…)

Share

Tags: JBoss, jboss tools, jee 6, rest
Filed under Uncategorized | 2 Comments »

Maarten Winkels

Writing and testing data structures and algorithms in JavaScript
Posted by Maarten Winkels in the early evening: June 23rd, 2011

Tonight in one of our knowledge exchange sessions, one of my colleagues challenged us to writing a TagCloud in JavaScript. He had prepared a nice setup with a server producing twitter hashtags over a WebSocket to the browser and using Processing.js to produce a graphical representation of the tags zooming by on twitter. Since he had already done all the heavy lifting in integrating all these fancy new frameworks, what was left to do, you might ask. Well, we still needed to implement the algorithm to count the number of tags on the continuous stream, sorting this list on the bases of the counts and making sure the system wouldn’t run out of memory by removing less used tags in some smart way. His point to all of this was, that although JavaScript is being prophesized in some circles as the new-old-new language of the future, writing and testing a non-trivial algorithm in it is a big challenge.
(more…)

Share

Tags: Javascript, js_cols, Testing, YUI
Filed under Testing | 1 Comment »

Maarten Winkels

Posting complex forms with RESTEasy – Part 2
Posted by Maarten Winkels mid-morning: April 20th, 2011

As promised in a previous blog, I’ll devote this blog to how to extend the RESTEasy framework with support for mapping form fields on object-graphs with complex associations, like lists and maps.

These extensions have been reported to RESTEasy as two issues with patches. If you like these features, please vote for these issues.
(more…)

Share

Tags: collections, form, resteasy
Filed under General, RESTEasy | No Comments »

Maarten Winkels

How to use annotations for configuration
Posted by Maarten Winkels in the late evening: April 15th, 2011

In the java world we have been using and getting used to annotations since Java 1.5. Although there were some critical voices at first, I think most of us have come around and are using annotations now quite extensively. In my experience annotations are mostly used on POJO domain classes to configure frameworks like Hibernate, Spring and Seam and many other frameworks to be able to handle the custom objects correctly.

There are as many different approaches to this as there are implementations. In this blog I try to identify a few of the better approaches and a few of the poorer ones. The blog is not so much meant as a critique on the frameworks that the examples are taken from, but more as a guide to designing your own annotations whenever you might be faced with that task.
(more…)

Share

Tags: annotations, configuration, jackson, resteasy, Seam
Filed under Java | 1 Comment »

Maarten Winkels

Posting complex forms with RESTEasy – Part 1
Posted by Maarten Winkels in the late evening: March 18th, 2011

RESTEasy is a Framework for building RESTful applications in Java. In this blog I will show how to easily build RESTful webservices that accept data from an HTML Form. We will also explore the possibilities to extend RESTEasy to handle more complex cases.
(more…)

Share

Tags: form post, resteasy
Filed under Java, RESTEasy | 7 Comments »

Maarten Winkels

Regression Testing with an Agile Mindset
Posted by Maarten Winkels mid-afternoon: November 5th, 2010

When applying agile methods to existing software development practices, it is often useful to start from the basics. For regression testing this boils down to:

  1. Regression testing ensures continuity of business functions.
  2. In an agile context it helps the team focus on the (new) functionality to develop in the sprint while maintaining overall stability.
  3. To maximally utilize regression testing in an agile context, test automation and continuous execution should be applied.
  4. It is important to realize the difference between functional tests and regression tests to avoid some common pitfalls.

(more…)

Share

Filed under Agile, Testing | 5 Comments »

Maarten Winkels

Tweaking JAXB to generate better code
Posted by Maarten Winkels in the late evening: September 2nd, 2009

JAXB can be a real time saver when working on a project that uses XSD to describe interfaces implemented in Java. Sometimes, however, the generated code is not up to standard. I ran into a problem that seems very common and found a very elegant solution to it on the web.
(more…)

Share

Tags: jaxb, Maven, xjb plugin, XmlElementWrapper
Filed under General | 3 Comments »

← Older posts

Xebia Sites

  • Xebia Corporate
  • Xebia France
  • Xebia India
  • Xebia Sweden

Categories

  • Java (311)
  • Agile (181)
  • General (136)
  • Scrum (67)
  • Architecture (64)
  • Testing (59)
  • Performance (46)
  • Middleware (56)
    • Deployment (38)
  • Xebia Labs (39)
  • SOA (31)
  • Podcast (31)
  • Project Management (28)
  • Tools (26)
  • Uncategorized (20)
  • lean architecture (20)
  • Quality Assurance (17)
  • Articles (13)
  • Requirements Management (13)
  • Virtualization (19)

Tag Cloud

    Lean XML Eclipse Frameworks Concurrency Control Grails Spring agile architectuur Agile JPA implementation patterns Groovy Scrum JPA ACT Architecture Maven SOA lean architectuur Xebia Oracle Flex TDD Javascript lean architecture Ajax Hibernate Scala Java product owner Moving to India

Archives

  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
Avatars by Sterling Adventures