Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

index.html 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
  2. <html> <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <title>AspectJ Documentation and Resources</title>
  5. </head>
  6. <body>
  7. <a name="top"></a>
  8. <h1>AspectJ Documentation and Resources</h1>
  9. <p>
  10. AspectJ <sup><small>tm</small></sup>
  11. is a seamless aspect-oriented extension to
  12. Java<sup><small>tm</small></sup>.
  13. The compiler and development tools are available under
  14. an open-source license, require Java 2 to run, and produce
  15. code that runs in JDK 1.1 and later VM's.
  16. For the latest materials, see
  17. <a href="http://eclipse.org/aspectj">http://eclipse.org/aspectj</a>.
  18. <p>
  19. <table>
  20. <tr><td><u>Section</u></td><td><u>Contents</u></td></tr>
  21. <tr><td><a href="#documentation">docs</a></td><td>
  22. <a href="faq.html">FAQ</a>,
  23. <a href="quick.pdf">Quick Reference</a>,
  24. <a href="progguide/index.html">programming</a> and
  25. <a href="devguide/index.html">development</a> guides,
  26. <a href="ant-tasks.html">ant task summary</a>,
  27. <a href="api/overview-summary.html">API</a> and
  28. <a href="examples/">example code</a>.
  29. <tr><td><a href="#distributions">distributions</a></td><td>
  30. <a href="http://eclipse.org/aspectj">AspectJ</a> itself
  31. and development environment support for
  32. <a href="http://eclipse.org/ajdt">Eclipse</a>,
  33. <a href="http://aspectj4emacs.sourceforge.net">Emacs</a>,
  34. <a href="http://aspectj4jbuildr.sourceforge.net">JBuilder</a>,
  35. and
  36. <a href="http://aspectj4netbean.sourceforge.net">Netbeans</a>.
  37. <tr><td><a href="#resources">resources</a></td><td>
  38. <a href="http://aosd.net">aosd.net</a>;
  39. <a href="http://eclipse.org/aspectj">AspectJ project</a>
  40. the bug <a href="http://dev.eclipse.org/bugs">db</a>,
  41. and mailing lists for
  42. <a href="mailto:aspectj-users@eclipse.org">users</a> and
  43. <a href="mailto:aspectj-dev@eclipse.org">developers</a>.
  44. <tr><td><a href="#paths">paths</a> </td><td>for those new to AspectJ
  45. </table>
  46. <p>
  47. <a name="documentation"></a>
  48. <h3>AspectJ documentation</h3>
  49. <table border="1">
  50. <tr> <th>Documentation</th><th>Description</th>
  51. </tr>
  52. <tr> <td><a href="quick.pdf"> AspectJ Quick Reference</a>
  53. <!-- start strip -->
  54. <!-- (<a href="http://eclipse.org/aspectj/doc/dist/quick.pdf">web</a>) -->
  55. <!-- end strip -->
  56. </td>
  57. <td>This is a two-page quick reference for the AspectJ language.
  58. </td> </tr>
  59. <tr> <td><a href="progguide/index.html">Programming Guide</a>
  60. (printable <a href="progguide.pdf">pdf</a> or <a href="progguide/printable.html">html</a>
  61. <!-- start strip -->
  62. <!-- - <a href="http://eclipse.org/aspectj/doc/dist/progguide/index.html">web</a> -->
  63. <!-- end strip -->
  64. )
  65. </td>
  66. <td>This introduces AOP and the AspectJ language.
  67. <a href="progguide/ch01.html">Getting Started</a>
  68. describes basic semantics, and shows development- and production-time applications.
  69. <a href="progguide/ch02.html">The AspectJ Language</a>
  70. describes join points, pointcuts, advice, and introduction, all features new to AOP.
  71. <a href="progguide/ch03.html">Examples</a> walks you through the
  72. examples included with the documentation, and there are two short
  73. chapters on useful <a href="progguide/ch04.html">Idioms</a> and a
  74. few <a href="progguide/ch05.html">Pitfalls</a>
  75. The appendices have reference information:
  76. the <a href="progguide/apa.html">Quick Reference</a>
  77. summarizes AspectJ syntax,
  78. the <a href="progguide/apb.html">Language Semantics</a>
  79. best describes AspectJ usage, and
  80. <a href="progguide/apc.html">Implementation Limitations</a> notes that
  81. the current version is limited to code the compiler controls.</td>
  82. </tr>
  83. <tr> <td><a href="devguide/index.html">Development Environment Guide</a><br>
  84. (printable <a href="devguide/printable.html">html</a>
  85. <!-- start strip -->
  86. <!-- - <a href="http://eclipse.org/aspectj/doc/dist/devguide/index.html">web</a> -->
  87. <!-- end strip -->
  88. )
  89. </td>
  90. <td>Find here a guide to the command-line compiler
  91. <a href="devguide/rn01re01.html">ajc</a>
  92. and the <u>AspectJ Development Environment (AJDE)</u>
  93. for managing crosscutting structure, shown in the stand-alone
  94. <a href="devguide/rn01re02.html">AspectJ Browser</a>.
  95. </td>
  96. </tr>
  97. <tr> <td><a href="ant-tasks.html">AspectJ Ant tasks</a>
  98. </td>
  99. <td>This shows how to use the tasks included
  100. in the <code>aspectjtools.jar</code>.
  101. </td> </tr>
  102. <tr> <td><a href="api/overview-summary.html">AspectJ API</a>
  103. <!-- start strip -->
  104. <!-- (<a href="http://eclipse.org/aspectj/doc/dist/api/overview-summary.html">web</a>) -->
  105. <!-- end strip -->
  106. </td>
  107. <td>API documentation for AspectJ runtime classes. <tt>JoinPoint</tt>
  108. shows the state automatically available at each join point.
  109. </td> </tr>
  110. <tr> <td><a href="faq.html"> FAQ</a>
  111. <!-- start strip -->
  112. <!-- (<a href="http://eclipse.org/aspectj/doc/dist/faq.html">web</a>) -->
  113. <!-- end strip -->
  114. </td>
  115. <td>Frequently-asked questions about the AspectJ language, tools, and project.
  116. </td> </tr>
  117. <tr> <td><a href="porting.html"> Porting guide</a>
  118. <!-- start strip -->
  119. <!-- (<a href="http://eclipse.org/aspectj/doc/dist/porting.html">web</a>) -->
  120. <!-- end strip -->
  121. </td>
  122. <td>How users can convert code from pre-1.0 versions
  123. of AspectJ to 1.0.
  124. </td> </tr>
  125. <tr> <td><a href="changes.html"> Changes </a>
  126. <!-- start strip -->
  127. <!-- (<a href="http://eclipse.org/aspectj/doc/dist/changes.html">web</a>) -->
  128. <!-- end strip -->
  129. </td>
  130. <td>Changes between the latest releases.
  131. </td> </tr>
  132. <tr> <td><a href="examples/">Examples</a>
  133. <!-- start strip -->
  134. <!-- (<a href="examples/">local</a>) -->
  135. <!-- end strip -->
  136. </td>
  137. <td>AspectJ code to demonstrate some language features and implement
  138. JavaBean properties, the Observer pattern, a tracing library,
  139. and a game application where aspects handle display updating.
  140. </td> </tr>
  141. </table>
  142. <a name="distributions"></a>
  143. <h3>AspectJ distributions</h3>
  144. <table border="1">
  145. <tr> <th>Distributions</th><th>Description</th>
  146. <tr> <td><a href="http://eclipse.org/aspectj">AspectJ</a>
  147. </td>
  148. <td>The AspectJ distribution contains binaries for the
  149. compiler, structure browser, and Ant taskdefs,
  150. as well as the documentation and examples.
  151. </td>
  152. </tr>
  153. <tr> <td><a href="http://eclipse.org/aspectj">AspectJ</a> source code
  154. </td>
  155. <td>Source code for AspectJ is available
  156. under the open-source
  157. <a href="http://www.eclipse.org/legal/cpl-v10.html">CPL 1.0</a>
  158. license from the CVS
  159. repositories for the AspectJ project. See the
  160. <a href="faq.html#q:buildingsource">FAQ entry</a>.
  161. </td>
  162. </tr>
  163. <tr> <td><a href="http://eclipse.org/ajdt">AspectJ for Eclipse</a>
  164. </td>
  165. <td>AspectJ Development Environment support for
  166. Eclipse is available under CPL 1.0
  167. from the eclipse.org project site
  168. <a href="http://eclipse.org/ajdt">
  169. http://eclipse.org/ajdt</a>
  170. </td>
  171. </tr>
  172. <tr> <td><a href="http://aspectj4emacs.sourceforge.net">
  173. AspectJ for Emacs</a>
  174. </td>
  175. <td>AspectJ Development Environment support for
  176. Emacs is available under the GPL
  177. from the sourceforge project site
  178. <a href="http://aspectj4emacs.sourceforge.net/">
  179. http://aspectj4emacs.sourceforge.net</a>
  180. </td>
  181. </tr>
  182. <tr> <td><a href="http://aspectj4jbuildr.sourceforge.net">
  183. AspectJ for JBuilder</a>
  184. </td>
  185. <td>AspectJ Development Environment support for
  186. JBuilder is available under the Mozilla Public License 1.1
  187. from the sourceforge project site
  188. <a href="http://aspectj4jbuildr.sourceforge.net/">
  189. http://aspectj4jbuildr.sourceforge.net</a>
  190. </td>
  191. </tr>
  192. <tr> <td><a href="http://aspectj4netbean.sourceforge.net">
  193. AspectJ for Netbeans</a>
  194. </td>
  195. <td>AspectJ Development Environment support for
  196. Netbeans is available under the Mozilla Public License 1.1
  197. from the sourceforge project site
  198. <a href="http://aspectj4netbean.sourceforge.net/">
  199. http://aspectj4netbean.sourceforge.net</a>
  200. </td>
  201. </tr>
  202. </table>
  203. <a name="resources"></a>
  204. <h3>Other AspectJ resources</h3>
  205. <table border="1">
  206. <tr> <th>Resources</th><th>Description</th>
  207. </tr>
  208. <tr> <td>Mail lists
  209. </td>
  210. </td>
  211. <td>
  212. AspectJ users
  213. discuss tips and
  214. best practices for writing AspectJ programs
  215. on the
  216. <a href="mailto:aspectj-users@dev.eclipse.org">
  217. aspectj-users@dev.eclipse.org</a> mail list.
  218. AspectJ Developers discuss issues with developing
  219. AspectJ on the
  220. <a href="mailto:aspectj-developers@dev.eclipse.org">
  221. aspectj-developers@dev.eclipse.org</a> list.
  222. You can subscribe to the announce list
  223. (<tt>aspectj-announce@dev.eclipse.org</tt>)
  224. to get occasional emails about AspectJ releases
  225. and relevant events.
  226. Only those subscribed to the list may post to it.
  227. Go to
  228. <a href="http://eclipse.org/aspectj">
  229. the AspectJ home page</a>
  230. to view list archives or subscribe to the list.
  231. <tr> <td><a href="http://dev.eclipse.org/bugs">Bug database</a>
  232. </td>
  233. <td>Use the Eclipse project's Bugzilla database
  234. to view and submit bugs against the AspectJ product components
  235. <a href="http://bugs.eclipse.org/bugs/buglist.cgi?product=AspectJ&component=Compiler">
  236. Compiler</a> (for the AspectJ compiler, ajc)
  237. <a href="http://bugs.eclipse.org/bugs/buglist.cgi?product=AspectJ&component=IDE">
  238. IDE</a> (for AJBrowser and AJDE bugs),
  239. <a href="http://bugs.eclipse.org/bugs/buglist.cgi?product=AspectJ&component=Ant">
  240. Ant</a> (for the Ant tasks),
  241. and
  242. <a href="http://bugs.eclipse.org/bugs/buglist.cgi?product=AspectJ&component=Docs">
  243. Docs</a> (for the documentation).
  244. See the
  245. <a href="faq.html#q:ajcbugs">
  246. FAQ entry</a> for instructions on submitting bugs.
  247. </td> </tr>
  248. <tr> <td> <a href="http://aosd.net">http://aosd.net</a> - the AOSD web site
  249. </td>
  250. <td>This site has discussion and announcements related to
  251. aspect-oriented software development (AOSD) in general.
  252. Use <a href="mailto:announce@aosd.net">announce@aosd.net</a>
  253. to get and publish notices about AOSD
  254. workshops, conferences, and technology releases.
  255. Use <a href="mailto:discuss@aosd.net">discuss@aosd.net</a>
  256. for general AOSD discussions.
  257. </td> </tr>
  258. </table>
  259. <p>
  260. <a name="paths"></a>
  261. <h3>Suggested paths for those new to AspectJ</h3>
  262. <p>
  263. To learn the AspectJ language, read the
  264. <a href="progguide/index.html">Programming Guide</a>,
  265. keeping the <a href="progguide/apb.html">Semantics appendix</a>
  266. nearby as the best reference for AspectJ usage.
  267. Focus initially on the join point model and
  268. pointcuts, concepts AOP adds to OOP.
  269. To see how the code works, tour your
  270. examples as described in the
  271. <a href="progguide/ch03.html">Examples </a> section of the
  272. <a href="progguide/index.html">Programming Guide</a>.
  273. View and navigate the crosscutting structure using
  274. the <code>ajbrowser</code> structure viewer, as described in
  275. the <a href="devguide/rn01re02.html">AspectJ Browser</a> section of
  276. the <a href="devguide/index.html">Development Environment Guide</a>.
  277. <p>
  278. To start using AspectJ with your own code,
  279. modify the example aspects to apply to your classes.
  280. As you learn,
  281. use the compiler's <code>-Xlint</code> flags to catch some common
  282. mistakes. (Understand that the
  283. <a href="progguide/apc.html">current implementation</a>
  284. is limited to code the compiler controls.)
  285. <p>
  286. To plan how to adopt AspectJ into a project, read the
  287. <a href="progguide/index.html">Programming Guide</a>
  288. on development- and production-time aspects
  289. and the <a href="faq.html">FAQ</a> entries for
  290. <a href="faq.html#q:startUsingAJ">How should I start using AspectJ?</a>,
  291. <a href="faq.html#adoption">Deciding to adopt AspectJ</a>,
  292. the Development tools sections
  293. (<a href="faq.html#q:integrateWithDevTools">one</a>,
  294. <a href="faq.html#devtools">two</a>), and
  295. <a href="faq.html#q:opensource">AspectJ as open-source</a>.
  296. </p>
  297. <p>
  298. Enjoy the language!
  299. </p>
  300. <p>
  301. The AspectJ Team
  302. </p>
  303. <hr>
  304. <small>
  305. <a href="#top">Top</a>
  306. </small>
  307. </body> </html>