Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion AOP and DI
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Brian Kotek  
View profile  
 More options Jan 22 2008, 12:37 pm
From: "Brian Kotek" <brian...@gmail.com>
Date: Tue, 22 Jan 2008 12:37:21 -0500
Local: Tues, Jan 22 2008 12:37 pm
Subject: Re: [coldspring-users] Re: AOP and DI

On Jan 22, 2008 9:02 AM, Tom Chiverton <tom.chiver...@gmail.com> wrote:

> To be clear:
> By 'Manager' I mean a Bean that is not called by the end-user
> application (CFML page or Flex RemoteObject).
> 'Services' wrap Managers and do things like converting argument/result
> types and implementing secutiry.

Yeah I think here you may want to reconsider this definition, because I
beleive that you are defining a Manager in a very different way than most
people would. Managers and Services are used interchangeably as a
description of the interface to the Model. I like the term "service" because
of the prevalence of the "service-oriented architecture" idea. In that
context, most people would understand what a Service is supposed to do
(encapsulate and provide an interface to the Model). It sounds like you are
using the term "manager" to describe your Business Objects/Domain Objects.
If I'm understanding you correctly and this is indeed what you mean, I think
you're going to encounter a lot of confusion when trying to communicate this
to other people. Am I misunderstanding you on this?

> If I call barService.foo(), I wouldn't want those (expensive)
> conversions etc. done multiple times, so if the barManager needs to
> use something from fooManager, it uses the Manager, not the Service.

This might be a totally separate discussion. I suppose it depends on whether
the Service is doing other things (Logging, transaction management, etc.)
that need to be maintained even for an internal method call.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.