List their differences. Java provides the Comparable interface, which contains only one method, called compareTo). This method compares two objects, in order to impose an order between them. Specifically, it returns a negative…
Category: WhoCodeFirst
learn2code_WhoCodeFirst
What is a Server Side Include (SSI)?
Posted in Education, and WhoCodeFirst
Server Side Includes (SSI) is a simple interpreted server-side scripting language, used almost exclusively for the Web, and is embedded with a servlet tag. The most frequent use of SSI…
What is DGC? And how does it work?
Posted in Education, and WhoCodeFirst
DGC stands for Distributed Garbage Collection. Remote Method Invocation (RMI) uses DGC for automatic garbage collection. Since RMI involves remote object references across JVM’s, garbage collection can be quite difficult.…
What are the layers of RMI Architecture?
Posted in Education, and WhoCodeFirst
The RMI architecture consists of the following layers: Stub and Skeleton layer: This layer lies just beneath the view of the developer. This layer is responsible for intercepting method calls…
These methods can be used as a hint to the JVM, in order to start a garbage collection. However, this it is up to the Java Virtual Machine (JVM) to…