dev@glassfish.java.net

Too much use of names in v3 code

From: Sahoo <Sahoo_at_Sun.COM>
Date: Tue, 10 Mar 2009 21:06:41 +0530

I am concerned about overuse of names in our code for important
operations. I see three kinds of names being used:
1. service names used in looking up objects in environment (habitat).
2. classnames used to load classes dynamically. e.g. container name in
Sniffer
3. module names used to load modules.

First of all, they are hardly defined as constants. Secondly, there is
too much dynamism in the code. I am afraid this may lead to maintenance
issues in future.

Thanks,
Sahoo