YOU ARE HERE: Home > Tech > Project Management > Article

J2EE Software Development Methodologies (Part II)
By SAMS This article was not rated yet.
 
Printer Version Printer Friendly | Add As Favorite | Link to Article (Page 1 of 2)|1||2|Next

Within organizations, there will always be elements related to software development that will remain constant, regardless of the technology and programming languages employed to construct the information systems. Being able to recognize and fine-tune these elements, so they can be applied toward software development efforts, can provide the following long-term benefits:

1. Projects can leverage proven best practices.

2. Projects can be delivered with a greater degree of confidence, reducing risk and costs.

3. Risks involved in a project can be mitigated by employing accepted shared practices.

4. Technical competencies and skills can be developed through practicing consistent approaches.

However, most organizations fail to recognize these benefits. It is essential for organizations to possess internal communication mechanisms that can easily cross-fertilize information and promote best and worst practices across the spectrum of active IT projects. Two organizational frameworks that have proved invaluable in the support for enterprise J2EE software development efforts are Communities of Practices and Technical Centers of Excellence for J2EE Architecture.

Communities of Practice

Communities of Practice is a term used to define a forum of people, who can be extended across an organization, who share a common interest. Communities can exist for multiple topic areas, just like public user groups; the only difference being that their existence must contribute in some manner to the success of the organization.

In most organizations, J2EE solutions need to swiftly proceed from concept to prototype to production, and continue to evolve even after they are deployed. As a result, Communities of Practice need to be involved in developing the most practical, flexible, and efficient approaches for the J2EE software development efforts, especially in the areas that require business analysis, such as project inception and requirements gathering. Communities of Practice will derive best practices and techniques for assisting J2EE software development projects in a manner that will be supported and governed by the culture of an organization.

NOTE

In most cases, the best practical approach is the most culturally supported approach.

Communities can be technical and non-technical in nature. What is important is that they understand how they can contribute to the success of J2EE software solutions.

Non-Technical (End-User) Communities

This community represents the advocates for the end users within an organization, and primarily supports the Requirements and Analysis phases of a J2EE software development methodology. End users, just by the nature of their roles in an organization, do not typically have insight to how information systems are developed. Hence, they will not understand the activities or processes they will be involved in, or the implications of documenting or changing business processes.

This aspect of their interactions with IT projects always consumes their concentration over providing valuable information and knowledge to the business analysts. However, they are the primary information resources for nearly all IT projects.

Business analysts need to apply an investment in educating end-user communities on the Requirements and Analysis phases to ensure they understand the informational value they posses and how they can effectively articulate that information.

Such communities require sponsorship and need to be championed by a well- recognized and respected member of the end-user community. A strong marketing effort is also required to promote its existence, since there is no point in building a Community of Practice if no one knows it exists. It is extremely important for them to gain exposure and be utilized by the organization.

Technical Communities

Technical communities are more prevalent than the non-technical end-user communities within an organization, and are usually composed of representatives from an organization's technical workforce?technical architects, software developers, and testers.

These communities generally exist for technology platforms, development languages, and their respective integrated development environments. Hence, technical communities have established themselves as developing the suite of technology criteria for the deployment of successful information management systems within an organization.

Examples of the concentration of such communities include

1. Programming languages (Java, C++, and Visual Basic)

2. Databases (Oracle, Sybase, DB2, and SQL Server)

3. Technical vendors (Oracle, BEA, Microsoft, and IBM)

There should always be an entity that sets the technical directions and standards within the organization, but the technical community should not be that entity. The mission of technical communities is to develop how those technologies can best be applied or practiced, not by theory, white papers, or technical paraphernalia, but through actual hands-on experience.

By creating and sponsoring technical communities, organizations will over time develop consistent approaches to software development that will possess a high degree of quality and success.

Technical Centers of Excellence?The J2EE Architecture Group

A Center of Excellence is a formalized group of people who are focused on a specific technology or software platform which their organization utilizes in its software development efforts. Their roles are to be experts, practitioners, and mentors on the technology domains they represent. This group must also wear the business hat to continually monitor business drivers that affect them, as well as the areas within an organization that could potentially be affected by the technology they represent.

