I'm working on an ejb project and I need to define a set of constants that I can use in the whole of my project so I create an interface that hold the set of my constants my question is there a better way in to define constants in web project ?
this an exemple of my constant interface :
public interface ejbConstant {
final String CONST23= "AB23";
final String CONST24= "AB24";
// ..........
}
Thank you for your suggestion