Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / May 2006

Tip: Looking for answers? Try searching our database.

Sending Messages and Sharing Objects

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Raju Joseph - 04 May 2006 05:58 GMT
Hi All,

We are currently in the design phase of a distributed system. I have 2
questions with this regard.

Our app will be used by 100s of users. I would like to send messages to
different terminals at times with information. For example, lets say, in a
hospital, when a patient comes for consultation, once he has signed in, I
would like to send a message to the corresponding provider that the patient
has arrived. Something similar.

Secondly, I would like to have a central repository of data cache which can
be shared by all. Now, our architecture has been designed to use any of the
channels - 2Tier, Web Service or Remoting (HTTP/Binary). We are using
Rocky's CSLA framework with few modifications.

Any suggestions or ideas or links to some editorials.

Thanks,

Raju
Michael Nemtsev - 04 May 2006 19:52 GMT
Hello Raju,

100 external users or intenal? Intranet or internet apps?

What do use for the messages XML and XSTL to transfer messages to the canonical
form?
I think remoting will tie you too hard, and it brings a lot of problems with
indigo.
I recomend to use WS, it's gives u a nice heterogeneity.

What do u mean with "data cache"? Database or what?

Could u specify more details?

The general solution is that.
When patient comes to the consultation either he or operator create new record
on the webSite with necessary information,
afterthat this record in converted(xslt) in the message (xml) that is sent
to the server where the message is pushed into the ESB(enterprise service
bus) and your rule engine decided with component is responsible for this
message, and you message is parsed by that component. component takes all
necessary data from DB and generate output message.

RJ> We are currently in the design phase of a distributed system. I have
RJ> 2 questions with this regard.
RJ>
RJ> Our app will be used by 100s of users. I would like to send messages
RJ> to different terminals at times with information. For example, lets
RJ> say, in a hospital, when a patient comes for consultation, once he
RJ> has signed in, I would like to send a message to the corresponding
RJ> provider that the patient has arrived. Something similar.
RJ>
RJ> Secondly, I would like to have a central repository of data cache
RJ> which can be shared by all. Now, our architecture has been designed
RJ> to use any of the channels - 2Tier, Web Service or Remoting
RJ> (HTTP/Binary). We are using Rocky's CSLA framework with few
RJ> modifications.
RJ>
RJ> Any suggestions or ideas or links to some editorials.
RJ>
RJ> Thanks,
RJ>
RJ> Raju
RJ>
---
WBR,
Michael  Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Raju Joseph - 05 May 2006 04:27 GMT
Sorry for being not specific.

Most of the times our software runs in an intranet environment. We are using
CSLA framework by Rocky because it allows us to switch between various
channels, viz. Web Service, Remoting or Simple 2-Tier architecture. Our
product needs to support all these three since client requirements could
vary.

For example, one of our clients in Indonesia has offices in three different
locations. In such case, we use webservices to request for information. But
mostly its 2-Tier or remoting depending on the number of users using the
system and the scalability factor.

Now, my requirement is, in an Intranet system, using .NET, how can I send
messages between different physical systems. I want something similar to MSN
Messenger popups on the task bar.

And by caching, I mean, caching frequently used data which does not gets
modified very often, like country, state and city information. I mean this
data is pretty much constant. May change once or twice a year. I mean how
often does a new country gets added. right? So, I would like to cache this
data in some place (local or some other central repository) so it can be
fetched easily (no need for an actual database fetch). But of the odd chance
that data might get updated, I would like to notify client of the same and
refresh the cached data list.

Any ideas or suggestions. Some one recommended I could create a windows
service to do this.

Thanks,

> Hello Raju,
>
[quoted text clipped - 41 lines]
> "At times one remains faithful to a cause only because its opponents do
> not cease to be insipid." (c) Friedrich Nietzsche
Michael Nemtsev - 07 May 2006 10:25 GMT
Hello Raju,

RJ> Most of the times our software runs in an intranet environment. We
RJ> are using CSLA framework by Rocky because it allows us to switch
RJ> between various channels, viz. Web Service, Remoting or Simple
RJ> 2-Tier architecture. Our product needs to support all these three
RJ> since client requirements could vary.

RJ> For example, one of our clients in Indonesia has offices in three
RJ> different locations. In such case, we use webservices to request for
RJ> information. But mostly its 2-Tier or remoting depending on the
RJ> number of users using the system and the scalability factor.

Can't understand about 2Tiers. Why don't use WS instead of remoting in your
case?

RJ> Now, my requirement is, in an Intranet system, using .NET, how can I
RJ> send messages between different physical systems. I want something
RJ> similar to MSN Messenger popups on the task bar.

It's the message-orient system, based on XML messages, as I described in
the former post

RJ> And by caching, I mean, caching frequently used data which does not
RJ> gets modified very often, like country, state and city information.
RJ> I mean this data is pretty much constant. May change once or twice a
RJ> year. I mean how often does a new country gets added. right? So, I
RJ> would like to cache this data in some place (local or some other
RJ> central repository) so it can be fetched easily (no need for an
RJ> actual database fetch). But of the odd chance that data might get
RJ> updated, I would like to notify client of the same and refresh the
RJ> cached data list.

I can't see what's wrong with Database solution? The data is consitend and
located in one place. You can be sure that
there is no variety of the same data. Keep on local? In client? It's possible,
but you need additional steps to update this data between clients.

RJ> Any ideas or suggestions. Some one recommended I could create a
RJ> windows service to do this.

Yep, but it's too common.
There is a lot of solutions that u can apply.

Describe your problem more detailed

>> 100 external users or intenal? Intranet or internet apps?
>>
[quoted text clipped - 48 lines]
>> "At times one remains faithful to a cause only because its opponents
>> do not cease to be insipid." (c) Friedrich Nietzsche

---
WBR,
Michael  Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Raju Joseph - 09 May 2006 05:48 GMT
Ours in an intranet solution.

By caching, I mean caching data that does not change often (example list of
countries) on the client, so that there is no need to do a trip across the
network to read this data.

Our application can be client-server (2-tier) or a 3-tier using web
services. It must support both, since for small clients, we cannot ask them
to get an application server just so we can use web-services. Further, this
is a product, so we should be able to sell it straight out, and install it
with no additional steps.

We are using Rocky's CSLA since it supports all these architectures or
channels with just a flip in the configuration file.

So, regarding sending messages between machines, is there a way? I am
guessing I could write up a windows service to do this?

Thanks,

> Hello Raju,
>
[quoted text clipped - 101 lines]
> "At times one remains faithful to a cause only because its opponents do
> not cease to be insipid." (c) Friedrich Nietzsche
Michael Nemtsev - 09 May 2006 19:54 GMT
Hello Raju,

RJ> Ours in an intranet solution.
RJ>
RJ> By caching, I mean caching data that does not change often (example
RJ> list of countries) on the client, so that there is no need to do a
RJ> trip across the network to read this data.
RJ>
RJ> Our application can be client-server (2-tier) or a 3-tier using web
RJ> services. It must support both, since for small clients, we cannot
RJ> ask them to get an application server just so we can use
RJ> web-services. Further, this is a product, so we should be able to
RJ> sell it straight out, and install it with no additional steps.
RJ>
RJ> We are using Rocky's CSLA since it supports all these architectures
RJ> or channels with just a flip in the configuration file.
RJ>
RJ> So, regarding sending messages between machines, is there a way? I
RJ> am guessing I could write up a windows service to do this?
RJ>

Sure.

---
WBR,
Michael  Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.