Pages

Thursday, July 19, 2012

Abstract Syntax Tree manipulation with WebSphere Application Server

Recently I had the chance to work with Abstract Syntax Trees to improve the structure of the servlet code generated by the Jasper compiler. All the eclipse libraries needed for AST manipulation are available in WAS_HOME/plugins directory.  Here are some of the articles that I found helpful when writing the  servlet code AST manipulator
http://www.eclipse.org/jdt/ui/astview/index.php
http://www.eclipse.org/articles/article.php?file=Article-JavaCodeManipulation_AST/index.html
http://www.ibm.com/developerworks/opensource/library/os-ast/
http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.jdt.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fjdt%2Fcore%2Fdom%2FAST.html
http://publib.boulder.ibm.com/infocenter/iadthelp/v6r0/index.jsp?topic=/org.eclipse.jdt.doc.isv/reference/api/org/eclipse/jdt/core/dom/AST.html
http://stackoverflow.com/questions/9105019/how-to-find-an-element-given-its-source-position-in-a-java-ast
http://www.eclipse.org/forums/index.php/t/229105/
http://www.eclipse.org/articles/article.php?file=Article-JavaCodeManipulation_AST/index.html
http://www.eclipse.org/forums/index.php/t/83151/

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.