473,320 Members | 1,979 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

n-tier application

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
7 2822
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
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
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
"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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

33
by: aa | last post by:
I am migrating to PHP from ASP where there are the Application Scope variables which are accessible from any page on a website and which are used, in particular, for hit counters. Is there a similar...
0
by: tstephan | last post by:
In the past we have used the classic nTier design with COM+, SQL Server and MFC. We are currently working on a new project with an opportunity to use .NET, ADO.NET, etc. One of the areas where I...
25
by: Stuart Hilditch | last post by:
Hi all, I am hoping that someone with some experience developing nTier apps can give me some advice here. I am writing an nTier web app that began with a Data Access Layer (DAL), Business...
5
by: Ryan Ternier | last post by:
I know how this should be done in regards to nTier, but it seems a bit inneficient, and was wondering if there's a solution that I havn't thought of yet. (I'm switching this loop to For Each Row...
1
by: Dnx | last post by:
hi i'm a very beginner of visual studio .net 2003 and aspx/vb.net i have to create a project with an architecture ntier i understand the concept but in practical, i don't know where to begin... ...
20
by: Peter Oliphant | last post by:
How does one launch multiple forms in an application? Using Photoshop as an example, this application seems to be composed of many 'disjoint' forms. Yet, they all seem somewhat 'active' in...
0
by: Jon Vaughan | last post by:
Hello, I have an NTIER Model written in VB.NET, at the moment is running as a client / server. Pushing a pulling data from the client to the server is fine and is done via webservice calls. But...
0
by: Jon Vaughan | last post by:
Hello, I have an NTIER Model written in VB.NET, at the moment is running as a client / server. Pushing a pulling data from the client to the server is fine and is done via webservice calls. But...
0
by: acnx | last post by:
I have an ntier application. I am trying to determine what is the best practice for handing errors in a datagrid. My datagrids are able to add, update and delete data. I am using a...
0
by: fra | last post by:
Ciao a tutti, è disponibile on line un esempio completo di progetto NTier da usare come base per lo sviluppo di una web application strutturata?? Intendo un esempio con gestione corretta dei vari...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.