TY - JOUR AU1 - Song, Myoungkyu AU2 - Tilevich, Eli AU3 - Tansey, Wesley AB - Trailblazer: A Tool for Automated Annotation Refactoring Myoungkyu Song and Eli Tilevich Dept. of Computer Science Virginia Tech, Blacksburg, VA 24061, USA {mksong,tilevich}@cs.vt.edu Wesley Tansey Lincoln Vale LLC wtansey@lincolnvale.com Abstract Since annotations were added to the Java language, many enterprise frameworks have been transitioning to using annotated Plain Old Java Objects (POJOs) in their latest releases. Our automated refactoring tool, Trailblazer, alleviates the maintenance burden of such annotation refactoring tasks. The tool implements a novel approach that leverages a machine learning algorithm to infer semantics-preserving rules that are then used to automatically transform legacy Java classes. Using Trailblazer involves two phases. First, given an XML-based framework application, a programmer creates an annotation-based version of the application by hand, with Trailblazer recording the programmer ™s actions. Trailblazer then uses inductive learning to infer generalized upgrade rules. In the second phase, other programmers can apply the inferred general transformation rules to upgrade any other application that uses the same framework. Thus, once one developer has trailblazed through the hurdles of manually upgrading for a given framework, other developers can automatically follow along the beaten path. In this demonstration, we will use transparent persistence as our example domain to show how TI - Trailblazer: a tool for automated annotation refactoring DO - 10.1145/1639950.1640028 DA - 2009-10-25 UR - https://www.deepdyve.com/lp/association-for-computing-machinery/trailblazer-a-tool-for-automated-annotation-refactoring-ujfPNnVXqS DP - DeepDyve ER -