ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pankaj savita <pankajsav...@gmail.com>
Subject Re: Event & Service
Date Mon, 06 Dec 2010 08:45:59 GMT
Hi Jacques,

One more point can be added...
In Service we can perform additional check for authentication. After
controller it will recheck for auth="true" in service.
But in Event we don't have this facility, Events are called directly form
the controller.

-- 
Thanks & Regards,
Pankaj Savita
Mob: +91 9890262476
Mail to: pankajsavita@gmail.com


On Sun, Dec 5, 2010 at 4:39 PM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:

> Done at
> https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-Miscellaneous
> from http://markmail.org/message/bie7fqs4f6bk6ykx
>
> Really a beautiful piece of simple collaboration
>
> Thanks guys!
>
> Jacques
>
> From: "Jacques Le Roux" <jacques.le.roux@les7arts.com>
>
>  This thread contains a pretty complete definition of event vs service. I
>> will try to put this in FAQ... some day...
>>
>> Thanks guys!
>>
>> Jacques
>>
>> From: "Bilgin Ibryam" <bibryam@gmail.com>
>>
>>> Hans Bakker wrote:
>>>
>>>> An event is specific local piece functionality normally used in one
>>>> place for one purpose and called from its location.
>>>>
>>>> A service is a piece of functionality which can be located anywhere on
>>>> the network, is most of time used in several different places and is
>>>> called by its 'name'
>>>>
>>>> Regards,
>>>> Hans
>>>>
>>>>  In addition, in case of events you have access to HttpServletRequest
>>> and HttpServletResponse obejcts and you can read/write whatever you want.
>>> In case of services, you have access only to service parameters.
>>>
>>> Bilgin
>>>
>>>
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message