I don't really know the answer to your question. What about instanceof or Class.isAssignableFrom() ?
This question isn't in the scope of Remoting. You might try posting it to the EJB3 forum.
Reply to this message by going to Community
Start a new discussion in JBoss Remoting at Community