Sunday, July 17, 2005

How to handle logging in portlets?

There are several ways to go about this and one can choose the approach according to ones taste and organizational standards.

At high level below are some of the logging options.

1. Good old System.out but use this only during initial development phase. Plan on converting this to some logging framework as soon as possible. You can either do global replace all or use a free eclipse plugin, log4e, to convert to log4j statements.

2. Jakarta Log4j which seems to be the industry standard.

3. JDK 1.4 logging apis.

4. Simple Log from java.net

5. Websphere logging apis which is my preference.

There must be several more open source, vendor propritery, and in-house developed logging framework.

I will continue with this article with my experience on using log4j, system.out and websphere apis as soon as i collect my thoughts on this.

Wednesday, July 06, 2005

top 10 architecture books

I had initially added this list based on an article in software development journal for my note. Since than based on a feedback I have extended the list. Clicking the link takes to amazon's web site.

  1. Agile Software Development with SCRUM (Paperback)by Ken Schwaber, Mike Beedle

  2. Software Requirements, Second Edition (Paperback) by Karl E. Wiegers

  3. The Mythical Man-Month: Essays on Software Engineering, 20th Anniversary Edition (Paperback) by Frederick P. Brooks

  4. Software Factories: Assembling Applications with Patterns, Models, Frameworks, and Tools (Paperback) by Jack Greenfield, Keith Short, Steve Cook, Stuart Kent, John Crupi
  5. Domain-Driven Design: Tackling Complexity in the Heart of Software by Eric Evans (Hardcover)

  6. Beyond Software Architecture: Creating and Sustaining Winning Solutions (Paperback) by Luke Hohmann
  7. Agile Software Development, Principles, Patterns, and Practices (Hardcover) by Robert C. Martin

  8. Software Architecture Design Patterns in Java (Hardcover) by Partha Kuchana

  9. Documenting Software Architectures: Views and Beyond (Hardcover) by Paul Clements, Felix Bachmann, Len Bass, David Garlan, James Ivers, Reed Little, Robert Nord, Judith Stafford
  10. Pattern-Oriented Software Architecture, Volume 1: A System of Patterns (Hardcover) by Frank Buschmann, Regine Meunier, Hans Rohnert, Peter Sommerlad, Michael Stal, Peter Sommerlad, Michael Stal

  11. Design Patterns by Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides

  12. Refactoring: Improving the Design of Existing Code by Martin Fowler, Kent Beck, John Brant, William Opdyke, Don Roberts
  13. Patterns of Enterprise Application Architecture by Martin Fowler