Differences and use of RMI, Socket and JPA

5

I'm new to java and would like some help to better understand RMI , Socket and JPA , and better understand its utilities and when because I do not see much choice between them. I researched a lot, but I found a lot of technical things that did not help me much.

    
asked by anonymous 31.12.2014 / 11:22

2 answers

1

As mentioned, these three technologies have VERY different purposes. It makes no sense to compare them.

  • Remote Method Invocation (RMI) is a protocol used by Java to communicate between different processes.
  • Java Persistance API (JPA) is a mini-language that persistence frameworks (eg Hibernate) use to work with the database.
  • Socket is a point of communication between processes through a network of computers. It is a low-level concept, including RMI uses sockets.

Think about what you want to develop and study the relevant technologies calmly! Do not try to learn everything at once. Any questions, we are here:)

    
26.10.2016 / 19:35
1
  • RMI (Remote Method Invocation) is an API that allows you to call remote methods. For example, you can perform a method on another computer.
  • Socket would be a connection point between two computers. It would be the IP and Port of a computer.
  • JPA is a specification. It is a specification that allows you to be able to do object-relational mapping. What would it be? You are able to convert an object-oriented code into a code in a database.

My definitions have been somewhat simplistic, I hope you have understood.

    
09.02.2017 / 01:28