By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,847 Members | 2,296 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,847 IT Pros & Developers. It's quick & easy.

n-tier application

P: n/a
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
Nov 20 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
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
"Venkat Venkataramanan" <th****@hotmail.com> wrote in message
news:b3****************************@phx.gbl...
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

Nov 20 '05 #2

P: n/a
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" <th****@hotmail.com>
| Sender: "Venkat Venkataramanan" <th****@hotmail.com>
| References: <b3****************************@phx.gbl>
<#1*************@TK2MSFTNGP10.phx.gbl>
| Subject: Re: n-tier application
| Date: Tue, 23 Sep 2003 06:38:26 -0700
| Lines: 71
| Message-ID: <07****************************@phx.gbl>
| 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
| >
| >
| >"Venkat Venkataramanan" <th****@hotmail.com> wrote in
| message
| >news:b3****************************@phx.gbl...
| >> 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
| >
| >
| >.
| >
|

Nov 20 '05 #3

P: n/a
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/de...et04232002.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
|

Nov 20 '05 #4

P: n/a
"solex" <so***@nowhere.com> wrote in
news:#1*************@TK2MSFTNGP10.phx.gbl:

I never heard of "Active Server."


He means ActiveX Servers which are ActiveX.EXE's

Nov 20 '05 #5

P: n/a
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
-----Original Message-----
Venkat,

I am having trouble seeing your response. DotNet does not negate COM+, youcan write DotNet components that use the COM+ framework. I'm not certainbut I believe that MS is working on a DotNet replacement for COM+. Formore details on COM+ and DotNet check the article at the following linkhttp://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
|

.

Nov 20 '05 #6

P: n/a
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+, youcan write DotNet components that use the COM+ framework. I'm not certainbut I believe that MS is working on a DotNet replacement for COM+. Formore details on COM+ and DotNet check the article at the following linkhttp://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
|

.

Nov 20 '05 #7

P: n/a
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" <th****@hotmail.com>
| Sender: "Venkat Venkataramanan" <th****@hotmail.com>
| References: <b3****************************@phx.gbl>
<#1*************@TK2MSFTNGP10.phx.gbl>
<07****************************@phx.gbl>
<DZ**************@cpmsftngxa06.phx.gbl>
<#q*************@TK2MSFTNGP11.phx.gbl>
| Subject: Re: n-tier application
| Date: Tue, 23 Sep 2003 14:37:53 -0700
| Lines: 49
| Message-ID: <0a****************************@phx.gbl>
| 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
| >> |
| >
| >
| >.
| >
|

Nov 20 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.