473,320 Members | 1,856 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,320 software developers and data experts.

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 1544
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.microsoft.com> wrote in message
news:59**********************************@microsof t.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**************@TK2MSFTNGP09.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.microsoft.com> wrote in
message
news:59**********************************@microsof t.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
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...
4
by: JackRazz | last post by:
Is there a way to get a components parent form from within the component? Thanks - JackRazz
3
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...
1
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...
2
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...
122
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...
1
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)....
4
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...
5
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
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.