In chapter 4 of MZ's study guide, he mentions the following-
A Web service endpoint interface must conform to the rules of a JAX-RPC service definition interface: �It MUST NOT have constant declarations, such as public final static.
What is the logic behind this?
In session beans, is there a requirement that we should not declare constants using public static final? I understand that static final should not be used for ejbCreate or for business methods, but I don't recall a rule against using constants in a bean.
posted 10 years ago
sorry, I realized it after posting the message, the rule is about the component interface, not the bean.
Anyway, still curious about why we shouldn't use constant declarations in the interface..