A Techno Blog, mainly about Java

links for 2006-05-31

May 30, 2006 Posted by | Uncategorized | Leave a comment


I couple months ago I heard the podcast with Gavin King about Seam. I came across this blog posting talking about Seam. I do see alot more people using EJBs than what was done in the past now that with JPA and IoC all in one. I do not see Spring going away though.

May 28, 2006 Posted by | Hibernate & ORM, IoC, Spring | Leave a comment

links for 2006-05-26

May 25, 2006 Posted by | Uncategorized | Leave a comment

links for 2006-05-25

May 24, 2006 Posted by | Uncategorized | Leave a comment

links for 2006-05-24

May 23, 2006 Posted by | Uncategorized | Leave a comment




7.0 API Java DOC

Create Catalogs

Catologs and Products

Catologs, Categories, Skus


er diags

Repository Guide

Repository API

Repository – data store.
Represents a collection of RepositoryItems. the interface

MutableRepository – The interface defines functions for four operations: creating, adding, updating, and removing repository items.

RepositoryItem : like a JavaBean that is similar to a row in a table that is made up of properties. Each repository item must have an identifier, which is called a repository ID.

RepositoryItem that can be updated as specified by the interface

RepositoryItemDescriptor –  Each item type is described by a Repository item descriptor (also called a RepositoryView) interface . Gives a name to the type, and also describes the properties for that type.

ItemDescriptorImpl – implements RepositoryItemDescriptor

atgrepositorypropertieschanged : When a repository item is modified, its item descriptor broadcasts locally a PropertiesChangedEvent. In addition to its type, a PropertiesChangedEvent contains the following:- A Map in which the keys are RepositoryPropertyDescriptors and the values are the new property values.- The item that is changed.- The repository ID of the item that is changed.- The item that is changed.-The item descriptor of the item that is changed. If you have a component that you want to be notified when repository item properties change, it can implement the atg.repository.PropertiesChangedListener interface. You can add your PropertiesChangedListener implementation to the atg.repository.ItemDescriptorImpl returned by the repository.getItemDescriptor() method, using the method ItemDescriptorImpl.addPropertiesChangedListener.


Property files in ATG

Generic Service

ATG Mocks

– storage, personalization, biz logic, jsps references component props
– data and data access
– attributes about individual visiting a web site

– based on profiles. applying tagged content
– sequence events over liftetime (multiuser) , and applicable actions taken (email or personalized content)

DAF- Dynamo App Framework
DAS – Dyname App Server
DPS – Dynamo Personalization Server
DSS- Dynamo Scenario Server


<%@ taglib uri="; prefix="dsp" %>
<%@ taglib uri="; prefix="dspel" %>

SQL Repository
– Java view of elements in database

Repository Item
– repositoryId
– zero or more properties specified by item descriptor

Item Descriptor
– Logical (Repository Item) to Physical (Tables)

Item Type ~ Item Descriptor

– Generic SQL Adapter

May 23, 2006 Posted by | Web Design | Leave a comment

Official First Day

online sessions
JavaOne begins by Matt Raible
Sporar on Day one

Burnette [1] [2] [3] [4] [5] [6]

Post in Links

Debian News

Portal Open Source


May 17, 2006 Posted by | Uncategorized | Leave a comment

Day 1 Blogs

The Aquarium NetBeans Day Roundup

Why Not?


More Netbeans


May 15, 2006 Posted by | J2EE | Leave a comment

A Protocol

WAP  [wiki]


Comparison to SMS

WAP School is in session.

May 15, 2006 Posted by | Mobile | Leave a comment

Java One 2006

Java One is early this year. Last year  it was in June.

Here is a rundown of some of the blogs I will be following.

Bruce Snyder
Inside Scoop

May 15, 2006 Posted by | J2EE | Leave a comment


User Agent Switcher Extension– The typical usage is to allow access to sites that
        restrict access based on the type of browser

WML Browser Extension

May 3, 2006 Posted by | SW Tools | Leave a comment

mock objects

I am again looking at mock objects
Mock Objects [pdf]

There are choices like mockobjects , easymock, jmock.


Version 1.2 Docs w API

[Examples ]

mvn clover:clover

Here is an easymock like example:

public class MyClass extends
    private FirstObject       theObject;

    public  SecondObject createWorkItem(String name)  {
        SecondObject data = getTheObject().createObject(MyConstants.FIRSTVALUE);
        data.setPropertyValue(MyConstants.NAME, name);
        return data;
   public FirstObject getTheObject() {
        return theObject;
    public void setTheObject(FirstObject theObject) {
        this.theObject = theObject;

public class ExampleTest extends TestCase {

    private MyClass classUnderTest;

    private MockControl controlFirstObject;
    private FirstObject mockFirstObject;

   private MockControl controlSecondObject;
   private FirstObject mockSecondObject;
    classUnderTest = new MyClass();

    controlFirstObject = MockClassControl.createControl(FirstObject.class);
    mockFirstObject = (FirstObject) controlFirstObject.getMock();

   controlSecondObject = MockClassControl.createControl(SecondObject.class);
   mockSecondObject = (SecondObject) controlSecondObject.getMock();

    mockSecondObject.setPropertyValue(MyConstants.NAME, "name");


May 1, 2006 Posted by | SW Tools | Leave a comment