Access and Feeds

Java Frameworks: Simplified Development, but are there Risks?

By Dick Weisinger

Improper use of programming languages and their associated frameworks can lead to security issues in applications.

A report from CAST Research Labs called CRASH  (CAST Research on Application Software Health) compared Java open-source frameworks and tried to identify and rank them based on their reliability and security.

Jay Sapiddi, vice president of CAST Research Labs, said that “CIOs can no longer afford to be in the dark about their IT team’s choice of programming language and tools, because those decisions have a material impact on the business…  IT leaders should double check their choice of framework, how they mix languages, and how they enforce architectural integrity. Frameworks boost developer productivity, but they can also heighten risk and reduce quality.”

The report found that “a large majority of applications analyzed had some level of misconfiguration, indicating the need for better training or to simplify the use of frameworks. The research also found that application quality is affected when organizations mix multiple programming languages in a single system.”

The report found that:

  • Java applications built with Hibernate had the highest quality score
  • Java applications built with Struts had the lowest quality score
  • Applications not using any framework had a wide variance of quality scores, but those applications using only JEE scored highest
  • Combining Java with other languages like C and C++ typically lowers quality scores

But is Java itself the problem?  And is this kind of one-to-one comparison of frameworks really fair?  Hibernate and Struts, for example, are frameworks which solve very different problems.

The deficiency being highlighted by the report is more with the way code is architected, developed, and configured.  Not to focus only on Java, the report found that “C and C++, which are used widely in the finance sector, are harder to program, have more scope for mistakes and are of lower quality.”

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Leave a Reply

Your email address will not be published. Required fields are marked *

*