COM+ Implementation with the Adapter Pattern

Posts   
 
    
Devildog74
User
Posts: 719
Joined: 04-Feb-2004
# Posted on: 22-Jul-2004 17:13:21   

I know that there is no builting support for COM+ and LLBLGen Adapter objects right out of the box.

However, when using the adapter pattern, you can easily create remote objects that interact with adapter objects and provide a stateless middle tier.

Pretty much, the only reason that I use COM+ for is distributed transaction support.

In order create an object that runs under COM+ and supports distributed transactions, the object must derive from ServicedComonent, which ultimately derives from MarshalByRefObj. This implies that services components are actually using remoting as the backbone to marshal data and provide the proxy.

So the question is will my middle tier components support distributed transactions properly if they are running in COM+ and interact with DataAccessAdapters?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39752
Joined: 17-Aug-2003
# Posted on: 22-Jul-2004 17:40:21   

No, as the transaction doesn't flow through to the database.

COM+ is therefore added to adapter in the runtime upgrades currently in development simple_smile

Frans Bouma | Lead developer LLBLGen Pro
Devildog74
User
Posts: 719
Joined: 04-Feb-2004
# Posted on: 22-Jul-2004 18:39:26   

Otis wrote:

COM+ is therefore added to adapter in the runtime upgrades currently in development simple_smile

Sweet, so there is development in progress. If u need beta help I volunteer.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39752
Joined: 17-Aug-2003
# Posted on: 23-Jul-2004 10:54:28   

I hope to have a beta first week of august, so you can knock yourself out by then wink

Frans Bouma | Lead developer LLBLGen Pro