• Home
  • RSS Feed
  • Log in

Archive for June, 2007

Older Entries

Mocking Super Calls
Posted by Jeroen van Erp at around evening time: June 25th, 2007

Another installment in our mocking adventures. After I presented you last week with some possible solutions when you're mocking static method calls. Today I am facing a different problem.
(more...)

  • Share/Bookmark

Filed under Java, Testing | 1 Comment »

Mocking Static Calls Revisited
Posted by Jeroen van Erp around lunchtime: June 22nd, 2007

Yesterday I presented you with a problem we were facing with mocking out the static call to FacesContext.getCurrentInstance(). The three solutions I presented all felt wrong somehow. Comments showed a fourth option, AOP. Today I will present you with yet another solution, which I think feels right in every way.
(more...)

  • Share/Bookmark

Filed under Java, Testing | 5 Comments »

Reality is not plan based: change is a fact of life
Posted by Gerard Janssen in the early morning: June 22nd, 2007

The whole idea of executing a project is that you want to achieve something. A person or organization has goals that they want to achieve. A project is a way to coordinate the efforts towards achieving these goals. Ideally we set all of the goals before the start of the project, initiate the project and let it run to fulfill the goals. This way we would never have to discuss or question why we do the things we do. However, things have a tendency to change, even the goals might change. The question is how we deal with that.
(more...)

  • Share/Bookmark

Filed under Agile, Project Management | No Comments »

Mocking Static Calls
Posted by Jeroen van Erp in the early morning: June 21st, 2007

How can you test methods that contain static method calls? This is a question we're facing at the moment while working on an application of which parts have been written by another development team. In order to gain insight into functionality and quality of the codebase, we are writing JUnit tests. But a lot of the code is dependent on either the JSF FacesContext or the Spring ApplicationContext being available.
(more...)

  • Share/Bookmark

Filed under Java, Testing | 12 Comments »

Podcast Episode 7 online: J-Spring special
Posted by Robert van Loghem mid-morning: June 20th, 2007

On the 12th of june we interviewed Kirk Pepperdine (javaperformancetuning.com), Angelika Langer (Java Generics) and Jonas Boner (Terracotta) at the dutch J-Spring congress organized by the NL-JUG (dutch java user group).

You can download the episodes here or subscribe here.

We also have 2 interviews in dutch with Peter van Rijn (Refactoring to Patterns!) and Wouter Zelle (Kwaliteitsbewaking met sourcecode analysetool PMD) you can download those from our podcast page.

  • Share/Bookmark

Filed under Java, Performance, Podcast | 1 Comment »

Transformation Proxies
Posted by Maarten Winkels in the early morning: June 20th, 2007

One of the most important language features of java is the dynamic proxy. At some point, the ability to create dynamic proxies must have saved Java from disappearing in the dull world of strict object oriented languages. Nowadays dynamic proxies are mainly used by frameworks like Spring AOP and Hibernate, but once in a while an opportunity arises to use a dynamic proxy in application code.
(more...)

  • Share/Bookmark

Filed under Java | No Comments »

Mocking collaborating Abstract class using EasyMock partial mocking
Posted by Deepak Mittal in the early morning: June 18th, 2007


There are times when we need to unit-test methods of a concrete subclass, which colloborate with methods of the abstract superclass. The key requirement is that we want to unit-test the subclass methods in isolation; without bothering about the collaborating methods in the abstract superclass.

Lets take a look at a simple example : Dog extends Animal.

(more...)

  • Share/Bookmark

Filed under Java, Testing | 6 Comments »

JavaFX or Flex?
Posted by Maarten Winkels in the late evening: June 16th, 2007

JavaFX is one of the recent additions to the Java Platform. Its aim is to "to simplify and speed the creation and deployment of high-impact content for a wide range of devices". I think SUN is right to focus on this market.

One of my first thoughts was: "What's with the name?" In my mind it is a reference to Flex. I doubt that it is wise for SUN to make such a reference; they might not be up for that kind of competition...

But for now, let's focus on what is in this new package.

(more...)

  • Share/Bookmark

Filed under Flex, Java | 3 Comments »

Podcast Episode 6 online: SCRUM, interview with Jeff Sutherland (pt. 1/2)
Posted by Robert van Loghem just before lunchtime: June 15th, 2007

After the 2 introductory SCRUM podcasts we go onto advanced topics with co-creator of SCRUM Jeff Sutherland.
The interview was done by host Serge Beaumont and Marco Mulder.

The topics covered are;

- The worldwide interest and state of SCRUM experienced by Jeff.
- Type C SCRUM/Sprints
- Tooling
- Multi threaded sprint issues and how to handle them
- High performance teams

You can download the episodes here or subscribe here.

Look out for the second part of the interview coming in 2 weeks!

  • Share/Bookmark

Filed under Agile, Podcast | No Comments »

Reality is not plan based – Plans as a communication device
Posted by Gerard Janssen terribly early in the morning: June 11th, 2007

When it comes to the contents of plan there is a big difference between prescriptive and criterion based approaches. As we stated before the idea behind a plan is to provide guidance to the activities on the project. In that sense it is a sort of communication device. However, the way we use the plan determines its effectiveness.

A plan should describe how to realize the business case on which the project is based. In the criterion based approach to project management this means that the intention of the project is described, but not all activities on how to materialize the business case are specified. The essence of the plan is to explain or to translate the business case into practical guidelines and criteria on how realize the business case. Put differently, it specifies the high level requirements for the project that need to be met for the project to be deemed successful. Tom and Kai Gilb for instance like to state that approximately 10 high level requirements should be enough to give direction to a project. These requirements then are the criteria used to measure the progress and success of the project.

(more...)

  • Share/Bookmark

Filed under Agile, Project Management, Requirements Management | No Comments »

Older Entries
Deployment automation for Java application running on Websphere, WebLogic and JBoss

Archives

  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009

Xebia Sites

  • Xebia Corporate
  • Xebia France
  • Xebia India

Categories

  • Java (282)
  • Agile (109)
  • General (50)
  • Testing (42)
  • Performance (42)
  • Hibernate (36)
  • Scrum (33)
  • Podcast (31)
  • Architecture (31)
  • Spring (28)
  • SOA (24)
  • Maven (22)
  • Project Management (22)
  • Middleware (23)
    • Deployment (14)
  • Flex (17)
  • JPA (17)
  • Eclipse (15)
  • Xebia Labs (15)
  • Quality Assurance (14)

Tag Cloud

    Introduction to Agile JavaOne product owner Groovy fitnesse Performance Grails Ajax Spring SOA Closures Functional Programming IntelliJ Scrum Agile esb Hibernate Testing Seam Java Architecture Xebia XML Poppendieck Maven Scala qcon Lean Semantic Web Agile Awareness Workshop