Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » RMI
Re: RMI [message #9222 is a reply to message #9220] Sun, 22 April 2007 11:01 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14262
Registered: November 2005
Ultimate Member
zsolt wrote on Sun, 22 April 2007 04:17

I was thinking about creating some callback system for network communication, because in an event based system (GUI app) blocking calls are not the best.

BTW, RMI is used in Java internally only, because SOAP and XMLRPC is more portable and can be integrated easily in an enterprise environment.

So an ideal solution would be able to use a native C++ serialization or SOAP/XMLRPC as a transport layer as well.


Yes, but even for internal use, it is nice to have.

One thing that it could nicely address is clustering applications.

BTW, what you would relatively easy to achieve w.r.t. calls alone without any form of IDL:

struct MethodA {
    int a;
    Vector<String> b;

    void Serialize(Stream& s) { s % a % b; }
};

struct MethodB {
   ....
}

struct Server {
    void Do(MethodA& a);
    void Do(MethodB& b);
};

client:

Connection<Server> x;
....
MethodA a;
a.x = 123;
a.b.Add(123);
x.Do(a);


(Just to demostrate where I have ended the last time investigating this issue).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DrawAggData.cpp and internal AggDrawData formats
Next Topic: New hash folding function...
Goto Forum:
  


Current Time: Thu Jun 26 16:19:25 CEST 2025

Total time taken to generate the page: 0.04095 seconds