Make a non-serializable class Serializable
Making a non-serializable class Serializable Take a look at POJO.java. You will see that it is non-serializable. Then take a look jboss-aop.xml: java.io.Serializable The first introduction declaration, introduces/forces POJO to implement Serializable. When the aopc compiler is run, it will transform POJO to implement that interface. If you used a decompiler to look at POJO.class, you would find that it implements Serializable. The class attribute can be any fully qualified class name. Wildcards are allowed. You can also insert in $instanceof{ or an annotation expression i.e. @myannotation.