Developing a Policy on Specification Versions

The first decision to be made is your organization's attitude towards specification and language versions. Is it important to use the latest J2EE and J2SE features? This is a tradeoff between enhanced feature sets and proven functionality.

Decisive factors will include:

  • The nature of the application
    A minority of applications may benefit so much from the latest J2SE and J2EE features that there is little alternative to using them.

  • The length of the project
    For a large and lengthy project, it may be possible to predicate strategy on new, published features and defer the implementation of those parts of the application that need them until server support is more mature. For a short project, it will be most important to deliver a solution quickly using proven technology. Note that predicating even a lengthy project on new features in non-final J2EE specifications is very risky, and therefore inadvisable, even when "preview" implementations exist. The EJB 2.0 specification, for example, changed radically in successive public drafts.

  • The nature of the organization
    A "wait until it works" approach might be appropriate for an organization that prizes technological firsts, but inappropriate for a financial institution or other organization in which reliability is critical. The organization's skill base in the new technologies is another important consideration here.

  • Portability between application servers
    The later the specification versions adopted, the more problematic portability is likely to prove, as the choice of alternative servers implementing the same specification level will be limited.

Version choice will both influence and be influenced by the choice of application server.

New server and specification releases are likely during the lifecycle of large projects. It's also important to decide whether to upgrade when this happens. If the new release is a bug fix or point release, it may be a worthwhile and inexpensive undertaking. If it's a major upgrade, think carefully before committing, as there may be many implications, such as different tool requirements, new server bugs, and different support requirements. It's difficult to keep up with a moving target, and J2EE is still moving rapidly.

Important 

To minimize risk, steer clear of new, unproven technologies, even if they seem attractive. One safe policy is to target the versions of the J2SE and J2EE specifications that are supported by the mainstream application server vendors at project inception, although some projects may need to take future server release schedules into account.



Expert One-on-One J2EE Design and Development
Microsoft Office PowerPoint 2007 On Demand
ISBN: B0085SG5O4
EAN: 2147483647
Year: 2005
Pages: 183

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net