do Utility classes also have a delegate to call them?

My application is a J2EE application?and we are using delegates to call the Business objects which in turn call the DAO抯. (Struts framework)

This is the pattern for business calls.

Now my question is? If we have some common utility classes?then is there any pattern for using those classes also?

Like should we be creating a business delegate for the common utility classes like logging or so?

These classes are placed in the common util folder of our application.

[495 byte] By [varsha123a] at [2007-10-1 0:56:39]
# 1

You don't use patterns because they exist - you use them because you need the functionality.

If you think that swapping out logging is likely to happen then you need to wrap it. Jakarta commons already has a layer for that.

If you don't think that is likely to happen then don't wrap it.

jschella at 2007-7-8 1:16:31 > top of Java-index,Other Topics,Patterns & OO Design...