473,407 Members | 2,315 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,407 software developers and data experts.

ServiceConfig class for utilizing COM+ services

RJN
Hi

In my application architecture, the business logic classes talk to the
data access classes. The business logic classes might also talk to other
business logic classes. The business logic classes are not aware of
handling transactions, handling connection etc. They are done by data
access classes.

Eg.,

The code in a typical business logic class looks like this.
Public Function CreateEmployee()
Dim oEmpDL as new EmpDL
EmpID = oEmpDL.InsertEmployee(employee object)
Dim oAddress as new AddressDL
oAddress.InsertAddress(EmpID, Addressobject)
End Function

The InsertEmployee and InsertAddress methods open and close the
connection. The problem with this appproach is handling transactions. I
cannot use ADO.Net transactions. One way is to use COM+ transactions and
inherit the data access components from ServicedComponnet class. But
this has some overhead of having strong names and registering the dlls
in com+ services.

I came across an article on ServiceConfig class
(http://www.15seconds.com/issue/030930.htm) which provides COM+ services
without the need of registering dlls. I could not see more information
on this class on MSDN. Is there any draw back on using this. Has anybody
used this on a production environment? My another requirement is data
will be in multiple databases and hence there is a need for distributed
transaction. Any help/suggestion is appreciated.

Thanks

rjn


*** Sent via Developersdex http://www.developersdex.com ***
Nov 21 '05 #1
0 1319

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Benne Smith | last post by:
hi all, i have a webservice with some public classes in it. These classes are visible from my proxy class, generated from wsdl.exe. The problem is, that when i look in the generated proxy class,...
5
by: Mahesh Devjibhai Dhola | last post by:
Hi All, I want to make a custom class in c#, which extends System.Xml.XmlNode class of BCL. Now in custom class, I have implement abstract methods of XmlNode class also. Now when I am trying to...
1
by: Wade Wegner | last post by:
Hello, Using the MailMessage class (or any other ASP.NET SMTP classes), I would like to programmatically request a read receipt. Is this possible? I have found an article that talked about a...
5
by: Bill Dodd | last post by:
Oh dear, Microsoft. Please if we need to contact you for bad content in your books. Pease make it easy, I have been sent to the same webpage at least 5 times through different directions.....
0
by: RJN | last post by:
Hi Sorry for the repeated posting. This is about using ServiceConfig class for utilizing COM+ servcies. In my application architecture, the business logic classes talk to the data access...
0
by: RJN | last post by:
Hi My application needs component level transactions and across database transactions. .Net provides 2 classes ServiceDomain/ServiceConfig for using component services. This is supported in...
0
by: RJN | last post by:
Hi I'm using ServiceDomain/ServiceConfig for handling transactions. This worked fine in Windows 2003 server as webserver and database server in another Windows 2003 server. In my client's place,...
0
by: Frank Rizzo | last post by:
Almost a year ago, someone asked the question below and I am running into the same problem: I have two web services (code below). If I have only one webservice in my disco file it works, it...
16
by: tshad | last post by:
This is a little complicated to explain but I have some web services on a machine that work great. The problem is that I have run into a situation where I need to set up my program to access one...
1
by: Jon Ebersole | last post by:
I am developing a webservice and a windows application that talk to each other. They are using a standard VB class library in the background. I am having problems understanding why I can't sync my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.