Re: Using a Web Service for Business Logic BackEnd / Data Layer



James Crosswell <james@xxxxxxxxxxxxxx> wrote in news:OmJm5sDFIHA.4400
@TK2MSFTNGP04.phx.gbl:

If you're talking to your databases via something like nNibernate,
there's an initialization phase when setting up nHibernate where it
builds an map telling it how objects relate to database objects.

I use LLBLGen Pro ... It has no caching, so there is no object
initialization delay (besides the standard instantation delays).

If you get a chance, give LLBLGen Pro a try. It can run in 2 modes, self-
servicing and adapter.

Adapter is akin to Datasets (disconnected).

Self-Servicing can fetch data dynamically... perfect for easy access to
data as you need it (hence no map building).

Performance with the web service layer is definately slower than direct DB
calls ... but the flexability it provides I think is worth it (it basically
makes all code reusable and more importantly distributable for redundancy).
.