MTS Component Design Question 
Author Message
 MTS Component Design Question

I'm currently developing components for an ASP application to run in MTS.  I
have a basic object model that has organized the the functionality required
by the app into separate interfaces; for example, a DocManagement class, a
ProfileInfo class, etc.

In my past development efforts (in which I've been working alone), I've been
content to gather the classes into a single DLL.  However, in my current
project I'm working with a team of developers and I'm considering the
benefits of separating these logical interfaces into separate DLLs that I'll
install as a single MTS package.  I'm further considering moving my Database
access interface into its own DLL that I'll dynamically link to the MTS
DLLs. My goal is to make the entire architecture more modular and easier to
manage, update and document -- without sacrificing performance.

Again, my past practice has been to keep everything together in a single
component.  Before going forward with this new approach, I'd appreciate
hearing from anyone who has been down this road or has advice about the
advantages/disavantages of this approach.

Thanks,

P. Bernhardt



Tue, 22 Oct 2002 03:00:00 GMT  
 MTS Component Design Question
For multiple developers I think this makes sense.

I have done this in the past and it works well.

try to model your app in such a manner as to minimize the number of objects
you have to instantiate.  This tends to be extremely costly !

I have seen many people attempt to be really Object Oriented Purists with
their design and due to that, their app performed like crud and couldn't
scale for beans.

You also will want to break up your classes into classes that need a
transaction, and those that don't.

--
Cheers,

Greg Jackson MCSD, MCT
Sr. Software Engineer
STEP Technology
PDX, OR
http://www.steptech.com

Quote:
> I'm currently developing components for an ASP application to run in MTS.
I
> have a basic object model that has organized the the functionality
required
> by the app into separate interfaces; for example, a DocManagement class, a
> ProfileInfo class, etc.

> In my past development efforts (in which I've been working alone), I've
been
> content to gather the classes into a single DLL.  However, in my current
> project I'm working with a team of developers and I'm considering the
> benefits of separating these logical interfaces into separate DLLs that
I'll
> install as a single MTS package.  I'm further considering moving my
Database
> access interface into its own DLL that I'll dynamically link to the MTS
> DLLs. My goal is to make the entire architecture more modular and easier
to
> manage, update and document -- without sacrificing performance.

> Again, my past practice has been to keep everything together in a single
> component.  Before going forward with this new approach, I'd appreciate
> hearing from anyone who has been down this road or has advice about the
> advantages/disavantages of this approach.

> Thanks,

> P. Bernhardt




Tue, 22 Oct 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Question about MTS components design

2. MTS Component Design

3. Design Question: Call .dll from SQL Server VS MTS

4. Design Question: Calling .dll from SQL Server VS MTS

5. MTS component returning a recordset question

6. Newbie question on creating MTS component

7. Question about serialized database reads under MTS COM components

8. CreateInstance Question within an MTS component

9. question about designing stateless components...

10. VB5 and CR Report Design Component 6 Question

11. MTS component install & component registry

12. multi-tierd design and MTS

 

 
Powered by phpBB® Forum Software