473,662 Members | 2,581 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Inter Component interaction

Hi,

I am about to start developing an n-tier system. And was hoping to get an
insight into the best ways of doing this.
Inparticular, I want to know how I can develop classes/component to be
deployed on different servers which will interact with eachother. What is
the best mode of interaction? i.e. remoting or web services or other? If I
go ahead and deploy the layers on separate servers am I right in thinking
that scalability will increase but speed will depreciate?

Regards,
Richard
Jul 21 '05 #1
2 1568
Hi david,

At the moment I am weighing up the ads/disads of passing Datasets. As I
havent undertaken this kind of interaction b4 I was wondering how I can get
the two to communicate - Remoting , Web services or other?

I anticipate that I will use windows integrated security.
No Firewall - but what would I have to do if there was one?

cheers
Richard

"David Williams" <Da***********@ discussions.mic rosoft.com> wrote in message
news:59******** *************** ***********@mic rosoft.com...
This is a failly hard question to answer. What kind of data will you be passing back and forth? Will you be crossing a firewall? What kind of
security do you require? And I am sure that I missed a number of other
issues that need to be resolved before the question can truely be answered.
Oh, and yes, there will be a preformance hit of some kind. However, depending on the hardware and communication setup due to scaling reasons,
you may see an increase in preformance. Hard to tell.
HTH
--
David Williams, VB.NET MVP
"richard" wrote:
Hi,

I am about to start developing an n-tier system. And was hoping to get an insight into the best ways of doing this.
Inparticular, I want to know how I can develop classes/component to be
deployed on different servers which will interact with eachother. What is the best mode of interaction? i.e. remoting or web services or other? If I go ahead and deploy the layers on separate servers am I right in thinking that scalability will increase but speed will depreciate?

Regards,
Richard

Jul 21 '05 #2
Ok, let's see.

Remoting is good if your are sure that you will be on the same side of a
firewall. If a firewall is in place, then you have to either a) punch
holes in the firewall to allow the data to pass back and forth
(Sometimes quite hard to do, depending on your [or your clients] IT
department) or b) use ports that are already open for your use.
(Normally not a good idea as these are defined for other usage - IE
browsing the web.) Remoting does not require IIS installed on the
server.

Web Services are good if you are behind a firewall. Uses XML normally
wrapped in SOAP for transport. Requires IIS on the server. I believe
that they (Web Services) run under the ASPNET user, and if that is so,
then there is a number of security issues that may have to be solved to
allow file system access if that is needed.

Other means that I have used or looked at include MSMQ (message queues).
Very good if you need to insure that the data gets there, regardless
of network failures. Typically you will not want to pass a lot of data
in either direction when using MSMQ. Can be hard to set up correctly.
Does require (for the normal programmer) a slightly different approach
to the way you design your application to get the full benefits from,
but can handle hugely scalable systems when done correctly. In my
opinion is the most robust means of interprocess communications, but not
one that I use regularly due to the overhead and prelim design
requirements.

Datasets can be used if you are not carrying a lot of data. You do not
normally want to push huge amounts of data over the network for
performance reasons. Datasets are nice as they are a pre-defined
object, and often have the functionally that one wants built in.
However, in a lot of cases, they are overkill. There is a fair amount
of processing required to use Datasets. If the application(s) do not
already use them, they can add more burden than they relieve.
HTH

David

"richard" <ri******@cisco .com> wrote in message
news:Ot******** ******@TK2MSFTN GP09.phx.gbl:
Hi david,

At the moment I am weighing up the ads/disads of passing Datasets. As I
havent undertaken this kind of interaction b4 I was wondering how I can
get
the two to communicate - Remoting , Web services or other?

I anticipate that I will use windows integrated security.
No Firewall - but what would I have to do if there was one?

cheers
Richard

"David Williams" <Da***********@ discussions.mic rosoft.com> wrote in
message
news:59******** *************** ***********@mic rosoft.com...
This is a failly hard question to answer. What kind of data will you
be

