n-tier application

  • Thread starter Thread starter Venkat Venkataramanan
  • Start date Start date
V

Venkat Venkataramanan

Hello:

I have a UI layer that interacts with the business layer
which interacts with the DB layer.

I have developed the business layer as a class library
that complies to a DLL that will be stored on the server.

So, every client application that is launched will have
to run an instance of the DLL that will run in the
client's memory footprint. While this may potentially
scale better from the distribution of the DLLs to use the
horsepower of the client workstations, I am running into
the risk of opening one database connection for each
application.

In the days of VB6, there were Active Servers and in-
process DLLs. How can I create an Active server look-
alike under vb.Net? This was I can run one instance of
the Active Server at the server level that can use
database connection pooling to reduce the number of open
connections.

Thanks.

Venkat
 
Venkat,

I never heard of "Active Server."

With VB.NET as in VB 6.0 your DLL's run in the same process space as your
application. Perhaps what you are referring to COM+ which is avaliable to
you in VB.NET. The COM+ tool creates Proxy Stubs which I believe run
In-process with your application.

Dan
 
Hi Venkat,

I'm currently working on this issue, and will update you as soon as I get
any progress.

If anything is unclear, please feel free to reply to the post.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

--------------------
| Content-Class: urn:content-classes:message
| From: "Venkat Venkataramanan" <[email protected]>
| Sender: "Venkat Venkataramanan" <[email protected]>
| References: <[email protected]>
<#[email protected]>
| Subject: Re: n-tier application
| Date: Tue, 23 Sep 2003 06:38:26 -0700
| Lines: 71
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Thread-Index: AcOB1/eOklOjZzMbRe2pxPdsaSRRHQ==
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Newsgroups: microsoft.public.dotnet.languages.vb
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:140520
| NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
|
| Dan:
|
| Yes, that's what I meant.
|
| My question is if any object library I build using VB.Net
| will run only in the application space.
|
| If that be the case and if only Com+ provides me with a
| Server-application and its associated functionalities
| such as object and database connection pooling, what
| prize do I pay for the COm+ bridge? Because, I remember
| that .Net negates Com+.
|
| Thanks.
|
| Venkat
|
| >-----Original Message-----
| >Venkat,
| >
| >I never heard of "Active Server."
| >
| >With VB.NET as in VB 6.0 your DLL's run in the same
| process space as your
| >application. Perhaps what you are referring to COM+
| which is avaliable to
| >you in VB.NET. The COM+ tool creates Proxy Stubs which
| I believe run
| >In-process with your application.
| >
| >Dan
| >
| >
| message
| >| >> Hello:
| >>
| >> I have a UI layer that interacts with the business
| layer
| >> which interacts with the DB layer.
| >>
| >> I have developed the business layer as a class library
| >> that complies to a DLL that will be stored on the
| server.
| >>
| >> So, every client application that is launched will have
| >> to run an instance of the DLL that will run in the
| >> client's memory footprint. While this may potentially
| >> scale better from the distribution of the DLLs to use
| the
| >> horsepower of the client workstations, I am running
| into
| >> the risk of opening one database connection for each
| >> application.
| >>
| >> In the days of VB6, there were Active Servers and in-
| >> process DLLs. How can I create an Active server look-
| >> alike under vb.Net? This was I can run one instance of
| >> the Active Server at the server level that can use
| >> database connection pooling to reduce the number of
| open
| >> connections.
| >>
| >> Thanks.
| >>
| >> Venkat
| >
| >
| >.
| >
|
 
Dan:

Let me try re-stating my understanding of .Net
architecture.

I can create class libraries that will run in the client
application space. So, even though I have n-tiers, all
the tiers will run on the client machine. This makes it
a thick client application.

The drawbacks with this approach are:

1. Heavy client machine requirements.
2. Inability to to fancy things such as Object pooling
and connection pooling. This will compromise the
scalability of the application. It may be scalable but I
have to spend a lot of money on the infrastructure.

Now, only if I can run these components on different
machines that run in those memory spaces, I am easing the
load on my client machines and doing all the fancy stuff
referred to above in 2.

In effect, what I am asking for is an application server
or a container capable of hosting these componenets and
provide all the common infrastructural requirments such
as DB connection and object pooling.

So, do I have to wait until the Com+ functionality gets
ported to the .Net platform, for these kinds of
capabilities to be available to me?

Thanks.

Venkat
 
Dan:

The link has the information I was looking for. Thanks so
much.

Venkat
 
Thanks, Dan for your reply. You provided a good link.

Venkat, if you have any further questions, please feel free to reply to
this post.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

--------------------
| Content-Class: urn:content-classes:message
| From: "Venkat Venkataramanan" <[email protected]>
| Sender: "Venkat Venkataramanan" <[email protected]>
| References: <[email protected]>
<#[email protected]>
<[email protected]>
<[email protected]>
<#[email protected]>
| Subject: Re: n-tier application
| Date: Tue, 23 Sep 2003 14:37:53 -0700
| Lines: 49
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Thread-Index: AcOCGvGRE99i/hXKQxqIprd1WgjTew==
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Newsgroups: microsoft.public.dotnet.languages.vb
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:140737
| NNTP-Posting-Host: TK2MSFTNGXA09 10.40.1.161
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
|
| Dan:
|
| The link has the information I was looking for. Thanks so
| much.
|
| Venkat
|
| >-----Original Message-----
| >Venkat,
| >
| >I am having trouble seeing your response. DotNet does
| not negate COM+, you
| >can write DotNet components that use the COM+
| framework. I'm not certain
| >but I believe that MS is working on a DotNet replacement
| for COM+. For
| >more details on COM+ and DotNet check the article at the
| following link
| >http://msdn.microsoft.com/library/default.asp?
| url=/library/en-us/dnadvnet/html/vbnet04232002.asp
| >
| >Dan
| >
| >
| >> |
| >> | Dan:
| >> |
| >> | Yes, that's what I meant.
| >> |
| >> | My question is if any object library I build using
| VB.Net
| >> | will run only in the application space.
| >> |
| >> | If that be the case and if only Com+ provides me
| with a
| >> | Server-application and its associated functionalities
| >> | such as object and database connection pooling, what
| >> | prize do I pay for the COm+ bridge? Because, I
| remember
| >> | that .Net negates Com+.
| >> |
| >> | Thanks.
| >> |
| >> | Venkat
| >> |
| >
| >
| >.
| >
|
 
Back
Top