What is the Basic difference between Rpc and Rmi? [duplicate] - web-services

This question already has answers here:
What is the difference between Java RMI and RPC?
(8 answers)
Closed 7 years ago.
I want to understand the difference between RPC and RMI?
Also what RPC webservice and document or jax ws webservice.. ?what are all differences?

It is exactly the difference between calling a procedure in a non-object-oriented way and calling a method on an object in an object-oriented way
The rest of your question is too broad to answer here.

Related

Calling a .net function from C++ [duplicate]

This question already has answers here:
How do I call a .NET assembly from C/C++?
(9 answers)
Closed 8 years ago.
I want to use this function to zip up a folder from a C++ console application. No examples are given in the article of how to use the function from C++, just C# or VB, and I can't find any other code samples anywhere.
The article doesn't really even clarify whether the function is available in C++. Is this function supported in C++? And if so, how do I call it?
Thanks.
This doesn't answer your specific question of calling that .NET method you requested, but, if you want to compress some files using native C++, look at using Zlib and there is a contribution app called minizip which you can use for opening / creating zip archives.

Reflection in C++ [duplicate]

This question already has answers here:
Why does C++ not have reflection?
(15 answers)
Closed 9 years ago.
I am currently porting a game from Cocos2d written in ObjectiveC to Cocos2d-x in C++. Now the objective C guys have used Reflection to populate modal classes from a json object. Is the same possible in C++ Can we use reflection in C++ ?
Kind Regards
As mentioned in the comments, C++ has no reflection.
The default solution is to register all the symbols that you need in an associative array, like unordered_map. Here are examples of that.

What is an equivalent to instanceof in C++? [duplicate]

This question already has answers here:
C++ equivalent of java's instanceof
(5 answers)
Closed 9 years ago.
How can I check the class type in c++?
In Java I used instanceof.
I prefer not to use dynamic cast, but only classic c++.
Is there any way?
Clarification:
It isn't a duplicate of another question in StackOverflow, since I asked how can I find it without using of dynamic_cast. In the other question, the answer was to use it. Please don't mark it as a duplicated.
There is no way to check class type without RTTI or it's home brew substitution. If application compiled without RTTI information about type is not stored anywhere.

c++ design pattern question. single interface multiple implementations? [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How do you declare an interface in C++?
Hi,
What's the preferable way to create single interface and multiple implementations in c++?
For example, I'd like to implement kqueue for mac and epoll for linux and share the interface.
Thank you
The Strategy Pattern is probably what you are looking for.
The Abstract Factory Pattern can help you fill in the right implementation when starting up.

Cross platform crash-reporters [duplicate]

This question already has answers here:
Cross-platform crash handler
(3 answers)
Closed 9 years ago.
Are there any cross platform crash reporters for C++ besides google-break pad? I have seen google-breakpad but it has very very limited documentation, and I have nothing seen very much mentioned here, google or other source websites
Have a look at BugTrap which might help you.