Discussion on:
View:
Show:
All of this disassociation sounds like a real nightmare to maintain. Whereas component-based and OOP encapsulates logic and bugs for a cleaner debugging experience.
Once again, breaking up business logic into loosely-coupled services does not mean abandoning OOP or component-based programming practices. All benefits from these disciplines can be carried over to SOA and the same debugging techniques still apply.
While it is possible to support OOP and component-based programming with SOA, it is more likely to introduce bad habits such as data-member visibility and non-reuse of objects.
The potential for bad habits exists with any methodology. SOA is no more prone than any other discipline.
All of this loose coupling does sound like a difficult thing to debug. What techniques are typically used to debug SOA?
Debugging SOA-based applications involves the same techniques used for any multi-tier, multi-threaded/multi-process application, specifically:
1) Avoid deadlocks and race conditions during a debugging session by familiarizing yourself with the application and how each of the threads synchronize with each other.
2) Watch for familiar error patterns.
3) Minimize failure possibilites, i.e. divide and conquer.
4) Examine log files and screen output.
5) Examine stack traces, thread dumps and core dumps.
6) Employ packet-capture utilities and monitors.
7) Employ record-and-replay techniques.
1) Avoid deadlocks and race conditions during a debugging session by familiarizing yourself with the application and how each of the threads synchronize with each other.
2) Watch for familiar error patterns.
3) Minimize failure possibilites, i.e. divide and conquer.
4) Examine log files and screen output.
5) Examine stack traces, thread dumps and core dumps.
6) Employ packet-capture utilities and monitors.
7) Employ record-and-replay techniques.
While a location-transparent virtual computing space is possible, it is very hard to do without the necessary infrastructure in place. This article overlooks the fact that most enterprises have not embraced the technologies to make this a reality.
- Keyboard Shortcuts:
- Prev
- Next
- Toggle









































