JBoss.org Community Documentation

- Prev
- Next

### 4.3.2. @Transient annotation

The `@org.jboss.cache.annotation.Transient` annotation is used to indicate that a field should not be replicable. This allows non-transient fields to be included in normal Java serialization output, but not when replicated by POJO Cache.

The following object will not replicate changes to resource.

    @Replicable
    public class Gadget
    {
       // resource won't be replicated
       @Transient
       private Resource resource;
    }

- Prev4.3.1. @Replicable annotation
- Top of page
- Front page
- Next4.3.3. @Serializable annotation