- Posts: 4
- Joined: Thu Apr 23, 2020 6:59 am
Therefore, because of the potencial issues associated with the management replicated message queues in a cluster, It is a good practice to move the singleton classes to business logic and handle the increasing load by scaling vertically. Thus, clustered applications are not good candidates for using a Singleton Pattern.
Regard to remote monitoring, a JMX Remote API connector must support concurrent requests and there is no requirement that a client receive a response for each request before sending the next request. This makes me think that "an application that requires remote monitoring capabilities" would not benefit from using the Singleton pattern.
*I've found these informations in:
- Architect Enterprise Application with JAVA EE Oracle Course.
- JavaTM Management Extensions (JMXTM) Remote API 1.0 Specification
What do you think, Enthuware?
Users browsing this forum: No registered users and 1 guest