473,779 Members | 2,023 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I need help with architecture design,please.


I need help with architecture design,please:

I have a server which constantly downloading messages from the internet
and store them inside a data base.

the server have two administrators options:
one is a local windows application,and the second is a web application
The administrator can either delete messages,add new messages,and send
messages

i am new to .NET remoting,so here is my idea in general:
1.Create singleton MessagesServer remotable object which act as my server
and hosted by an exe application
2.For Windows admin application, just connect to the singleton object and
admin it
3.For the web admin application,usi ng ASP,NET pages,connect to the
MessagesServer and admin it
(I cannot install .NET components on this machine so i must use server
side code?)
My questions are:
1.Can I create in .NET something similar to COM out proc server (activex
exe),which mean that when the admin application
will create the MessagesServer, than the exe which hosting MessagesServer
will start?

2.Assuming the window admin application is local to the MessagesServer, can
i just pack the MessagesServer object
into the window admin executbale,so it will be local to the window
application.,bu t remote for the web application?

3.When using Web application,wha t is the best way to access the data
base,should I do it
using the MessagesServer, for example MessagesServer. GetMessages() as
ArrayList
or can I go directly to the data base(I guess I will have some
synchronization issues here!?)

4.Regarding locks,assuming i have one thread in the MessagesServer object
which access the data base,and than a request from the
Web application is arrived to write to the data base,can i control the
time
in which the request will return to the web application?

5.Can you point me to some articels or examples which describe a similar
problem?
The overall architecture is something similar to Exchange server/OWA i
guess.
Thanks.


Nov 18 '05 #1
3 1639
Are you that desperate that you need to post this message to this many
newsgroups?

Have a look at webservices, this ideally what you need to implement. I would
recommend it over a remoting interface since you have no control over the
web app client which makes remoting less ideal for your situation.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"Julia" <co********@012 .net.il> wrote in message
news:eh******** ******@TK2MSFTN GP09.phx.gbl...

I need help with architecture design,please:

I have a server which constantly downloading messages from the internet
and store them inside a data base.

the server have two administrators options:
one is a local windows application,and the second is a web application
The administrator can either delete messages,add new messages,and send
messages

i am new to .NET remoting,so here is my idea in general:
1.Create singleton MessagesServer remotable object which act as my
server
and hosted by an exe application
2.For Windows admin application, just connect to the singleton object and
admin it
3.For the web admin application,usi ng ASP,NET pages,connect to the
MessagesServer and admin it
(I cannot install .NET components on this machine so i must use server
side code?)
My questions are:
1.Can I create in .NET something similar to COM out proc server (activex
exe),which mean that when the admin application
will create the MessagesServer, than the exe which hosting MessagesServer
will start?

2.Assuming the window admin application is local to the
MessagesServer, can
i just pack the MessagesServer object
into the window admin executbale,so it will be local to the window
application.,bu t remote for the web application?

3.When using Web application,wha t is the best way to access the data
base,should I do it
using the MessagesServer, for example MessagesServer. GetMessages() as
ArrayList
or can I go directly to the data base(I guess I will have some
synchronization issues here!?)

4.Regarding locks,assuming i have one thread in the MessagesServer object
which access the data base,and than a request from the
Web application is arrived to write to the data base,can i control the
time
in which the request will return to the web application?

5.Can you point me to some articels or examples which describe a similar
problem?
The overall architecture is something similar to Exchange server/OWA i
guess.
Thanks.


Nov 18 '05 #2
Why? can't i call remoting object from an ASP.NET page?
The WebApp client will access the object only though a server side code.

Thanks.
"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:OH******** ******@TK2MSFTN GP15.phx.gbl...
Are you that desperate that you need to post this message to this many
newsgroups?

Have a look at webservices, this ideally what you need to implement. I would recommend it over a remoting interface since you have no control over the
web app client which makes remoting less ideal for your situation.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"Julia" <co********@012 .net.il> wrote in message
news:eh******** ******@TK2MSFTN GP09.phx.gbl...

I need help with architecture design,please:

I have a server which constantly downloading messages from the internet and store them inside a data base.

the server have two administrators options:
one is a local windows application,and the second is a web application
The administrator can either delete messages,add new messages,and send
messages

i am new to .NET remoting,so here is my idea in general:
1.Create singleton MessagesServer remotable object which act as my
server
and hosted by an exe application
2.For Windows admin application, just connect to the singleton object and admin it
3.For the web admin application,usi ng ASP,NET pages,connect to the
MessagesServer and admin it
(I cannot install .NET components on this machine so i must use server
side code?)
My questions are:
1.Can I create in .NET something similar to COM out proc server (activex
exe),which mean that when the admin application
will create the MessagesServer, than the exe which hosting MessagesServer will start?

2.Assuming the window admin application is local to the
MessagesServer, can
i just pack the MessagesServer object
into the window admin executbale,so it will be local to the window
application.,bu t remote for the web application?

3.When using Web application,wha t is the best way to access the data
base,should I do it
using the MessagesServer, for example MessagesServer. GetMessages() as
ArrayList
or can I go directly to the data base(I guess I will have some
synchronization issues here!?)

4.Regarding locks,assuming i have one thread in the MessagesServer object which access the data base,and than a request from the
Web application is arrived to write to the data base,can i control the
time
in which the request will return to the web application?

5.Can you point me to some articels or examples which describe a similar
problem?
The overall architecture is something similar to Exchange server/OWA i
guess.
Thanks.



