473,769 Members | 2,091 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ServicedComp architecture issue

Hello all:

We have a serviced comp that is called by our webservice. This component is
responsible for updating various db tables as well as formatting the results
of the client's request . This has worked very well for us over the last
two years because client requests have always been designed to be completed
async. For the first time, management wants us to offer our services in
both async and sync. Obviously this will be a problem for us since much of
our business logic is built around the async idea. An issue I'm struggling
with is how to handle the the client requests that are synchronous. We
would like to keep the formatting of the client's request results contained
within the serviced comp for a few reasons including auto retry, transaction
support, single point of update, etc...

Although I know this is not possible, it would be ideal to treat the async
calls as 'server activated' and the sync calls as 'library activated'.

When async :

IAppInterface iai =
(IAppInterface) Marshal.BindToM oniker("queue:/.....ServicedCO M");
iai.PerformInte rfaceAction(".. ...");

When sync :

ServicedCOM sc = new ServicedCOM();
string results = sc.PerformInsta nceAction(".... "); //not an interface
method

Thus results would have the client's sync response and we would still
preserve retry, transactions, etc...

Since the above is not possible, does anyone have any suggestions about how
to handle this? Some things we are considering include removing the parsing
logic from the serviced comp and only handling the db work there but we are
running into difficulty. For example, some results are shipped to the comp
complete and ready to be inserted (after being transformed) while others
arrive partial and require the comp to perform additional operations to
complete the results before formatting and inserting. These additional
operations will be hard to perform outside of the comp because we do not
control all of the additional operations (other web service calls, http
resources, etc...) and like to have the failover capability provided by the
comp. I'm hoping to get some design suggestions for how best to
refactor/redesign this process. We have total freedom since this is just in
the 'concept' stage at this point.

Any help is appreciated,

Alex


Nov 16 '05 #1
0 891

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

Similar topics

1
1882
by: developerqs | last post by:
I have developed an engine that I use for all of my clients web sites. They are all the same type of site, some use features A, B, & C. Some web sites just use features A & B. My issue is that in order for me to make a new site, I am copying the files and then adding in the design/unique look. This makes developing new features and fixing old features a huge hassle because:
0
1515
by: Fritz Bosch | last post by:
We are in the process of refactoring our GUI-based test application for radio equipment and are rewriting a significant part in Python. The new architecture will substantially be based on the model-view-controller pattern, as follows: User Input | v +-------------+ service request service request +-------------+
25
5626
by: David Noble | last post by:
We've been developing a web site using 3-tier architecture for 18 months now. There is a common layer that defines the classes - using XML schemas. The data layer acts as a wrapper to 3 databases - SQL Server, Oracle and AS400. The business layer exposes web services which communicate with the front end, ASP.Net. All 3 tiers are on different boxes. This works well. Now I am leading a team to build a winforms app. I need some advice as
0
1704
by: Natehop | last post by:
I've been attempting to design an n-tiered framework leveraging .NET's strongly typed Dataset. My Framework will serve as the foundation to several client apps from Windows applications to web sites and web services. The architecture consists of a business rules tier, a data tier, and a common tier. The common tier contains my typed Datasets while the business rules and data tiers contain functions to populate and save the common...
6
381
by: Tim | last post by:
Hello everyone. I visit this board pretty regularly but have never posted. My question is an application architecture question... so hopefully it's okay to post in the dotnet general forum. I have this project I'm proposing but want to get some opinions on a good architecture. Some of the requirements are as follows: 1. 30+ tables and 25+ lookup tables 2. Small number of records added monthly (<100) 3. Fairly complex, PCU-intensive...
2
1178
by: rashmi | last post by:
Hi All, on linux ,how can we build binaries to arm architechture platform by specifing some options in the makefile like TARGET_PATFORM=? CC=gcc
4
1284
by: Mervin Williams | last post by:
Postbacks cause a webform to re-display the page at the top. Well, I have a fairly long form and would like the page display to be re-positioned where the user clicked the button that caused the postback to occur. Is there a way to do this? Mervin Williams
0
844
by: kw | last post by:
I've developed about a dozen sites with ASP.net and never had much trouble...until now. What I wanted to do with the new web app was create a single page with a treenode collection that would dynamically load content into a placeholder. I ran into two showstoppers: 1)"The control tree into which viewstate is being loaded must match the control tree"... Meaning that you can't navigate between nodes without an
5
1331
by: Matthias S. | last post by:
Hi there, I'm wondering how the "best-practise" of seperating code into a DAL, BLL and user interface go along with the point and click website creation through data-binding in VS2003. If I databind the gridcontrol on my page against a dataview where does the business logic go? Should the logic operate on the dataview retrieved from the database? Where does the object model with my beloved CCustomer, COrder and CAccount-classes go?
0
9579
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9422
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10208
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10038
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9987
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9857
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5294
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3952
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2812
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.