
cloud-readiness.java-rmi.windup.xml Maven / Gradle / Ivy
The newest version!
This ruleset detects the Java Remote Method Invocation (RMI), which may be problematic when migrating an application to a cloud environment.
cloud-readiness
rmi
INHERITANCE
Java RMI is a tightly coupled service. Tight coupling is not suitable in a cloud environment because of scalability problems.
Recommendations
Use Java EE standard or loosely coupled protocols for backing service interactions:
** Message-based communication (JMS) for asynchronous use cases
** HTTP-based protocol or API (JAX-RS and JAX-WS) for synchronous use cases
When used with load-balancing, both options ensure scalability and high availability.
rmi
cloud-readiness
The Java RMI API is tightly coupled. Tight coupling is not suitable in a cloud environment because of scalability problems.
Use a RESTful API or a message queue.
rmi
© 2015 - 2025 Weber Informatics LLC | Privacy Policy