8.3 Weaving and Instrumentation
Prev | 8. Working with Common Enterprise Libraries | Next

## 8.3 Weaving and Instrumentation

When using a library that performs bytecode weaving or instrumentation, such as AspectJ, OpenJPA or EclipseLink, any types that are woven must be able to see the library doing the weaving. This is accomplished by adding an `Import-Library` for the weaving library into all bundles that are to be woven.

Weaving is often used by JPA implementations to transform persisted types. When using a JPA provider that uses load-time weaving, an `Import-Library` for the provider is needed in the bundles containing the persisted types.

Prev | Up | Next
8.2 Working with DataSources | Home | 8.4 JSP Tag Libraries