O'Reilly Book "97 Things Every Software Architect Should Know" Accepts A Write Up From Kamal

Submitted by Kamal Wickramanayake on September 26, 2008 - 05:35

An axiom contributed by Kamal has been accepted to be published on the O'Reilly Media book "97 Things Every Software Architect Should Know".

The write up is titled "Capacity to implement is as important as knowing how to implement".

The book is a community effort lead by Richard Monson-Haefel and is to be published by O'Reilly Media in year 2009.

Update: The book can be seen at http://www.amazon.com/dp/059652269X

XML, XML Schema And Using XML Effectively Training

Description:

Extensible Markup Language or XML for short is used in software systems to organize and represent information. Applications of XML are diverse but include maintaining software system configurations, maintaining information in a structured manner (e.g. web pages) and using as a format to exchange information between systems (e.g Web Services).

This training on XML focuses on making software developers, system integration professionals and those who work on standardization of information representation to use XML effectively in their work.

Accessing local variables even after methods finish (in Java)

Submitted by Kamal Wickramanayake on December 3, 2010 - 01:42

At times we write methods in Java classes with local variables that we need to access even after the methods finish execution. Here's an example:

 

public class FinalLocalVariableTest {

    public static void main(String[] args) {
        final int x = 5;

        Runnable r = new Runnable() {            
            @Override
            public void run() {
                System.out.println("x is " + x);
            }   
        };

        Thread t = new Thread(r);
        t.start();
    }
}

Java Programmatic Browser

Submitted by Kamal Wickramanayake on July 19, 2010 - 10:54

At times you need to visit web sites, login, navigate through pages, select portions of HTML, click on links, check for the existence of a form, submit the form,.... and do all these things programmatically. So you need a programmable web browser that can execute and have a cup of tea while it will do the job.

Java programmatic browser

Apache Axis2 WS-Security message signing vulnerability (Version 1.5.1)

Submitted by Kamal Wickramanayake on July 18, 2010 - 12:32

Note: See the bottom of this page to download the sample code used.

Rampart is the Apache Axis2 module that implements the WS-Security features. To add such features to your Web service, Axis2 provides two different configuration mechanisms. One depends on WS-SecurityPolicy and is the approach that is preferred. The other approach is known as the “parameter based configuration”.

Is MVC a design pattern or an architectural pattern?

Submitted by Kamal Wickramanayake on July 17, 2010 - 13:12

MVC which stands for Model-View-Controller describes a software pattern that you can use in interactive computer systems. To understand if it is a design pattern or an architectural pattern, let's look at what these two are:

Architectural pattern: Concerned with the subsystems of an application with their relationships and collaborations with each other.

Design pattern: Concerned with the (further small) components of a subsystem with their relationships and collaborations with each other.

Sample X.509 certificate collection with public/private keys (for Java)

Submitted by Kamal Wickramanayake on July 10, 2010 - 09:39

If you want to test your Java application which requires digital certificates, here's a collection of such certificates with associated public/private keys in .jks format (the Java standard format - Java Key Store).

For example, you can use these to test Web services or enable SSL support of a Java server (and clients - if you want).