Tuesday, October 21, 2014

Lets talk about Interprocess Communication


An Overview of RMI Applications

RMI applications often comprise two separate programs, a server and a client. A typical server program creates some remote objects, makes references to these objects accessible, and waits for clients to invoke methods on these objects. A typical client program obtains a remote reference to one or more remote objects on a server and then invokes methods on them. RMI provides the mechanism by which the server and the client communicate and pass information back and forth. Such an application is sometimes referred to as a distributed object application.
Distributed object applications need to do the following:
  • Locate remote objects. Applications can use various mechanisms to obtain references to remote objects. For example, an application can register its remote objects with RMI's simple naming facility, the RMI registry. Alternatively, an application can pass and return remote object references as part of other remote invocations.
  • Communicate with remote objects. Details of communication between remote objects are handled by RMI. To the programmer, remote communication looks similar to regular Java method invocations.
  • Load class definitions for objects that are passed around. Because RMI enables objects to be passed back and forth, it provides mechanisms for loading an object's class definitions as well as for transmitting an object's data.


Wednesday, October 15, 2014

Broadcast on RPC

According to Peters broadcasting is the audio or video distribution  to a dispersed client via any electronic mass communications medium, it usually use spectrum (radio waves), in a "one to many" model.[1]

Tuesday, October 14, 2014

What is RPC

Remote Procedure Call:


As you has seen before The sockets are very useful, but one of the most common problems is transformations data on the network. This transformation data will be use as the representation used by the application and its called as "Presentation Formatting" (Morgan Kaufman,2007).






Thursday, October 2, 2014

Lazaro get up and walk

Today , i was talk' with one of my students . He asked to me "how to run a linux over pentium II".

I realized that its a very old device. And the new linux only work for P IV up to.

Then i find the link that could be good to work about it.
https://help.ubuntu.com/community/LubuntuLinks#Section_B:_Lubuntu_101

i hope that it could be good for us.

Thursday, September 25, 2014

Socket JAVA

"A socket is a software endpoint that establishes bidirectional communication between a server program and one or more client programs. " ref


Wednesday, September 24, 2014

SMTP Protocol

Objective:
   This lesson is focus in learn how to create a smtp app.

Issues:
-Sockets
-RFC
-TCP Frame

Steps:
1) Install php5 over ubuntu.
2) Read http://php.net/manual/en/intro.sockets.php
3) Read https://www.ietf.org/rfc/rfc2821.txt
4) Download  https://drive.google.com/file/d/0B8fTeB-2yen7MDJYeC00SHozZW8/edit?usp=sharing