No problem, I'm just as boring. Factory sounds good. Perhaps SatanicMill - no, sounds 
too grim.

Or CustomerButtReamer.....


On Tue, 12 March 2002, "Chappell, Simon P" wrote:

> 
> Struts actually has very little to say about the model side of your application. It 
>provides the controller and the means to extend it and provides for the use of JSPs 
>with custom tags to give you your view, but the ActionForm objects have only one foot 
>in the model world. They are really intended as parameter objects between Actions and 
>JSPs if I have understood them correctly.
> 
> I said all that to say that you can call your model objects and their helper objects 
>whatsoever you wish. Boring people like me use traditional pattern language like 
>Manager and Factory, but you can use whatever sounds good.
> 
> For example, if you have a Customer object, then you might have supporting objects 
>called CustomerManager and CustomerFactory. You might even want a CustomerPersister, 
>how about a CustomerLoader (I really like the idea of calling this a CustomerStuffer, 
>but it's early and I haven't finished my first cup of coffee! :-)
> 
> Hope this helps.
> 
> Simon
> 
> -----------------------------------------------------------------
> Simon P. Chappell                     [EMAIL PROTECTED]
> Java Programming Specialist                      www.landsend.com
> Lands' End, Inc.                                   (608) 935-4526
> 
> 
> >-----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]>

Reply via email to