659401 members! Sign up to stay informed.

Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts

News News News Messages: 5 Messages: 5 Messages: 5 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

Architecture Rules 2.1.0 released

Posted by: mike nereson on July 05, 2008 DIGG
Introduction to Architecture Rules

Assert Your Architecture! with this open source java library. Architecture Rules leverages an xml configuration file and optional programmatic configuration to assert your code's architecture via unit tests or ant tasks. This test is able to assert that specific packages do not depend on others and is able to check for and report on cyclic dependencies among your project's packages and classes. This project wraps a industry accepted JDepend to simplify the process of maintaining a solid software architecture.

2.1.0 Release

Architecture Rules announces today that version 2.1.0 is released. This was a fun release for two reasons: the new features, and the timing of the release.

Features

This was a major release in that it finally allows the users to define packages with wildcards. We’ve had a handful of users asking for this functionality for a while. We thank them for sticking with us despite having to ask us for this feature a few times. Read about how we implemented wildcards, how to use them, and some open issues with them on our previous post If You’re Feelin’ like a Pimp go on Brush your Asterisk* Off.

We added method chaining to the domain classes to improve the feel of programmatic configuration. We talk about this change when we introduced the development goals for 2.1.0 and we talked in depth about method chaining when we started researching weather we should support it or not in our post Configuration Method Chaining.
We also made some positive changes to the project’s exceptions. We have a lot of exceptions for reporting different issues with architecture rules configuration and with the project that the tool is inspecting. We added some references to the packages that cuase the exception to be thrown, and we tied all of the exceptions together under one higher level exception, the ArchitectureRulesException.

Release Date

Architecture Rules 2.1.0 is officially released on Friday, July 4th, 2008. This is a great date for a milestone release not because it is an American national holiday, but because it is one year from the day that development started on the project just about to the day. The first release, 1.0, was made just a couple weeks after development started, on July 17th, 2007. So happy anniversary Architecture Rules. With wildcards, a new domain name, and the upcoming maven 2 plugin, this next year is going to be bigger than the last.

2.1.0

For a complete list of the changes, check out the 2.1.0 release/download page. You can get the update by downloading the new jar, or by updating your pom.xml to version 2.1.0.

This post is from the author's blog http://72miles.com/blog/posts/architecture-rules-210-released/

Threaded replies

·  Architecture Rules 2.1.0 released by mike nereson on Sat Jul 05 00:19:59 EDT 2008
  ·  JUnit 4 by Larry Singer on Tue Jul 08 00:42:27 EDT 2008
    ·  Do the wildcards work? by Vikas Hazrati on Wed Jul 09 07:06:10 EDT 2008
      ·  Huh? by Vikas Hazrati on Thu Jul 10 06:32:08 EDT 2008
        ·  Sorry for the late response. by mike nereson on Thu Jul 10 13:46:29 EDT 2008
  ·  2.1.1 release - wildcards fixed by mike nereson on Thu Jul 10 22:41:38 EDT 2008
  Message #262058 Post reply Post reply Post reply Go to top Go to top Go to top

JUnit 4

Posted by: Larry Singer on July 08, 2008 in response to Message #260615
Any chance of JUnit4 support?

  Message #262460 Post reply Post reply Post reply Go to top Go to top Go to top

Do the wildcards work?

Posted by: Vikas Hazrati on July 09, 2008 in response to Message #262058
As soon as I add a wildcard instead of the complete package path, all the tests pass where are there are violations.
If I put the complete package paths it works as expected.

  Message #262677 Post reply Post reply Post reply Go to top Go to top Go to top

Huh?

Posted by: Vikas Hazrati on July 10, 2008 in response to Message #262460
I added the wildcards issue on their site too but no-one responds :(

  Message #262712 Post reply Post reply Post reply Go to top Go to top Go to top

Sorry for the late response.

Posted by: mike nereson on July 10, 2008 in response to Message #262677
There is a bug that has been reported. When comparing packages when wildcards are used, the comparison fails because jpackage.equals() was used instead of jpackage.matches(). I will make a 2.1.1 release tonight. Sorry for the inconvenience, Vikas.

  Message #262725 Post reply Post reply Post reply Go to top Go to top Go to top

2.1.1 release - wildcards fixed

Posted by: mike nereson on July 10, 2008 in response to Message #260615
2.1.0 contained a bug that prevented wildcarded packages from being investigated. The issue is described on my blog.

I have fixed the problem thanks to some help from the community and released 2.1.1 just to fix this issue.

Thank you to every to tried out Architecture Rules for the first time this past week. I hope you will consider taking the time to pull down 2.1.1 and continue to mitigate architecture risks.

New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com

Static and Dynamic Analysis: Best Practices, New Approaches

Application development teams are increasingly turning to automation in order to improve their processes and produce higher quality software. In this webcast, Peter Varhol will describe how to use static and dynamic analysis to improve the software development process and deliver a quality application. (July 7, Tech Talk)

JSF Flex

JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags. (June 29, Article)

The Rules of SOA - A Road to a Successful SOA Implementation

In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project. (June 23, Tech Talk)

Ari Zilka Talks About Terracotta 3.1

Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now. (June 15, Tech Talk)

Enterprise Application Integration, and Spring

In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements. (June 15, Tech Talk)

Google Web Toolkit: An Introduction

In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls. (June 4, Tech Talk)

Just Enough Early Architecture to Guide Development

Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable. (May 28, Tech Talk)

Productive Programmer: On the Lam from the Furniture Police

This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work. (May 26, Tech Talk)

Auto-Scaling Your Existing Web Application

Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers. (May 21, Tech Talk)

Automating Hibernate Mapping and Queries For Java Web Development

Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application. (May 19, Article)

Auto-Scaling Your Existing Web Application

In this session Nati Shalom demonstrates how to take a standard Java EE web application and scale it out or down dynamically without changes to the application code. Seeing as most web applications are over-provisioned to meet infrequent peak loads, this is a dramatic change because it enables growing your application as needed, when needed, without paying for unutilized resources. (May 19, Tech Talk)

Remote Lazy Loading in Hibernate

Lazy loading means fetching and loading the data, only when it is needed, from a persistent storage like a database. Premkumar Rajendran describes how to implement a lazy loading solution within Hibernate by extending the Hibernate framework. (May 12, Article)

What is the Asynchronous Web, and How is it Revolutionary?

The concept of the Asynchronous Web can revolutionize web applications, but is Java EE positioned to support it? In this two-part article, the authors delve into various aspects of the Asynchronous Web in an effort to scope the problem domain, and then analyze how the Java EE technology stack can support it. (April 28, Article)

EJB 3.1 - A Significant Step Towards Maturity

Paulo Moreira describes the EJB 3.1 specification and how it can make a difference in developing server-side Java applications. (April 21, Article)

Introducing Java PureFaces: A New JSF Framework

Java PureFaces is a layer on top of JSF that simplifies implementation. Written by Matt Pickell and Ariel Raz, Java PureFaces potentially offers a new approach to building the web tier of applications. (April 14, Article)

Free Book: Jakarta-Struts Live

Download the entire book of Jakarta-Struts Live and learn about Struts MVC, Tiles, the Validator, DynaActionForms, plug-ins, internationalization, and more.
(Book PDF Download)

Application Server Matrix

The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
Java Solutions
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map