My understanding of Distributed Replicant Manager (DRM) is that it allows you to attach some serialized data (stub) to a cluster node and manage it. Examples of this data include the list of stubs for a given RMI server. Each node has a stub to share with other nodes. The DRM enables the sharing of [...]
Read Full Post »
Posted by Alexander Zagniotov in: clustering, jboss, management beans on May 31st, 2008 17:37
Did you know that if you have a JBoss cluster, HA singletons service beans on each can share a common memory state? State is a memory space shared by all HA singletons service beans in a cluster. It is possible save an object to the state using HA singleton service bean on one node, and [...]
Read Full Post »
Posted by Alexander Zagniotov in: clustering, jboss, management beans on May 16th, 2008 23:15
If you want to know how many nodes there are in the current cluster partition, all you have to do is to ask HAPartition for the node list. HAPartition represents your cluster partition, and it contains all the information you need to know about your cluster and the nodes: their host names, IPs, position in [...]
Read Full Post »
Posted by Alexander Zagniotov in: clustering, jboss, management beans on May 14th, 2008 18:36
Since EJB 3.0, it is possible to use JDK 5.0 metadata annotations to create EJB 3.0 Java beans. This makes the development very easy. The only drawback here as I see it, that in case when you want to change/add/remove annotation you actually have to recompile the class. The example below shows how to create [...]
Read Full Post »
Posted by Alexander Zagniotov in: beans, stateless beans on May 11th, 2008 02:17
Few days ago i came across a little nasty thing during mbean deployment. What I did was separation of my mbean class and its interface in to two archives. So first i would deploy an archive contained my interfaces and then i would deploy an archive contained my bean classes. Why did i do it [...]
Read Full Post »
Posted by Alexander Zagniotov in: beans, jboss, management beans on May 3rd, 2008 19:51