Ajax

Review Java EE6 and JavaFX 1.3 – Part I, the back-end

Mark Bakker

Summary

In the first part of this review (the JavaEE6 back-end) I tested a small application which is a JSON REST service to be used as back-end for a JavaFX front-end. My conclusion for now is that JavaEE6 has a lot of new features which makes it a lot easier to use Java EE without extra libraries like Spring, Seam or Resteasy. I was able to make a back-end application which was noticeable fast with a low overhead in bandwidth and CPU usage.

Introduction

In a search for the current best technology platform I am building a small real-world application for personal use in different languages and frameworks. First up is Java EE 6 and JavaFX 1.3.

I think this review can be helpful for others as well. If you just want to see the implementation you can skip the functional and technical requirements. If you are interested in the application and want to help creating the new version; please send me a reply:-).

 Read more

Open Source GIS experiences

Kris Geusebroek

After being away from the GIS world for a while, I started working on a new project replacing the current used software by an open source alternative. The first small application that needed to be made was for an emergency phone call center to show the position of the caller on a map. After that a few prototypes should prove that it was doable to replace the current software stack by open source alternatives.

In this blog I will describe the tools used, a few of the problems I ran into and of course the solutions to the problems which involve coding and communication ;-)

The tools used where a Java based server called Geoserver and a client side JavaScript library called OpenLayers.

 Read more

Testing Wicket AjaxBehavior

Mischa Dasberg

Last week I ran into a problem while testing AjaxBehavior in Wicket.

Consider the following scenario: we have a FormComponent which has an AjaxBehavior added to it. We want to test that behavior. Depending on the selected value of for instance a RadioChoice, the Ajaxbehavior should show one component and hide another.

You would think that this would be out of the box behavior when using WicketTester, but unfortunately this is not the case. Triggering an Ajaxbehavior is easy using WicketTester, but setting the selected value isn’t.  Read more

Validation in Seam

Ruchika Goyal

Validations are a huge part of any software development. We need to validate that the data being entered from the UI is correct i.e of correct type or we are not leaving a notNull/notEmpty fields to be blank. There are so many ways to fulfill these requirements and we can have UI level validations or persistence level validations.

 Read more

Testing Wicket with Fitnesse

Mischa Dasberg

On our latest project, My colleague Tjeerd Kaastra and I, have been using Wicket.
Since our GUI was so complex, and we had to write 100s of unit tests (a lot of corner cases), we sat down with our testers to find out how we should approach this. Because Our testers use Fitnesse to test both functional acceptance as well as regression tests, they test a lot of the code as well. So we thought, why not integrate the two and that is what we did.

This blog describes how to test Wicket applications using Fitnesse. It is about stretching the limits of the Wicket test components to do so. We will try to explain this by using a small example project we have created to illustrate things. This example project has been inspired on the new user wizard example by Eelco Hillenius. We adapted this example so that it uses Spring, because most apps use a backend system.

 Read more

Wicket – Updating ListViews using an AjaxLink

Mischa Dasberg

Consider the following senario: we want to display some data in a table like manner, and we want it to update when we click on a link or button. We do not want to do a complete page refresh, we want it in an ajax way. Also we would like the modify the css for each cell.

In wicket you can use a ListView iterate over a List of Objects and display them in a table like manner.
This blog describes how you can update ListView data and modify the css for each cell.
 Read more

Book Review: Adobe AIR for Javascript Developers

Balaji D Loganathan

I was trying to learn Adobe AIR and was looking for some good set of learning resources. I found the book “Adobe AIR for Javascript Developers” from Oreilly by and started reading it online. A cool book, the authors have done great job on presenting the topics as an easilit readable pocket guide. Soon after reading this book, i felt i got the right resource i want for now.
 Read more

Podcast Episode 19 – RIA vs Web 2.0

Robert van Loghem

RIA and now! Web 2.0 guy, Bart Guijt talks in this episode of the Xebia Podcast about;

- Web 2.0 vs RIA (is there a link?)
- Adobe AIR deployment in the business
- Dutch article in Java Magazine about 3 popular RIA toolkits

So head on over to the show page or subscribe to our podcast!

Wicket and List Choice Transfers

Mischa Dasberg

Consider the following scenario: we want to have two select boxes and we want to add options from one to the other and back.
Currently, this is not easily possible in Wicket, even though there are a lot of extensions available.
This blog describes an easy way to create a component which does just that!

  select transfer   select transfer

 Read more

Podcast Episode 17 – RIA – Part 2

Robert van Loghem

Bart Guijt introduces us to the world of RIA, this is part 2 of the interview!

Bart tells us about;
- Microsoft Silverlight
- Open Laszlo
- Other RIA tookits
- Future of RIA

Hosted by Robert van Loghem

So head on over to the show page or subscribe to our podcast!