TechnoBuzz

A Techno Blog, mainly about Java

Agile Software Process

AMIS on Deliver valuable software: “Other posts about the AGILE Principles soon to come:
1. Our highest priority is to satisfy the customer through early and continuous delivery of valuable software. (This one).
2. Welcome changing requirements, even late in development. Agile processes harness change for the customer’s competitive advantage.
3. Deliver working software frequently, from a couple of weeks to a couple of months, with a preference to the shorter timescale.
4. Business people and developers must work together daily throughout the project.
5. Build projects around motivated individuals. Give them the environment and support they need, and trust them to get the job done.
6. The most efficient and effective method of conveying information to and within a development team is face-to-face conversation.
7. Working software is the primary measure of progress.
8. Agile processes promote sustainable development. The sponsors, developers, and users should be able to maintain a constant pace indefinitely.
9. Continuous attention to technical excellence and good design enhances agility.
10. Simplicity–the art of maximizing the amount of work not done–is essential.
11. The best architectures, requirements, and designs emerge from self-organizing teams.
12. At regular intervals, the team reflects on how to become more effective, then tunes and adjusts its behavior accordingly.

Forget those fancy tools, and try just enough information in requirement gathering.

June 8, 2007 Posted by | Patterns & UML, SW Tools, Web Design | Leave a comment

I Like it like this

I come from a background of you design first and coding should be the easier effort. But, its hard to design unless you understand your requirements. Use Cases

January 5, 2006 Posted by | Patterns & UML | Leave a comment

vico.org

Link: patterns.

August 18, 2005 Posted by | Patterns & UML | Leave a comment

UML book

a coworker mentioned this was a good book for UML

June 24, 2005 Posted by | Patterns & UML | Leave a comment

Singleton Pitfalls

The singleton pattern [uml] [GOF reference]

Simply Singleton: The Singleton pattern is one of the simplest design patterns, but for Java developers, it’s full of pitfalls

The Single Java Object  – A singleton is an class that can be instantiated once, and only once. This is a fairly unique property, but useful in a wide range of object designs.

The double-checked locking idiom – be used with the Singleton creation pattern to limit how much code is synchronized. However, it is not guaranteed to work. Instead of failing consistently, it will fail sporadically.

When to use singletons:

  • Will every application use this class exactly the same way? (exactly is the key word)
  • Will every application ever need only one instance of this class? (ever and one are the key words)
  • Should the clients of this class be unaware of the application they are part of?

Lazy Instantiation

June 2, 2005 Posted by | Patterns & UML | Leave a comment

Business Delegate

At the JavaCamp site, they have a Design Patterns section. On the left hand side menu under J2EE Patterns, click on the Business Delegate pattern for an overview:

An intermediate class decouples between presentation-tier clients and business services.

On the where to use for the Business Delegate pattern, I think it says it best by indicating :

Hide the underlying implementation details of business service.

From Brett McLaughlin’s article on Business Delegate pattern, he says that its builds on the builds on the Business Interface pattern. It mentions to read up on this here as it is part of the EJB best practices series.

Other related links :

May 24, 2005 Posted by | Patterns & UML | Leave a comment

sw architecture site

Link: Software Architecture Articles.

April 6, 2005 Posted by | Patterns & UML | Leave a comment

PatternShare

Link: HomePage.

February 3, 2005 Posted by | Patterns & UML | Leave a comment

RUP

RUP Templates

Examples : [1] [2] [3]

Articles : [1]

January 12, 2005 Posted by | Patterns & UML | Leave a comment

Patterns Exchange

Patterns BOF

Some references on patterns:

December 22, 2004 Posted by | Patterns & UML | Leave a comment

The Rational Edge

Link: e-zine for the Rational Community.

December 22, 2004 Posted by | Patterns & UML | Leave a comment

Design First, Code Next

Link: Ambler.

December 17, 2004 Posted by | Patterns & UML | Leave a comment

Service Locator with JNDI

Service Locator Pattern: an intelligent connection from a presentation tier to the various remote services. The service locator is the applications central point to directory services (i.e servlet that needs access to business data). Having a single centralized locator means there is a single piece of code to modify when the directory changes.
[article]

October 17, 2004 Posted by | Patterns & UML | 1 Comment

Free UML Tools

This link talks about some options from free UML tool ranks.

October 17, 2004 Posted by | Patterns & UML | Leave a comment

Stop Promising Miracles

Wideband Delphi : “No estimation method is perfect; if it were, it would be called prediction, not estimation. However, the Wideband Delphi technique incorporates some solid estimating principles. The team approach acknowledges the value of combining multiple expert perspectives.”

[one take]

October 17, 2004 Posted by | Patterns & UML | Leave a comment

