views:

11

answers:

0

Hello,

I am using Role Based Design Methodologies for a Java Application and I deal with the following:

A class (e.g. FOO) will act a a Service Provider. That is it will accept messages from other classes and perform calculations on the provided input based on complex business logic.

Now the question is: Should I make the exposed methods of this class Static?

Is it wrong to go on and make all methods of a class static? I am trying to stick to good/recommended application design principles. The class will be stateless, in terms that there is no reason to create instances that will have different states.

Appreciate any comments, recommendations.

Note: The class does not need to implement any other 'well known patterns' just perform heavy calculations on the provided input.