By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,154 Members | 1,056 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,154 IT Pros & Developers. It's quick & easy.

I need help with architecture design,please.

P: n/a

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,using 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.,but remote for the web application?

3.When using Web application,what 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
Share this Question
Share on Google+
3 Replies


P: n/a
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**************@TK2MSFTNGP09.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,using 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.,but remote for the web application?

3.When using Web application,what 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

P: n/a
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**************@TK2MSFTNGP15.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**************@TK2MSFTNGP09.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,using 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.,but remote for the web application?

3.When using Web application,what 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

P: n/a
> 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**************@TK2MSFTNGP15.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**************@TK2MSFTNGP15.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**************@TK2MSFTNGP09.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,using 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.,but remote for the web application?
>
> 3.When using Web application,what 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 discussion thread is closed

Replies have been disabled for this discussion.