passing back and forth? Will you be crossing a firewall? What kind of
security do you require? And I am sure that I missed a number of other
issues that need to be resolved before the question can truely be
answered.

Oh, and yes, there will be a preformance hit of some kind. However,

depending on the hardware and communication setup due to scaling
reasons,
you may see an increase in preformance. Hard to tell.

HTH
--
David Williams, VB.NET MVP
"richard" wrote:
Hi,

I am about to start developing an n-tier system. And was hoping to
get an insight into the best ways of doing this.
Inparticular, I want to know how I can develop classes/component to
be
deployed on different servers which will interact with eachother.
What is the best mode of interaction? i.e. remoting or web services or other?
If I go ahead and deploy the layers on separate servers am I right in thinking that scalability will increase but speed will depreciate?

Regards,
Richard


Jul 21 '05 #3

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

Similar topics

0
1755
by: Nunya D. Bidness | last post by:
If anyone is interested in testing these components goto http://www.vibrantinnovations.com/vibrantlayouttools.asp The Vibrant Layout Tools ActiveX component is a suite of tools that allow developers to create WYSWIG Layouts in a snap. The toolset allows developers to easily impliment object oriented rich visual layouts that can be saved in a structured developer defined (extension wise) file format that is similiar to MS Word and can...
4
1280
by: JackRazz | last post by:
Is there a way to get a components parent form from within the component? Thanks - JackRazz
3
3061
by: BluDog | last post by:
Hi I have a component that inherits from TreeView, my project is a standard exe. How do i get the component into the toolbox for use within the project? I find that only controls based on UserControl apear there automatically, therefore if i set the component to inherit from UserControl it will appear, then i change it back to inherit from TreeView, although it stays, as soon as i close the solition, the next
1
15568
by: Rocio | last post by:
I have a windows app. written in VB6, now we need to expose some of its classes through a web service. I am only able to expose the classes using late binding becasue that's the way the original VB6 was written. I ahve already exposed some of the original classes, and they work fine. Now, I added a new ActiveX component to the windows app (in vb6). I am able to call it by late binding from within the vb6 app. itself, and from a dummy vbs...
2
246
by: richard | last post by:
Hi, I am about to start developing an n-tier system. And was hoping to get an insight into the best ways of doing this. Inparticular, I want to know how I can develop classes/component to be deployed on different servers which will interact with eachother. What is the best mode of interaction? i.e. remoting or web services or other? If I go ahead and deploy the layers on separate servers am I right in thinking that scalability will...
122
7335
by: Edward Diener No Spam | last post by:
The definition of a component model I use below is a class which allows properties, methods, and events in a structured way which can be recognized, usually through some form of introspection outside of that class. This structured way allows visual tools to host components, and allows programmers to build applications and libraries visually in a RAD environment. The Java language has JavaBeans as its component model which allows Java...
1
1315
by: Lucy Luo | last post by:
Hi, I'd like to create a "component" for web page. It should contain menu/ buttons and will have pop up dialogs. It should also be able to access user's PC (installation of java/activeX is OK). The component will be packaged so other web programmers can easily include it in their pages. The component will be able to access and modify the information on the host page too. All the browsers need to be supported.
4
4037
by: seokbee | last post by:
Hi, I am having the this problem. Have tried the following all the steps to unregister and register the nlsxbe.dll. The problem still not resolved. Something strange is that after I reboot the system, I am able to run the code without any error. After about an hour, the code will prompt with this error again. However, after I refresh the page again, I received another error message as below: Retrieving the COM class factory for...
5
1601
by: Krice | last post by:
There is a component class inside the host class: class Host { Component *c; .... In some cases Component needs to call the host and I guess the only way is that you pass the host for it:
0
8432
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
8344
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
8764
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...
0
7367
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6186
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5654
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4180
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...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2762
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

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.