Sequence Diagram

Below is the link to a UML sequence diagram i composed using Magic Draw.

It contains the following components: Control, Entity, Boundry, and a User:

link

October 11, 2004 Posted by | Patterns & UML | Leave a comment

Properties file setting location

I had a relative path for locating my properties file. It worked fine inside of WSAD, but when you apply code into websphere, it does not know the path. So I used the tip on this page:
Dump your properties file in /WEB-INF/classes
InputStream inputStream = getClass().getResourceAsStream(“file.props”);
props.load( inputStream );
Howver, this page says it best as far as what you place in quotes for the getResourceAsStream call.

September 24, 2004 Posted by | Patterns & UML | Leave a comment

More Patterns linkage

Patterns Central

Gang of Four The authors of the DesignPatternsBook came to be known as the gang of four

related links:
Schmidt’s Tutorials]
Programming Language Technologies and Paradigms
SD Best Practices
Java Resources

Enterprise Patterns

UI Patterns

September 11, 2004 Posted by | Patterns & UML | Leave a comment

Patterns 101

Design patterns are recurring solutions to problems in object-oriented design.

[Hillside.net Patterns Home Page]

Java design patterns tutorial from IBM developer works. Note that I had to enter a user id and password to get access to the tutorial.

[Huston Patterns page]

Lucent Patterns page

SOA patterns

software class patterns

Try Java Blue Prints,
j2ee,
catalog,
session facade

Noticed the Pet store demo on this page.

August 24, 2004 Posted by | Patterns & UML | Leave a comment

MVC roles

Model (Databases, JavaBeans)
– Stores the application’s state
– Provides access to the application’s data as well as the business rules for modifying the data (accessors and business methods).
– Notifies view when state is changed

View (jsp, html)
– renders the content of the model
– access data from model and decide how to present it
– forward user input to controller

Controller (Servlets)
– defines application behavior
– it processes user input and maps them into actions to be performed by the model
– selects views to be rendered

August 23, 2004 Posted by | Patterns & UML | Leave a comment

James on C#

James Gosling interview:

EA I’m curious about your opinion of some of the other languages that in some sense overlap Java. Notably, C#.

JG They did such a job of copying Java, it’s hard to criticize them. Imitation is the sincerest form of flattery.

August 10, 2004 Posted by | Patterns & UML | Leave a comment

Borland Together

Free Community download.
The features: UML 1.4 and 2.0 modeling ,Modeling for Logical Entity Relationship diagrams , XMI import , MDL import .

July 27, 2004 Posted by | Patterns & UML | Leave a comment

Robustness Diagrams

I used the robustness diagram as a scratchpad to help my define my sequence diagram. On this web site, be sure to see slides on robustness diagrms. MagicDraw is quite a good tool.

Object Oriented Analysis and Design Using UML

July 21, 2004 Posted by | Patterns & UML | Leave a comment

UML examples

UML Quick reference

Rational

UML in nutshell author page

Together/Borland UML Page

UML resources via college class

Video store example

Ambler’s Data Modeling

Mike Godfrey’s UML page

UML with C++ example

UML with design patterns

UML telecom example

Abstract Data Model for Taxonomy

July 20, 2004 Posted by | Patterns & UML | Leave a comment

MagicDraw UML 8.0

Get the MagicDraw UML 8.0 Beta. It required me to register to get the key. Its says Customers can read the output this tool generates by using the free reader for Magic Draw.

July 20, 2004 Posted by | Patterns & UML | Leave a comment

ODBMS

Caché enables rapid Web application development, extraordinary transaction processing speed, massive scalability, and real-time queries against transactional data – with minimal maintenance requirements.

Objectivity Objectivity/DB is the most scalable, high performance, distributed object database (ODBMS).

July 17, 2004 Posted by | Patterns & UML | Leave a comment

UML fevers

The Fever is Real vs Death by UML Fever

I recently started reading UML Distilled by Fowler. The book has been updated to include info on UML 2.0

I download IBM Rational XDE Modeler 6.0

created a simple modeling project, analysis model template, design model template.

The RTP area has a Rational Users Group.

Other Modeling tools on market:
Gentleware- Poseidon
Magic Draw
Sparx – Ent Architect

Objects by design has some good UML and SW info

All the classes have stereotypes.

Use Case Diagram – requirements gathering. Use case represents the different capabilities the system provides to the client.

Sequence Diagram – can show Object Interactions, Object lifetimes during a use case, Object messaging and when used for analysis it can show overall system behavior thru class/concept interactions.

Actor – any entity that uses the system. Classes relate to other classes via associations.

What UML Is and Isn’t

Model driven Architecture (MDA)

July 12, 2004 Posted by | Patterns & UML | Leave a comment