Title: RE: Tx settings per method: necessary???

In COM(+): coclass == component.  DLL's are simply a packaging mechanism (like jars). 

This is an interesting discussion.  How do people use method level transaction attributes?  It seems to me that transactional attributes should be set at an interface (role) level.  In other words, a logically related set of operations should have the same transaction attribute.  I am wondering what sort of design wins you get with the finer grain transaction control? (other than a slight performance boost for methods that don't require transactions.  In that case, I would argue that interface inheritance would be the answer.)


Erik
--
Erik Huddleston, [EMAIL PROTECTED]
Chief Architect, eCustomers.com
Microsoft Java MVP

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 14, 1999 2:13 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Tx settings per method: necessary???
>
>
> Hi Rickard
>
> Actually in Com+ and MTS transactional attributes can be
> set at coclass level. This means that you can group methods
> by their tx-attributes to different coclasses in a single dll.
>
> -Vesa Hokkanen
>
> -----Original Message-----
> From: Rickard �berg [mailto:[EMAIL PROTECTED]]
> Sent: 13. lokakuuta 1999 15:04
> To: [EMAIL PROTECTED]
> Subject: Tx settings per method: necessary???
>
>
> Hey
>
> I think I'm going crazy. I'm currently looking into COM+, and it seems
> you can only set transactional attributes on a per component basis. In
> EJB you can set these on the method level.
>
> IMHO this is extremely limiting. So, I was wondering, does people use
> the possibility to have different tx settings on different methods in
> the same method, or do you only use them on a component level?
>
> If it is indeed a good thing to be able to set these per method, then
> the only workaround in COM+ would be to have one(1) method per
> component. Which would be completely ridiculous...
>
> Help me out here... what am I missing!?!
>
> /Rickard
>
> --
> Rickard �berg
>
> @home: +46 13 177937
> Email: [EMAIL PROTECTED]
> Homepage: http://www-und.ida.liu.se/~ricob684
>
> ==============================================================
> =============
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff EJB-INTEREST".  For general help,
> send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
> ==============================================================
> =============
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff EJB-INTEREST".  For general help,
> send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

Reply via email to