I've heard such objects called "Business Delegates". This is the name of a
pattern in the Core J2EE Patterns with the intent of decoupling the
presentation tier clients and the business services that they require. It is
helpful in hiding the underlying complexity of the service implementation
and provides a point of change if it should become necessary to alter that
implementation (as in changing from JDBC to JDO to EJB for persistence). I
suppose you could use the suffix "Delegate" in this case.
http://developer.java.sun.com/developer/restricted/patterns/BusinessDelegate
.html
My team is designing using the Command pattern as one of our architecture
staples. Command is similar to Business Delegate but with more structure to
the implementation and, for us, implications with respect to network traffic
and transactional context. A command is a simple java bean class with gets,
sets, and an execute method that contains the business logic. We suffix all
such objects with "Cmd" for brevity. A description of the pattern and its
usage can be found here:
http://www-106.ibm.com/developerworks/ibm/library/i-extreme13/
Best regards,
Jim Cakalic
> -----Original Message-----
> From: Adam Hardy [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 12, 2002 6:35 AM
> To: [EMAIL PROTECTED]
> Subject: What do you call them beans?
>
>
> Hi,
>
> just a quick question. I want to have a set of classes that
> do all the operations on my data classes. What do you call
> them in Struts-speak?
>
> The Action classes will call them to take care of the
> updates, deletes, selects and stuff, and they'll return a
> data class or collection of data classes.
>
> I was thinking of calling them all with the suffix 'Man' for
> Manager but that's kind of Microsoft-oriented, which I'm
> trying to get away from.
>
> Thanks
> Adam
>
>
> Find the best deals on the web at AltaVista Shopping!
> http://www.shopping.altavista.com
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>