Hi ,
 We use events to shear the unwanted load from service engine. The additional 
tasks are performs in events such as validation checking etc. 
There are main four difference between event and services that are: 
1. Service tack map as an input and gives map as output, while events tack map 
as input and gives string as output .
2. Session related tasks are performed in events .
3.We can call a service from an event, but we not call any event from service .
4.We use services in outer world while, we not use uses the events that is 
events are application specific.

Regards ,
Shrikant Jaiswal
Enterprise Software Developer 
HotWax Media 
[email protected]

________________________________
 From: Brajesh Patel <[email protected]>
To: [email protected] 
Sent: Monday, February 27, 2012 10:55 AM
Subject: Re: different between service and event
 
hi Popo,

Major difference between service and event is that service perform
transaction rollback if any error occur at the time of transaction but in
event not.

Thanks

On Sun, Feb 26, 2012 at 7:53 PM, Budianto Lie <[email protected]> wrote:

> Hello,
> What's the difference between service and event ?
> When to used them?
>
> Thanks,
> popo
>



-- 
Thanks
Brajesh Patel

Salmon Software India Pvt. Ltd
Cell:- +91 8750709907

Reply via email to