• Home
  • RSS Feed
  • Log in

Author Archive


If it looks like XML…
Posted by Jeroen van Erp in the early morning: August 17th, 2007

And walks and talks like XML, it surely must be XML. Yes, well how wrong you can be about assumptions is once more shown in this blog.

One of our clients has an application through which videos are streamed. They do this by providing a browser embedded player, or your stand-alone Windows Media Player with an ASX file. The ASX file tends to look like this:


  
    
  

(more…)

Share

Tags: XML
Filed under General | 3 Comments »


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

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

Filed under Java, Testing | 5 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

Filed under Java, Testing | 13 Comments »


Killing (Joda) Time
Posted by Jeroen van Erp in the early morning: February 15th, 2007

One day, one of our testers comes up to our table and tells us: “The testing environment (Weblogic container on IBM JDK 1.4.2) is hanging”… So we kill Weblogic, fire it up again and have the tester replay his scenario. He manages to reproduce the hanging behaviour. So on come the Java Forces to find the problem. As the JDK is an 1.4.2 JDK we cannot use the Java5 jconsole to inspect the JVM. The easiest then is to first create a stack dump, as we want to see what the threads are doing. Upon careful inspection of the dump file we first find this disturbing snippet.
(more…)

Share

Filed under Java | 6 Comments »


Non-invasive Audit logging
Posted by Jeroen van Erp just before lunchtime: February 16th, 2006

Non-invasive Audit logging

Which developer hasn’t worked on a project where, at some point in time before the final delivery, some guy from maintenance wakes up and asks the development team whether they can perform audit logging… Specifically he wants to have a “detailed log”. It should contain the IPAddress of the user, his login name, and some information about which actions he performed and what the results were…
(more…)

Share

Filed under Java | 5 Comments »


WebServices client using Spring and Axis
Posted by Jeroen van Erp terribly early in the morning: January 12th, 2006

Using Spring and Axis it is very easy to create a client for a Webservice by just having access to a WSDL file. I’ve implemented a solution for this at one of our customers. Based upon this I’ve created a sample using the Google Web-API.
(more…)

Share

Filed under Java | No Comments »

Newer 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

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

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