Valtech UK

About: Mashooq Badar

Website
http://mashb.wordpress.com/
Profile
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

Posts by Mashooq Badar:

    Project Estimates

    This post was originally published here by Valtech UK consultant Mashooq Badar.

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

    Defining and Prioritising a Backlog

    This post was originally published here by Valtech UK consultant Mashooq Badar.

    What is the best way to review a backlog? How do you ensure that it is “complete”? How do you ensure that the prioritisation reflects the business vision and goals? When first faced with a backlog, you are often overwhelmed by the long list of userstories. The most important step is to set a context [...]

    Naming your Unit Tests

    This post was originally published here by Valtech UK consultant Mashooq Badar.

    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

    This post was originally published here by Valtech UK consultant Mashooq Badar.

    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

    This post was originally published here by Valtech UK consultant Mashooq Badar.

    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

    This post was originally published here by Valtech UK consultant Mashooq Badar.

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