Not the answer to your question but if you were to use XDoclet 1.2-beta2 here are the required tags to cluster an entity bean :-
How do you assign the primary key values to your entity bean?
Do you use some kind of sequence generator or do you look them up from somewhere?
The application that I'm using is one of the examples "transaction" posted on "documentation" part of this web site. I'm using xdoclet 1.1.2 and it doesn't have "@jboss.clustered" tag. I've tried installing the 1.2beta2 version but the "transaction" build.xml file throws errors because it was written for the older version.
Can you please help me out?