muSOAing for 5/30/10

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: