Tweet A few months ago an article was published in Computer Weekly where corporate IT Lawyer Alistair Maughan, argues the case that Agile will not work in Government projects. I didn’t see this article when it was first published, but it was brought to my attention when a colleague noticed that one of the comments [...]
Our team is currently working with a client on a medium sized, medium complexity Java application which has quite low test coverage. We are introducing characterisation tests to snapshot functionality. These will give us the confidence to r…
Tweet This post was originally published here by Valtech UK consultant Sachin Kanadia. I was playing around attempting to implement course grained MVVM in WPF. I used the Prism Application Block to achieve the most part. I came up with a few resulting base classes that formed the crux of the application I was deving at the [...]
Tweet Quality has always been a “hot” subject in software engineering, and several good development practices used in Agile development, unit testing for example, have been created to improve the quality of the softwares developed. Programme Managers, Project Managers and Assurance Quality Managers haven’t just been looking for techniques to improve quality, they’ve also been [...]
On a previous post I was discussing, among other things, how code often doesn’t represent the business properly. The code “satisfies” the business requirements but doesn’t express them very well. The main reason for that is because we, developers, like…
In the last few years, I’ve noticed that the majority of the projects that I’ve participated roughly followed the same design. Speaking to colleagues and friends, the great majority said that they were also following the same design. It’s what I call…
Often I see Unit Tests with the test methods that have the same name as the method under test prefixed with the word “test” e.g. testSubmitApplication. This provides no extra information on which “flow” of the mothod is being tested. Other test method names provide a bit more information by suffixing the nature of the [...]
The first thing I learnt when I started with Object-Oriented Programming was that an object should have state and behaviour. And indeed, that’s how it was back then. However, since J2EE (Entity Beans) and other ORM tools like Hibernate, iBATIS, TopLink…
Sun Glassfish server can be run in embeded mode, very useful for automated integration tests. Here’s how: Maven Dependencies: <dependency> <groupId>org.glassfish.distributions</groupId> <artifactId>web-all</artifactId> <version>10.0-build-20080430</version> <scope>test</scope> </dependency> <dependency> <groupId>org.glassfish.embedded</groupId> <artifactId>gf-embedded-api</artifactId> <version>1.0-alpha-4</version> <scope>test</scope> </dependency> If you are not using maven then add the above libs to you classpath. Getting the server started in simple final URI APP_URI= UriBuilder.fromUri(“http://localhost/”).port(8888).path(“myapp”).build(); [...]
The layout of a portlet is handled by a set of JSP in the portal-core web-app which is part of the jboss-portal.sar. In the web-inf direcotry have a look at portal-layouts.xml to see how various layouts are configured. The following is a snippet (self explainatory): <layouts> <layout> <name>rbs-1column</name> <uri>/layouts/mylayout/index.jsp</uri> <uri state=”maximized”>/layouts/mylayout/maximized.jsp</uri> <regions> <region name=”regionBody”/> </regions> [...]