Hai All, In an EJB server side module, if there is small utility class is it advisable to write it using stateless session bean or as a normal java class. If it is a session bean the class cannot be reused anywhere else and if it is a normal java class it will not get the effeciency of Session Beans(pooling etc) but i can reuse it anywhere.
posted 9 years ago
If it is a utility class why do you need pooling? Utility classes are generally static methods / Singleton, depending on the usage.