Published on

1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide


  1. 2. <ul><li>Factor that effects Architecture. </li></ul><ul><li>Common Software Architecture Mistakes. </li></ul><ul><li>The plague of OO technology. </li></ul><ul><li>Case Study: SOA </li></ul>
  2. 3. <ul><li>Architecture in adopted technologies/framework. </li></ul><ul><li>Stakeholder needs. </li></ul><ul><li>Desire to work with innovative or upcoming technology with or without any p-o-c. </li></ul><ul><li>An architecture may conform to an architectural style. </li></ul><ul><li>Focus on significant elements. </li></ul><ul><li>An architecture is influenced by its environment. </li></ul>
  3. 4. <ul><li>Architecture in adopted technologies or framework - </li></ul><ul><ul><li>For example CORBA, J2EE, JSLEE, ACE, .NET and so on… </li></ul></ul><ul><li>Stakeholders needs – </li></ul><ul><ul><li>Business needs: </li></ul></ul><ul><ul><ul><li>The end user is concerned with intuitive and correct behavior, performance, reliability, usability, availability, and security. </li></ul></ul></ul><ul><ul><ul><li>The system administrator is concerned with intuitive behavior, administration, and tools to aid monitoring. </li></ul></ul></ul><ul><ul><ul><li>The marketer is concerned with competitive features, time to market, positioning with other products, and cost. </li></ul></ul></ul><ul><ul><ul><li>The customer is concerned with cost, stability, and schedule. </li></ul></ul></ul><ul><ul><ul><li>The developer is concerned with clear requirements, and a simple and consistent design approach. </li></ul></ul></ul><ul><ul><ul><li>The project manager is concerned with predictability in the tracking of the project, schedule, productive use of resources, </li></ul></ul></ul><ul><ul><ul><li>and budget. </li></ul></ul></ul><ul><ul><ul><ul><li>Technical needs: </li></ul></ul></ul></ul><ul><ul><ul><li>Client is technical – wants to go for a particular technology or a particular framework, design patterns etc. </li></ul></ul></ul><ul><li>Desire to work with innovative or upcoming technology with or without any p-o-c - </li></ul><ul><ul><li>Usually true for a new enthusiastic architect/designer. </li></ul></ul><ul><li>An architecture may conform to an architectural style - </li></ul><ul><ul><li>Pipes and Filters, Data Abstraction and Object-Oriented Organization, Event-Based, Implicit Invocation, Layered Systems and some more.... </li></ul></ul>
  4. 5. <ul><li>Focuses on significant elements - </li></ul><ul><ul><li>Significant elements are those that have a long and lasting effect, such as the major structural elements, those elements associated with essential behavior, and those elements that address significant qualities such as reliability and scalability. </li></ul></ul><ul><li>An architecture is influenced by its environment – </li></ul><ul><ul><li>A system resides in an environment, and this environment influences the architecture. This is sometimes referred to as &quot;architecture in context.&quot; In essence, the environment determines the boundaries within which the system must operate, which then influence the architecture </li></ul></ul>
  5. 6. <ul><li>Scoping Woes. </li></ul><ul><li>Not Casting Your Net Widely. </li></ul><ul><li>Just Focusing on Functions. </li></ul><ul><li>Forgetting That It Needs to be Built. </li></ul><ul><li>Lack of Platform Precision. </li></ul><ul><li>Security. </li></ul><ul><li>No Disaster Recovery. </li></ul>
  6. 7. <ul><li>Scoping Woes - </li></ul><ul><ul><li>Many projects end up being doomed to failure before they’ve really started, simply because their scope was wrong. </li></ul></ul><ul><li>Not Casting the Net Widely - </li></ul><ul><ul><li>A related mistake that many of us have made is to focus on just a couple of our system stakeholders – classically the acquirer (who is paying for the system) and the end users get all of the attention. But what about development team, DBA, System administrator and others??? </li></ul></ul><ul><li>Just Focusing on Functions - </li></ul><ul><ul><li>Usually a new architect/designer make this mistake. </li></ul></ul><ul><li>Forgetting That It Needs to be Built - </li></ul><ul><ul><li>If the design or the technologies we use are too sophisticated or immature, then we may be jeopardizing the architect/system. However, when we do this, it’s often worth asking ourselves which stakeholders our new design is really serving – the answer may well be ourselves, first and foremost (and possibly the development team). </li></ul></ul><ul><li>Lack of Platform Precision </li></ul><ul><ul><li>We need Unix, Oracle etc etc. NO!!! Be precise please. </li></ul></ul>
  7. 8. <ul><li>Security Lapse - </li></ul><ul><ul><li>Call expert. Implement standard security algorithm and not custom made. </li></ul></ul><ul><li>No Disaster Recovery – </li></ul><ul><ul><li>Many systems reach production without major mishap and manage to run successfully there for years, without any significant interruption to service. Others aren’t so lucky and suffer some sort of major failure involving entire system recovery a number of times during their operational life. Are we ready for such disaster? </li></ul></ul>
  8. 9. <ul><ul><li>Note: Below points are too veiled to be overlooked…even by an experienced architect/designer. </li></ul></ul><ul><li>Unnecessary complexity - </li></ul><ul><ul><ul><li>For example - The customer wants a cup of tea, and we build a system that can boil the ocean.  </li></ul></ul></ul><ul><li>Don't try to solve problems that don't need to be solved. </li></ul><ul><li>Don't worry about the future until you're not sure that you can survive the present. </li></ul><ul><li>Don't build things for the fun of it. </li></ul><ul><li>The organization's health is more important than the developer’s desire to play with the latest whiz-bang tool or technique. </li></ul><ul><li>Don't add risk without a compelling and measurable benefit to the project. </li></ul><ul><li>Don't invest in the future if your current project is in trouble. </li></ul>
  9. 10. Architectural Mistakes – SOA An Example <ul><li>Service-oriented architecture (SOA) is an architectural style where existing or new functionalities are grouped into atomic services. </li></ul><ul><li>These services communicate with each other by passing data from one service to another, or by coordinating an activity between one or more services. </li></ul>
  10. 11. Requirements for SOA <ul><li>Requirements for a true SOA </li></ul><ul><ul><li>Interoperability between different systems and programming languages </li></ul></ul><ul><ul><li>Clear and unambiguous description language </li></ul></ul><ul><ul><li>Retrieval of the service </li></ul></ul>
  11. 12. Misnomers & Mistakes Done with SOA <ul><li>Everyone is talking about SOA, probably it’s the best for architecting a solution </li></ul><ul><li>SOA advocates heavy usage of patterns allowing the application services to be extremely re-usable. So I would use patterns across my architecture and design </li></ul><ul><li>I will make SOA and external systems would be able to discover my application services and use them. – What would happen to my legacy systems that are socket based? </li></ul><ul><li>With a SOA, my development team would always achieve shortest time to market while introducing new features, and it would also keep the business and the application support staff happy. – It really depends on the way SOA has been implemented!!! </li></ul><ul><li>Equating SOA with Web Services - Web Services are just one of the mechanisms for exposing, requesting and consuming services. Other mechanisms include ESBs, REST, etc. </li></ul><ul><li>In a SOA everything is exposed as a service – Not a very accurate statement to make. </li></ul>
  12. 13. Discussions