What does aspectj-weaver.jar do? What are its common uses?
Asked
Active
Viewed 1.6k times
25
-
6I'd like to point out that the only thing wrong with this post is bad English/grammar skills. Its brevity does not preclude it from the scope of SO. *scowls at the close votes* – corsiKa Mar 14 '11 at 20:38
-
2I concur -- sad to see word count used a proxy for question quality – user1172468 Aug 17 '12 at 22:08
-
3I also concur. This is a most excellent question. It is perfectly obvious what is being asked here. It is completely unambiguous, not at all vague, 100% complete, precisely limited in scope, not rhetorical, and can very definitely be answered in its current form. This behavior is completely antithetical to what SO is all about. – Bob Kerns Oct 21 '12 at 07:59
-
I know this one is old, but still listed as unanswered. Would you please accept and upvote my answer if it seems appropriate? Thanks. – kriegaex Jun 09 '14 at 12:09
3 Answers
12
The jar is used in aspectj for aspect oriented programming or AOP.
The weaver is the piece that actually "weaves" together the aspects/point-cuts/join-points defined with the code that is to be executed in each instance.

Brandon
- 2,574
- 19
- 17
11
The answers here are not really clear (even though schnaader's link to a README points to the right info), so I am going to add a more precise one:
aspectjweaver.jar is an AspectJ library needed for LTW (load-time weaving), as opposed to compile-time weaving.

kriegaex
- 63,017
- 15
- 111
- 202