EclipseLink/UserGuide/JPA/Advanced JPA Development/Performance/Weaving/Static Weaving
|Mailing List • Forums • IRC|
Configuring Static Weaving
Use this option to weave all applicable class files at build time so that you can deliver pre-woven class files. Consider this option to weave all applicable class files at build time so that you can deliver prewoven class files. By doing so, you can improve application performance by eliminating the runtime weaving step required by dynamic weaving (see Configuring Dynamic Weaving).
In addition, consider using dynamic weaving to weave in Java environments where you cannot configure an agent.
Prior to weaving, you must configure your persistence unit to be understood by EclipseLink. There are two basic configurations:
- Jar file
This is the configuration specified in the JPA 2.0 specification. See
- Exploded directory structure