If your organization is going to transition its software development platform to one that employs the J2EE architecture, there will be an expectation, after the completion of the first few J2EE projects, that subsequent J2EE project efforts become more efficient through the reduction of time, cost, and risk. With major updates occurring to the J2EE architecture almost every six months, a Center of Excellence is the means to realize those goals.

The J2EE Architecture team must collectively define how they are going to publish their information and knowledge to the organization, to ensure that the J2EE value proposition is comprehendible. Hence, they will need to represent technical ideas and the business implications of J2EE solutions, without needing to explain the intricate underlying technology. Business leaders view technical architecture as a winning gamble?an investment today with the optimism it will reap huge benefits in the future.

NOTE

The J2EE Architecture team must learn to talk in relation to user implications, as all technical choices should ultimately be linked back to business strategies and drivers.

The work that the J2EE Architecture team conducts should be in a level of detail that can be achieved within a set timeframe, typically no longer than the duration of the next release of the J2EE specifications. The longer they take to establish compliance on how J2EE solutions should be implemented, the less productive their mission and existence becomes. The litmus test for how successful an organization is with a J2EE Architecture team can easily be measured by the number of projects that adopt J2EE as the platform for the solution and have a successful deployment.

J2EE Architectural Guidance to IT Projects

The biggest payoff of having a J2EE Center of Excellence within your organization is the ability for their members to get involved with J2EE projects right from the beginning, and ensure that a J2EE solution is valid and best suited for the solution domain. At a minimum, it should provide the appropriate technology guidance.

However, the biggest mistake that IT projects make in selecting a platform for their solution architecture is they see both the Requirements and Analysis phases of a software development lifecycle as the building blocks for producing the overall design of the system.

In reality, the role of the Requirements phase is to identify the functionality of the system, not how the functionality will be implemented. The Analysis phase, on the other hand, provides essential information contributing toward an understanding of the solution domain, and not what the solution system will look like?that is the role of the Design phase.

It is also important to note that an IT solution's architecture should not be confused with its design. The focus of the architecture is on how the system will be deployed, and not its granular implementation details. The architecture of a system should capture the elements of design, which provide a clear vision and guidance for the overall design of the system.

The J2EE Architecture Center of Excellence should ensure that when they get involved in projects, the due diligence for the technology solution does not take a J2EE bias. If J2EE is selected as the appropriate platform, they should provide an architectural blueprint for the following:

1. How the J2EE services can be implemented

2. How existing organizational J2EE business components, such as EJBs, JavaServer Pages, and Servlets, can be reused

3. How the system can evolve and scale over time, resisting any stress placed upon it by the business

4. How and who to hire for project augmentation

5. How newly created J2EE business components can be harvested into a central component library

Another area where the J2EE Center of Excellence will be very valuable is in systems integration. J2EE is a relatively new technology platform for most organizations. Although much of an organization's data will have been collected by existing applications, the value will not be in the replacement of these existing systems, but in how they can be interfaced into new J2EE solutions, hence commoditizing their value.


The term methodology is one of those terms that can mean different things to many people. In the context of developing software, however, there should be one simple interpretation?"A Methodology provides a methodical roadmap, framework, or guidance for developing software solutions derived from business needs."

The term Software Development Lifecycle (SDLC) sometimes gets confused with a methodology. The two terms are interrelated, but have different implications. A Software Development Lifecycle describes a defined set of phases or events that occur in the development of software solutions.

The Software Development Lifecycle has several distinct phases.

A methodology encapsulates an SDLC, and describes a general philosophy for developing the software solution, as well as what is expected from each of its phases in terms of inputs, outputs, and the respective coordination of any activities.

