Archive for May, 2010

muSOAing for 5/30/10

May 31, 2010

Here are a few criteria you should keep in mind when building a Simulator.

– It should of course accept SOAP Messages
– It should be designed as a pluggable framework
– It should be extensible without having to make code changes to core framework
– It should be configuration driven

The first point is only for the sake of convenience. You do not want to be writing a whole lot of code just to parse your incoming message. If this is not of primary concern to you or if you want control over the HTTP Headers inaddition to the payload then a plain HTTP Servlet will also do.

Basically you have a choice between a plain HTTP Servlet or a SOAP Servlet. You really should not be compromising on the other three points. It should be designed as a pluggable framework and by this I mean, it should follow common framework paradigms like dependency injection or interface driven code that makes code generic and polymorphic. Basic Java Coding priniciples really.


muSOAing for 5/9/10

May 9, 2010

So how do go about evaluating your Simulation options. There are a lot of commercial Simulators out there in the market. You will initially be WOWed by all their whiz bang features such as nice looking GUIs for parking your XML and other bells and whistles. These however are not the important features you should be considering. The important ones are,

– Is this simulator a black box
– What level of customization does it let you do
– Can it be easily configured to add new simulation scenarios

While you may not expect the vendor to hand over the source code to you, that is the level of control you probably need to effectively work with a simulator so what is the answer, write your own simulator. It is not as hard as it seems. There are two aspects to a simulator, one is the actual basic framework itself and the other is the generation of the sample XML files for the simuation scenarios. The latter is the tougher task, you have to use tools to generate these, do not think you can handcraft these files though they look simple.

So how will you go about building the simulator framework.