IBM API Usage Scanner entry

  Abstract: IBM API Usage Scanner entry 

  : 

  IBM API Usage Scanner entry 

  Author: cleverpig 

  Disclaimer: This article can be freely reproduced, reprint, be sure to identify the form of hyperlinks to the original source and author of the article and the information statement Author: cleverpig (http://blog.matrix.org.cn/page/cleverpig) 
  Original: http://www.matrix.org.cn/resource/article/44/44010_API_Usage_Scanner.html [http://www.matrix.org.cn/resource/article/44/44010_API_Usage_Scanner.html] [/ url] 
  Keywords: API Usage Scanner 

  First, what API Usage Scanner: 

  Binary compatibility and tolerance is for the customers, some of the largest, most frequently experienced problems.    Upgrade their applications or used in the operation of some parts of the software stack, binary compatibility and tolerance of the problem often leads to unpredictable damage.    Lead to devastating one of the leading factors in the software products used for the publication of an API.    Therefore, when an application upgrade or services, some changes have taken place within the API, thereby undermining its dependence on software products, this will undermine the stability of the operation of customers.    In order to maintain and enhance the stability of software products, it should be vulnerable to the eradication of the above dependence. 

  API Usage Scanner (AUS) tools can help us fast definition of an API usage, compatibility issues that can be avoided or corrected.    AUS is a pure JAVA tools, it can scan Java Bytecode quoted in the API.    From another perspective, AUS also can be used to scan some software products, the dependence of its other software products within the API use.    When the internal software products API usage is marked, above stresses the vulnerability of dependence can be updated through the use of the API issued by the replacement of these internal API source of the problem, and be eliminated.    If the current absence of an effective API was released, the product group can be timely notification between those two products on the fragile expansion interface API developers, and they have also proposed to maintain the stability of the API requirements, until a set of stable Replacement of the API.    Some IBM's flagship product has been such implementation, and was a great success. 

  Similarly, a client-oriented service group transplantation can be used to identify the products AUS version transplantation or transplantation platform that occur when destructive.    This information will help the teams and their clients access to the project areas and a better understanding of risk. 

  Second, a package issued AUS: 

  AUS distribution package is very simple, containing only four elements: an executable file, an information centre, a documentation and an example of a simple application. 

  3, AUS how: 

  In AUS use, we need to compile a set of the Java class files or documents from the class consisting of JAR, WAR, EAR file as input.    This document with the input, but also configured for generating a report of the scanning rules.    Two reports can be XML, HTML format generated.    Benefit analysis report HTML, XML report can be used to deal with the late scan (for example, converted to other formats data). 

  4, installation AUS: 

  1.    System environment: 

  Java version: Java Run-time Environment (JRE) 1.4 or above 

  Browser: support EMCAScript (JavaScript) and Cascading Stylesheets Level 2 (CSS2).    AUS has been with the Internet Explorer 6.x, Mozilla Firefox 1.0.x, Opera 8.x were tested. 

  2.    Installation steps: 

  1. Download compressed decompress. 

  2. Confirmed JAVA_HOME environment variable settings correct. 

  3. Entered AUS installed after the bin directory, the following order: 
  * On Windows ®: 
  Aus.bat-help (Windows) 
  * On Linux ®: 
  . / Aus.sh-help (Linux) 
  If that help information, that is installed correctly. 

  5, operation AUS: 

  AUS call the adoption of the following three ways: 

  * MS Windows batch file: bin / aus.bat 
  * Unix Bash script file: bin / aus.sh 
  * Use java-jar command execution lib / aus.jar document 

  Detailed scan configuration rules, see the InfoCenter AUS help files in the directory "Rule Construction Guide." 

  6, reference resources: 

  Http://www.alphaworks.ibm.com/tech/aus?open&S_TACT=105AGX59&S_CMP=GR 
  Java, java, J2SE, j2se, J2EE, j2ee, J2ME, j2me, ejb, ejb3, JBOSS, jboss, spring, hibernate, jdo, struts, webwork, ajax, AJAX, mysql, MySQL, Oracle, Weblogic, Websphere, scjp, scjd 

  IBM API Usage Scanner entry 

  Author: cleverpig 

  Disclaimer: This article can be freely reproduced, reprint, be sure to identify the form of hyperlinks to the original source and author of the article and the information statement Author: cleverpig (http://blog.matrix.org.cn/page/cleverpig) 
  Original: [http://www.matrix.org.cn/resource/article/44/44010_API_Usage_Scanner.html] http://www.matrix.o 
  ↑ Back 

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Facebook
  • DotNetKicks
  • DZone
  • Netvouz
  • Propeller

Recommend Articles

Comments

Leave a Reply