Methodologies are not technology-bound, and in essence, they cannot afford to be. Methodologies are engineered to be open frameworks that can apply to a variety of business and technical challenges. However, with the explosion of Web-based n-tiered applications, as represented by the BEA WebLogic Server 7.0 united with the J2EE platform, methodologies have become driven by the following three factors:

  • Features or functionality of your system solution

  • Web-based interface

  • Architecture that will be used in the construction of your system solution

    The methodology with respect to a SDLC describes a general philosophy for developing a software solution.

    These methodology drivers will be discussed in more detail in the "Selecting a Software Development Methodology" section of this chapter. In the meantime, it is important for you to begin to relate to these factors, as this chapter systematically describes the development process of J2EE solutions.

    The methodology spectrum can range from pure philosophies, or best practices on what is needed in each phase of the SDLC, to a fully specified roadmap, providing complete guidance on the whys, whats, and hows of developing software solutions.

    There is no rule or guiding authority that specifies you have to use a particular methodology. However, working without rules or guidance can be a costly exercise. The merits of using existing methodologies generally include the following:

  • Proven and successful methodologies are available to be used, and thus you do not need to reinvent the wheel

  • Optimism that the requirements of the solutions have been captured correctly

  • Reduced risk and errors in the development and deployment of the software solution

  • Improved documentation and communication during the SDLC

  • Easier project management

  • Straightforward maintenance and upgrade of the deployed (production) software

    However, the true realization of benefits depends on the methodology you have selected, and how it is implemented and executed within your organization.

    There is no doubt that J2EE solutions are being developed through a catalog of methodologies, each providing a unique approach. However, if you take a closer look at the methodologies at a very high level, there are certain core activities or phases that span them all; the only disparity is that they are fine-tuned or enhanced in their exact implementation and how they are practiced.

    Methodology types have evolved from the early Structured Systems and Analysis type methodologies to Object-Oriented type methodologies, which are more gauged to develop object- and component-based software. Structured methodologies do not support the concept of looking at the real world in terms of objects. Object-Oriented type methodologies are more appropriate for developing J2EE solutions.

    What Is an Object-Oriented (OO) Methodology?

    An Object-Oriented (OO) methodology is in essence a strategy for observing the business world as a suite of objects (for example: people, desks, pens, computers), and deriving an object-oriented software system from it. This is accomplished by mapping real-world objects to software business objects, which are written in an object-oriented programming language such as Java, C++, and now C#.

    NOTE

    J2EE is not a language?Java is the implementation language for the J2EE services.

    The primary difference between Structured and OO methodologies is in their underlying concepts. Instead of defining systems as two disparate parts?data and functionality?OO methodologies require systems to be defined as a collection of interacting objects. These objects possess characteristics (data) and behavior (functionality), which are mapped from the real world to Java classes or J2EE objects, such as EJBs and Beans.

    Major Motivations for Using OO Methodologies in J2EE System Developments

    The methodology you use to construct your J2EE system needs to be addressed very early on, before the project begins, as it affects every aspect of your system development effort. Depending on the culture and skill sets of your project staff, either you can embrace a complete OO approach, including the tools you use, or you can embrace a mixed-bag approach using structured approaches for certain phases of the SDLC; for example, for the Requirements phase. Even though a complete OO approach is favored and more conducive toward J2EE systems development, a decision will need to be made on which approach will yield a more successful return for your project, and not what the industry beckons.

    CAUTION

    Best practices are not always the most practical practices if they do not provide any benefits to your organization or are too challenging to implement, thus causing resistance to their use.

    The following sections illustrate a few influential points you should consider if you are in the position to decide whether you should use the OO or mixed bag approach.

    Object-Oriented Approaches Produce Solutions Which Closely Resemble Their Problem Domains

    One of the axioms of systems development is that a solution should closely resemble the original problem. The only way to do this is if you observe your problem domain in its natural state, which is in terms of objects interacting with each other.

    If you take this natural perspective, you will better understand your requirements, and more importantly be able to easily refer back to your problem domain to validate the Analysis and Design phases of the SDLC.

    Object-Oriented Approaches Promote OO Thinking

    There is no better way to understand the object-oriented paradigm than to be involved in a project that encourages and practices it. Software developers and architects who are already familiar with one of the OO programming languages will be familiar with the concepts. If you are a project manager or business analyst, there are plenty of books that discuss OO concepts and even provide case studies, but the true test is if you live the experience, because things are never what they seem.

    For those who are new to OO, the following are key OO areas that will assist you to further understand the OO paradigm.

    Objects and Components Are "Black Boxes"

    The "black box" concept means that implementation details of objects and components are hidden from their consumers. This concept is formally known as information hiding and is a key element in OO thinking.

    You should not worry if you do not understand how an object or component is implemented in your J2EE solution. The main emphasis should be that you understand its purpose: What functionally does it provide and what data does it possess?

    Objects and components are seen as black boxes because they are designed with the concepts of abstraction, encapsulation, and concurrency.

    Abstraction Abstraction is the process of suppressing or ignoring inessential details, while at the same time putting focus on the more important or essential details. Abstraction is typically spoken of in terms of levels, the higher levels addressing why the object exists, and the lower levels leaning more to how it is implemented. There are many types of abstraction, but in terms of objects, the following are important:

    1. Functional abstraction, which deals with hiding the functionality within an object, while only exposing the interfaces on how you can interact with it.

    2. Data abstraction, which hides the details on how an object's functions and data are implemented.

    3. Process abstraction, which manages internal processing of operations.

    Encapsulation Encapsulation is the process of logically or physically wrapping together functionality and data that pertains to a unit, business need, or concept into a class or component; that is, information hiding.

    This concept acts as a software wall or protector, allowing interaction only via specified interfaces; the internals being hidden. Hence, if a change needs to be made to the data or functionality within a class or component, it can take place without cascading changes to the other parts of the system that interact with it.

    Concurrency The biggest difference between OO and procedural systems is how they manage concurrency?the capability to process an operation.

    Non-OO systems will tend to create a broker object or central routine that will take the responsibility of managing how other aspects of the system receive processing requests. OO systems, on the other hand, will tend to leave this process management to the object itself or the environment that object exists within. For example, in the case of EJBs, concurrency is managed by the EJB container.

    Object-Oriented Approaches Promote Reusability

    Reusability does not only apply to the concepts of class inheritance or component reuse, which without a doubt are the primary beneficiaries in an OO software development effort. Since OO approaches focus on delivering OO systems without a bias on the implementation language, the whole software development lifecycle and the artifacts can be reused on other projects.

    TIP

    As in the case of J2EE systems, non-technical aspects of a system development effort, such as templates for Requirements, Analysis, and Design artifacts; application development tools; and even project plans; can be used as springboards for subsequent J2EE projects to use.

    Object-Oriented Approaches Support Interoperability

    OO systems, such as in the case of J2EE, are not designed to be monolithic self-satisfying systems. OO methodologies promote systems to be loosely coupled, but very cohesively designed. Even though J2EE systems can be dispersed throughout an organization regardless of the location (for example, hosted on WebLogic Servers), as interoperability increases, the concept of a network and any system interconnections slowly begin to disappear.

    Object-Oriented Approaches Possess Traceability Capabilities

     

    Continue...
  • (Page 1 of 2)  |1||2|Next

    Was this article helpful to you?yesno

    Related Publications
     
    J2EE Software Development Methodologies (Part III)
    J2EE Software Development Methodologies (Part II)
    J2EE Software Development Methodologies (Part I)

    (Registered users can post questions/comments)

     
     TLINKS SEARCH
    Advanced Search
    Help
     Recommended Links
    Red Cross
    Responding to hurricane katrina relieve. Donate today. It's a Great Feeling to Help.
    http://www.redcross.org
    Getusjobs.com
    Getusjobs.com is the job site focused on American jobs. See the results that put us on top.
    http://www.getusjobs.com
    Database Tool
    TLinkSoft® tools empowers developers, integrators and DBAs to be more productive.
    http://www.cppunit.org/download.jsp
    USAnalyst.com
    USAnalyst.com provide a community for database analysts, business analysts, developer analysts and managers.
    http://www.cppunit.org/article

    Powered by Tlinks Systems