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

Send object from one app to the other

I have a distributed application that everyone will be running the same
core application, but some may have a different interface they use
because of different roles. I need to send a complex (yet very simple)
object to other computers. One person will need to send a different
person a filled object, lets call it Cat, and Cat.Name = "Felix" and
Cat.Color = "Red". Person A filled this information in, now needs to
send it to person B so they can do what they need to do with the Cat
object and then send it back to person A. All I need is a simple way
to send that populated object between the 2 people. I already have the
ip addresses being logged and all that kind of stuff is taken care of i
just can't seem to find a simple way of doing this. Thank you very much
in advance.

Sep 2 '06 #1
2 2205
Look into Remoting, as well as webservices.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Benny" wrote:
I have a distributed application that everyone will be running the same
core application, but some may have a different interface they use
because of different roles. I need to send a complex (yet very simple)
object to other computers. One person will need to send a different
person a filled object, lets call it Cat, and Cat.Name = "Felix" and
Cat.Color = "Red". Person A filled this information in, now needs to
send it to person B so they can do what they need to do with the Cat
object and then send it back to person A. All I need is a simple way
to send that populated object between the 2 people. I already have the
ip addresses being logged and all that kind of stuff is taken care of i
just can't seem to find a simple way of doing this. Thank you very much
in advance.

Sep 3 '06 #2
You could serialize the object and then send it thru a TCP/IP socket.
Your app on the other end could then deSerialize and read the properties.

"Benny" <be***********@gmail.comwrote in message
news:11**********************@p79g2000cwp.googlegr oups.com...
>I have a distributed application that everyone will be running the same
core application, but some may have a different interface they use
because of different roles. I need to send a complex (yet very simple)
object to other computers. One person will need to send a different
person a filled object, lets call it Cat, and Cat.Name = "Felix" and
Cat.Color = "Red". Person A filled this information in, now needs to
send it to person B so they can do what they need to do with the Cat
object and then send it back to person A. All I need is a simple way
to send that populated object between the 2 people. I already have the
ip addresses being logged and all that kind of stuff is taken care of i
just can't seem to find a simple way of doing this. Thank you very much
in advance.

Sep 3 '06 #3

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

Similar topics

11
by: Google Mike | last post by:
I've got RH9 Linux with default PHP. Is there a way to send email on Linux to an Exchange Server from PHP and/or other tools when there is *NOT* SMTP access? Has anyone figured out a way to...
15
by: Steve Horrillo | last post by:
I can't figure out why this script won't insert the subject in the email and why can't I control the font and size being used? I'm not sure where to post this. Let me know where if this is OT. ...
2
by: Fatih BOY | last post by:
Hi, I want to send a report from a windows application to a web page like 'report.asp' Currently i can send it via post method with a context like local=En&Username=fatih&UserId=45&Firm=none...
7
by: moondaddy | last post by:
I have a user control being used instead of a frame page. when the user clicks on a menu item I need to send the ID (integer value) of that menu as a parameter in the postback of the user control...
15
by: cj | last post by:
How can I get a button in VB to send the contents of a text box via email in a manner similar to the "Send To\Mail Recipient" functionality that you can select via right clicking a file in Windows...
2
by: BizWorld | last post by:
hi, i need to send fax using .NET System.web.Mail component in my asp.net page. it works fine for emails but Fax works well in Outlook but when i try to send Fax using .NET object it did not...
3
by: BuddyWork | last post by:
Hello, Could someone please explain why the Socket.Send is slow to send to the same process it sending from. Eg. Process1 calls Socket.Send which sends to the same IP address and port, the...
14
by: Professor Yonce | last post by:
I have made form for E-Mail. I have entered code but the Import system does not work. It has squiggly line underneath it showing it is not communicating. It Will not build. Public Class...
1
Plater
by: Plater | last post by:
I am a bit mad at myself, as I should know how to do this. I am almost certain it is because I am using UdpClient and not a Socket object. What am I looking to do is have one object sit in listen...
1
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: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.