• Home
  • RSS Feed
  • Log in

Archive for April, 2009


Life on Tour: JAX 2009 Conference Review
Posted by Andrew Phillips in the wee hours: April 30th, 2009

jax09_logo
jax09_3_in_1

Last week I attended JAX ’09, the Java User Conference in Mainz, Germany.
Or rather “conferences”, because once you’re there JAX is indistinguishable from something called SOACON and the Eclipse Forum Europe, which officially take place in parallel. (more…)

Share

Tags: Agile, conference, Eclipse, Eclipse Forum, JAX, OSGi, SOACON
Filed under Agile, General, Java | 4 Comments »


JPA implementation patterns: Lazy loading
Posted by Vincent Partington at around evening time: April 27th, 2009

In the previous three blogs about JPA implementation patterns, I covered the basis operations of saving entities, retrieving entities, and removing entities. In this blog I will continue along a different angle, exploring the subject of how entities are lazily loaded and how that affects your application.

Anybody that has been working with Hibernate for a while has probably seen a LazyInitializationException or two, usually followed by a message such as “failed to lazily initialize a collection of role: com.xebia.jpaip.order.Order.orderLines, no session or session was closed” or “could not initialize proxy – no Session”. Even though these message may baffle new users of Hibernate, they are a lot better than the NullPointerExceptions OpenJPA gives you in these cases (at least when using runtime bytecode enhancement).

To use JPA to its full potential it is imperative to understand how lazy loading works, as it allows you to model your complete database with all its relations without loading that whole database as soon as you access just one entity.
(more…)

Share

Tags: Hibernate, JPA, JPA implementation patterns, Spring
Filed under Java, JPA, JPA Implementation Patterns | 19 Comments »


Great Indian Developer Summit – 2009
Posted by Nancy Sharma around lunchtime: April 27th, 2009

After the GIDS 2008 last year, me and one of my colleague at Xebia expressed our interest in attending Developer Summit this year.  Great Indian Developer Summit(GIDS) took place from 23-25 April 2009 at Bangalore , India.

Our journey started with witnessing a huge chaos at the airport. Their systems had gone down so everything was haywire. We joked of representing Xebia here as well to present them a better software solution  :)

@Bangalore , India

The first day saw a huge number of people. A lot of buzz and enthusiasm among the delegates. Big sponsors like Microsoft, Adobe , Red hat , JBoss , IBM , Yahoo , Sony Ericsson were associated with this event. Everyday there were five parallel tracks going on at five different halls.

In this blog I would briefly cover the highlights. (more…)

Share

Tags: Java, Xebia
Filed under General | 1 Comment »


Integration of Fixture and Selenium
Posted by Himanshu Gupta just before lunchtime: April 27th, 2009

Traditionally acceptance test was difficult to integrate with web. Now with combination of fitnesse and selenium you can do the integration easily.

(more…)

Share

Tags: fitnesse, Java
Filed under Java | 2 Comments »


Declarative equality for your business domain objects
Posted by Andrew Phillips mid-afternoon: April 24th, 2009

As Josh Bloch writes, for business objects, “overriding the equals method [is] necessary to satisfy programmer expectations.” (Effective Java, item 7). Apart from benefits he mentions – conformance to expectations, correct use in maps and sets etc. – I’ve found that implementing equals (and hashCode) really make you consider what the classes represent. Certainly for business objects, i.e. objects in your domain model, trying to define a business-level identity for your classes is a good way of validating that you’ve correctly captured a business-relevant concept.

An equals definition can also serve as a useful piece of documentation describing your domain. Here, we’ll consider an approach that tries to do this as cleanly and conveniently as possible…declaratively! (more…)

Share

Tags: business key, domain object, equals, hashcode, Java
Filed under Java | 4 Comments »

Serge Beaumont

Do you worry about crappy code? Then face reality and grow up.
Posted by Serge Beaumont around lunchtime: April 24th, 2009

My colleague Age pointed me at a blog post by Uncle Bob about a presentation where a Mr. Josuttis presented the inevitability of crappy code because “businesses will do whatever it takes to cut costs and increase revenue, and therefore businesses will drive software quality inexorably downward”. Uncle Bob proceeds to go against that argument, but I find it to be a technocratic (DSLs and produce better code) and ultimately unsatisfying answer. My answer to the problem?

Face reality, grow up.

(more…)

Share

Filed under Agile, General, Project Management, Scrum | 8 Comments »

Robert van Loghem

Multimedia Communication: When to use screencasts/movies in demos.
Posted by Robert van Loghem in the early morning: April 24th, 2009

For the last 9 months I’ve been working as a team member of Xebialabs on a product called Deployit. The product automates deployments of applications. As any Xebia team we use SCRUM for our development. Now at the end of our two week sprint we give a demo to the product owner and stakeholders of what we’ve been building.

We demo deploying applications onto a variety of Application Servers and other Middleware, like for instance WebSphere/Oracle-Bea Application Server/Portal, MQSeries, HTTP Servers and so on… Sometimes demo-ing a story, like deploy application A to application server B can take 10 to 15 minutes. That means, for an hour of demo time we can not show every user story that we finished in our sprint. So we only show the important ones. But what happens when demoing a story can take up to 45 minutes? How can can we cram multiple finished stories into the hour?
(more…)

Share

Filed under Agile, Multimedia, Scrum, Xebia Labs | No Comments »


Validation in Seam
Posted by Ruchika Goyal terribly early in the morning: April 24th, 2009

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.

(more…)

Share

Tags: Ajax, Hibernate Validation, JSF, Seam
Filed under General | 5 Comments »

Cirilo Wortel

Fitnesse – Selenium integration struggles
Posted by Cirilo Wortel around lunchtime: April 23rd, 2009

Recently I was challenged by a client to test a new web application in an Agile project. The team was new at working Agile and even more with working together with a functional tester, altogether this resulted in me getting very little development support from the team.
Because the lack of tooling and support I focussed my efforts on just recording test-scripts using Selenium IDE, hoping I would be able to reuse them once I got the development support I had been requesting. The plan was to integrate the pre-recorded scripts in a more extended test environment in a later stage of the project.

(more…)

Share

Tags: Agile, fitnesse, Scrum, Selenium, Testing
Filed under Agile, Quality Assurance, Testing | 6 Comments »


Differences between Seam-gen and Jboss Tools
Posted by Gaurav Kohli around lunchtime: April 21st, 2009

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

(more…)

Share

Tags: Frameworks, jboss tools, Seam, seam-gen
Filed under Java | 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

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

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