Nov 18 '05 #3
> Why? can't i call remoting object from an ASP.NET page?
sure you can. the remoting route is a viable alternative as well. I've
already listed the reason for my recommendations .

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"Julia" <co********@012 .net.il> wrote in message
news:u0******** ******@TK2MSFTN GP15.phx.gbl...
Why? can't i call remoting object from an ASP.NET page?
The WebApp client will access the object only though a server side code.

Thanks.
"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:OH******** ******@TK2MSFTN GP15.phx.gbl...
Are you that desperate that you need to post this message to this many
newsgroups?

Have a look at webservices, this ideally what you need to implement. I

would
recommend it over a remoting interface since you have no control over the
web app client which makes remoting less ideal for your situation.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"Julia" <co********@012 .net.il> wrote in message
news:eh******** ******@TK2MSFTN GP09.phx.gbl...
>
> I need help with architecture design,please:
>
> I have a server which constantly downloading messages from the internet > and store them inside a data base.
>
> the server have two administrators options:
> one is a local windows application,and the second is a web application
> The administrator can either delete messages,add new messages,and send
> messages
>
> i am new to .NET remoting,so here is my idea in general:
>
>
> 1.Create singleton MessagesServer remotable object which act as my
> server
> and hosted by an exe application
> 2.For Windows admin application, just connect to the singleton object and > admin it
> 3.For the web admin application,usi ng ASP,NET pages,connect to the
> MessagesServer and admin it
> (I cannot install .NET components on this machine so i must use
> server
> side code?)
>
>
> My questions are:
>
>
> 1.Can I create in .NET something similar to COM out proc server
> (activex
> exe),which mean that when the admin application
> will create the MessagesServer, than the exe which hosting MessagesServer > will start?
>
> 2.Assuming the window admin application is local to the
> MessagesServer, can
> i just pack the MessagesServer object
> into the window admin executbale,so it will be local to the window
> application.,bu t remote for the web application?
>
> 3.When using Web application,wha t is the best way to access the data
> base,should I do it
> using the MessagesServer, for example MessagesServer. GetMessages() as
> ArrayList
> or can I go directly to the data base(I guess I will have some
> synchronization issues here!?)
>
> 4.Regarding locks,assuming i have one thread in the MessagesServer object > which access the data base,and than a request from the
> Web application is arrived to write to the data base,can i control
> the
> time
> in which the request will return to the web application?
>
> 5.Can you point me to some articels or examples which describe a
> similar
> problem?
>
>
> The overall architecture is something similar to Exchange server/OWA i
> guess.
>
>
> Thanks.
>
>
>
>
>
>



Nov 18 '05 #4

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

Similar topics

0
1564
by: Neerja Tyagi | last post by:
What is the difference between Software architecture and software design patterns. say for example there are two terms commonly used MVC Architecture and MVC design pattern. Are they same or different. can anybody please clarify this for me. Thank you
7
2665
by: nospam | last post by:
Ok, 3rd or is it the 4th time I have asked this question on Partial Types, so, since it seems to me that Partial Types is still in the design or development stages at Microsoft, I am going to ask it differently. FOUR QUESTIONS: The background: I got three (3) files
0
1045
by: Julia | last post by:
I need help with architecture design,please: I have a server which constantly downloading messages from the internet and store them inside a data base. the server have two administrators options: one is a local windows application,and the second is a web application The administrator can either delete messages,add new messages,and send messages
3
14520
by: RAJESH | last post by:
I am working with c# and asp.net in developing web applications, iam using ..netframework 1.1 ,i want to know what is the need of 3-tier or 4-tier architecture in our application development.what is its part when some body is using our application.plese give links where i can find the answer.
1
1471
by: Learner | last post by:
Hi there, I have designed a three tier arichitecture(presentation, business and datalayer). I have used Shared keyword in all my DL methods inorder to make them available in my BL. I have realized that i don't need to instantiate the Data class in my BL and could use all DL methods in my BL with out instantiating the Data class. But in my BL i haven't used the Shared keyword in any of the methods. So i need to instantiate the BL in my...
0
312
by: swaroopa | last post by:
Hello Partner, Please forward some good resumes with excellent communication skills. J2EE CONSULTANT Exp: 4-6YEAR Location : Detroit, MI
7
2348
by: MarkusJNZ | last post by:
Hi, we have some datafeeds which pull info from external sources. Unfortunately, we have to use screen scraping as there are no XML feeds. The data feeds are located in a variety of different applications located on different servers. I have to design a new architecture, I have a fair idea of how I would do it but if anyone has any pointers to a good existing architecure design or *things not to do*, please post. TIA Markus
1
1392
by: Sachin | last post by:
Hi All, Let me present you with list of consultants currently available. Name / Job Title Summary Ramchandran/Java · 7+ years experience in the field of Software Development. · Expertise in full Software Development Life Cycle (SDLC)
2
2050
by: jmDesktop | last post by:
I'm using C#, but I don't know that it matters for this question. I know that many experienced folks are on here, so sorry for being off topic. I am finally at a point where I want to and I think able to design software that is modular and pluggable. The only problem is that I'm not sure if I need to or if this lends itself to it. I have a project that requires building a scheduler. It's more of a virtual take number program as in...
0
9471
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
10302
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
10136
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
10071
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
8958
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...
0
5372
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
4036
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
2
3631
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2867
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.