i'm not a COM+ guy but doesn't this have a lot to do with COM+ objects being
stateless. when you call a method on COM+ object, that object is activated
(created or fetched from the pool), run, and then deactivated (destroyed or
returned to the pool). In the EJB's more stateful model this restriction is
unworkable, but in the COM+ stateless model it's less of an issue. They
could have done it but probably spent more time doing other stuff...
cleve
> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Lewis
> Sent: 13 October 1999 14:10
> To: [EMAIL PROTECTED]
> Subject: Re: Tx settings per method: necessary???
>
>
> Rickard �berg wrote:
>
> > 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?
>
> I would agree that this would be limiting.
>
> We almost always have transactional and non transactional methods
> on a given
> session or entity bean. In sessions, writers are marked _required_, and
> readers are marked _supports_. In entities, writers get _mandatory_, and
> readers get _supports_.
>
> There may be a few cases where we just mark it at the bean level
> and leave it,
> but I can't think of any right now.
>
> -Kevin
>
> ==================================================================
> =========
> 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".