|
|
Automation for the people: Asserting architectural soundness
|
Last Update 2007/7/12 11:23
|
Category
Programming
Java
:
Programming
Tools
:
Approaches, Process, Methods
Software Architecture
|
Description
Is your software architecture what you think it is? The designs we communicate to each other aren't always what we expect when it comes to source code. Paul Duvall returns from his hiatus in this installment of Automation for the people to demonstrate how you can discover architectural deviations by writing tests using JUnit, JDepend, and Ant to discover problems proactively instead of long after the fact. Of the many software development projects I've worked on and observed, one thing is almost a constant: The architecture you think you have is often different than what you actually have. Analyzing code metric reports, like those created by tools such as JDepend (see Resources), can be effective in determining if your code adheres to an established architecture. Some teams reverse-engineer their code into UML diagrams for the same effect, and others even use an IDE that generates these same artifacts while coding -- real-time reverse-engineering. Yet, all of these approaches are still reactive. You must manually review and analyze a report or diagram to determine an architectural violation, which in some cases could be long after the fact.
|
|
Hits: 15
|
Basic Java Persistence API Best Practices
|
Last Update 2008/10/1 14:47
|
Category
Programming
Java
|
Description
The Java Persistence API (JPA), which is part of the Enterprise JavaBeans (EJB) 3.0 spec and is now the standard API for persistence and object/relational mapping for the Java EE platform, provides several advantages to Java developers for data-binding purposes. First, it provides a common API for persistence in both the standard and enterprise Java worlds. Second, the JPA provides a standard API that can be used for multiple different data stores. Third, JPA provides object-relational mapping technology that can be applied in the same manner to these various contexts (standard Java, enterprise Java, and various databases). This article provides an overview of how to fully enjoy these advantages of the Java Persistence API.
|
|
Hits: 34
|
|
Software Development Expertise
|
Software Development Jobs
|