
cloud-readiness.socket-communication.windup.xml Maven / Gradle / Ivy
The newest version!
This ruleset detects the use of socket communication by the client or server, which may be problematic when migrating an application to a cloud environment.
socket
Java sockets are internal endpoints of two-way communications. They are defined by an IP address, port, and protocol (TCP/UDP).
Socket communication is not suitable for a cloud environment because it requires fixed communication with a target host.
Recommendation: Use Java EE standard or loosely coupled protocols such as JMS, JAX-RS, or JAX-WS for backing service interactions.
socket
Java NIO channels provide bulk data transfer to and from NIO buffers. They can be synchronously and asynchronously read and written.
Channels are not suitable for a cloud environment because they are not a reliable or scalable way to interact with other systems.
Recommendation: Use Java EE standard or loosely coupled protocols such as JMS, JAX-RS, or JAX-WS for backing service interactions.
socket
© 2015 - 2025 Weber Informatics LLC | Privacy Policy