I have is a constants interface with static final fields .
Each field value is a call to DAO.

For example 
interface IObjectTypeIds{
public static final int APPLICATION =ObjectDAO.get("APPLICATION");
}

Is this is a good practice ?




                
---------------------------------
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail Beta.

Reply via email to