Re: NTier Develpoment
From: Paul Glavich [MVP - ASP.NET] (glav_at_aspalliance.com-NOSPAM)
Date: 09/23/04
- Next message: arun kumar via .NET 247: "Required sqlhelper.vb file"
- Previous message: Paul Glavich [MVP - ASP.NET]: "Re: WEB Services and .NET Remoting..."
- In reply to: richlm: "Re: NTier Develpoment"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 23 Sep 2004 22:30:36 +1000
Option 3 will be hard to do as the class will typically exist in a different
application domain therefore the notification will only occurr on those
applications registeed to receive notifications within the same app domain.
So basically, 3 apps, 3 app domains, 1 copy of the data tier in each app
domain. You would need to use a common notification point (ie. register the
data tier to call a web service on each app) or a .Net remoting entry point
into each app.
The 1st 2 scenarios are probably easier but less real-time.
-- - Paul Glavich Microsoft MVP - ASP.NET "richlm" <rich_lm@h0tmai1.com> wrote in message news:ezBLjj0nEHA.536@TK2MSFTNGP11.phx.gbl... > There are several alternatives, depending largely on how "real-time" your > solution needs to be - and how much you want to avoid coupling between your > different apps. > > 1. Poll the data in the relevant tables - for example by using a timestamp > column. This is the simplest solution and works just fine in many scenarios. > > 2. SQL Server notification services. This is really targetted more towards > mobile device scenarios but it might just be useful in some client/server > scenarios. > > 3. Establish some sort of event/callback mechanism from your business tier > or from the SQL server using extended SPs and triggers. Avoid this route > unless you really do need that real-time performance, as it introduces > strong coupling between your apps and can bring in all sorts of problems > with scaleability, manageability etc. > > There are probably many other solutions...but a general advice - don't try > to re-invent stuff that SQL server can already do for you - you can save > yourself a whole load of code to write & maintain. > > Richard. > > > "Ldraw" <Ldraw@discussions.microsoft.com> wrote in message > news:C0355FA2-50A4-49F6-B616-BE3E2B94AAF6@microsoft.com... > >I have three applications that will use the services of a busines tier > >class > > to gain acces to an SQL database. If one of the applications updates the > > data > > how can I notify the other two applications that the data has been > > modified. > > What would be the best approach considering that each application is > > running > > in its own process? > >
- Next message: arun kumar via .NET 247: "Required sqlhelper.vb file"
- Previous message: Paul Glavich [MVP - ASP.NET]: "Re: WEB Services and .NET Remoting..."
- In reply to: richlm: "Re: NTier Develpoment"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading