Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLink/UserGuide/JPA/Advanced JPA Development/Performance/Weaving/Dynamic Weaving"
< EclipseLink | UserGuide | JPA | Advanced JPA Development | Performance | Weaving
m |
m |
||
Line 26: | Line 26: | ||
|next =[[EclipseLink/UserGuide/JPA/Advanced_JPA_Development/Performance/Weaving/Static Weaving|Static Weaving]] | |next =[[EclipseLink/UserGuide/JPA/Advanced_JPA_Development/Performance/Weaving/Static Weaving|Static Weaving]] | ||
|up =[[EclipseLink/UserGuide/JPA/Advanced_JPA_Development/Performance/Weaving/About Weaving|About Weaving]] | |up =[[EclipseLink/UserGuide/JPA/Advanced_JPA_Development/Performance/Weaving/About Weaving|About Weaving]] | ||
− | |version =2. | + | |version=2.2.0 DRAFT}} |
Revision as of 16:21, 12 January 2011
EclipseLink | |
Website | |
Download | |
Community | |
Mailing List • Forums • IRC • mattermost | |
Issues | |
Open • Help Wanted • Bug Day | |
Contribute | |
Browse Source |
Dynamic Weaving
Use this option to weave applicable class files one at a time, as they are loaded at run time.
Use this option to weave applicable class files one at a time, as they are loaded at run time. Consider this option when the number of classes to weave is few or the time taken to weave the classes is short.
If the number of classes to weave is large or the time required to weave the classes is long, consider using static weaving.
To Configure Dynamic Weaving for JPA Entities Using the EclipseLink Agent
- Modify your application JVM command line to include the following:
-javaagent:eclipselink.jar - Ensure that the eclipselink.jar is in your application classpath.
- Package and deploy your application.
For more information, see Packaging an EclipseLink JPA Application.
EclipseLink weaves applicable class files one at a time, as they are loaded at run time.