Posts By: Mashooq Badar

Project Lead and Client Engagement Manager with extensive experience based on a strong consultancy background with over 10 years of project engagements in both the private and public sector. Main areas of interest are structured project management methods (Agile, Scrum, RUP, XP and LEAN) and JEE based enterprise software architectures

Project Estimates

In my previous post on High Level Project Estimates, I talked about 3 points estimates to help provide an up-front estime of effort for a project. Aside from the effort estimate you also need to consider other aspects that the team will spend time on. The following are some aspects I consider with the kind [...]

Naming your Unit Tests

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 [...]

Approach to Performance Tuning

Performance issues in a application manifest as bottlenecks in one or more of the following 4 layers: Application: Application is not designed, developed or configured properly. Platform: The platform that the application runs under (e.g. App Servers, Databases etc.) is not setup and configure. System: The hardware the platform runs on is not sufficient. Network: [...]

Embedded Glassfish for Integration Tests

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(); [...]

Creating custom layouts in JBoss Portal

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> [...]

Using JIRA for Agile Project Management (without Green Hopper)

Jira from Atlassian is a very popular issue tracking software and can be quite effectively used for Agile Project Management. Jira has a plugin (Green Hopper) that allows for creation of a backlog, iterations and tasks. However, with help from the free Mylyn plugin for Eclipse I was able to setup a Product Backlog and Iteration Backlogs.

Day CQ5 (CMS) and JBoss Portal

In this blog we look at the challenges for a CMS in managing a site that has embedded web applications – using examples of JBoss Portal and CQ5 CMS from Day.