![]() The calls in each JVM are shown in a different color.Ĥ. For example, when an application calls a web service running in a different JVM, the call flow across the JVMs is shown in a single sequence diagram. The call trace captured on different JVM's can be merged to view the end-to-end call flow across JVM's. MaintainJ supports tracing applications deployed across multiple JVM's. All these details help developers to quickly troubleshoot a problem or to analyze and enhance the application.ģ. The runtime SQL calls made during a use case, regardless of the database frameworks used, are shown. The arguments and return value of the call are shown in the sequence diagram. MaintainJ generates detailed runtime sequence and class diagrams for a single use case. The MaintainJ demo video is recorded on a Java application that has 8000+ classes, runs on Tomcat and MySQL and uses Spring and Hibernate frameworks.Ģ. Using MaintainJ, Java developers can quickly analyze, understand, document and enhance large Java code bases. Copy the trace files to this project and open to view the diagrams in MaintainJ UML Editor. View the DiagramsĬreate a MaintainJ Trace Files Project by following File->New->Project->MaintainJ->MaintainJ Trace Files Project. The call trace will be logged to the given file when 'Stop Tracing' is clicked. Click 'Start Tracing' button before a use case starts and 'Stop Tracing' at the end of the use case. The call trace will be logged to the given file when 'Stop Tracing' is clicked.ī) J2SE/Applet/JUnit - A Swing window in which you can start and stop tracing opens when your instrumented application starts. You need to click a 'Start Tracing' button before a use case starts and click 'Stop Tracing' at the end of the use case. Call trace for the use case will be logged to the given trace file (.ser file).Ī) J2EE Applications - A JSP is provided to demarcate the start and end points. Next, run the instrumented application and demarcate the start and end points of a use case. Contact support if you are using any other database. MaintainJ supports Oracle, DB2, MySQL, PostgreSQL, Derby Sybase and SQL Server out of the box. ![]() We would add support to your server on request.Ĭ) Databases - MaintainJ captures the actual runtime sql calls sent to the database regardless of the JDBC frameworks used by the application. If your server is not supported, follow these steps to generate Glassfish and Jetty servers are also supported. The JRE versions currently supported are 1.4, 1.5, 1.6, 1.7 and 1.8.Ī) J2SE Applications/Applets/JUnit - Tracing J2SE applications (Swing or non-GUI), Applets and JUnit is supported.ī) J2EE Applications - The following J2EE application server are supported - Tomcat 4, 5, 6 & 7, JBoss 3, 4, 5 & 6, WebLogic 8, 9 & 10, WebSphere 5, 6 & 7. In fact, any non-J2ME Java applications can use MaintainJ by following these steps. Instrumented applications are slow to service the first request but perform with little overhead later.īelow are the types of Java applications supported out-of-the box by MaintainJ. You can choose the packages to be instrumented. No changes are done to the source files nor any changes are persisted to file system. This step changes class files at runtime. The following are the three steps to generate the diagrams: You may want to check the sample screenshots of the generated sequence and class diagrams. You can trace applications running on a single JVM or on multiple JVM's and view the end-to-end call trace in a single sequence diagram. The captured information includes data at each method call, any sql calls to the database and the response time of each call. MaintainJ generates runtime sequence diagrams using the call trace captured for a single use case while you run the application. ![]() It also helps to document Java applications using sequence and class diagrams. MaintainJ reduces the time needed to understand complex enterprise Java applications from days to minutes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |