Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: IBM Real-Time Class Analysis Tool for Java

A tool enabling the deployment of real-time Java applications without manual definition of classes to be preloaded.

Tutorial Details:

Developers of real-time Java™ applications must ensure that, during execution of their application, there are no unpredictable delays caused by class loading. Traditionally, this problem has been resolved by manually loading classes in advance, which is an error-prone and cumbersome process that requires updating when the application is modified. Another approach is to preload all the classes, but that unfortunately takes significantly more time and space.

IBM Real-Time Class Analysis Tool for Java provides real-time developers with a means of deploying their Java applications without manually defining the classes that should be preloaded.

In order to determine the list of classes that the application will actually use and reference, this tool scans the Java bytecode of the user's application as well as the classes that it uses. The tool then generates a Java source file containing a static method that can be called by the application to preload and, optionally, pre-compile all these classes.

How does it work?
The tool reads the bytecode for the main method of the application and then proceeds to locate all methods that can be called by the main method. This process is repeated recursively until all methods have been loaded. Three key areas are tricky to handle:

* A method or an interface dispatch could go to many targets since Java is an object-oriented (OO) language. The algorithm is conservative and assumes all possible targets could be taken.

* A native method could call back into Java classes. The tool cannot 'see' native methods, so the application user can provide proxy classes that describe the classes reachable from these native methods. An initial set of proxy classes for the IBM JDK 5.0 JVM is provided, but it is currently incomplete.


 

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
IBM Real-Time Class Analysis Tool for Java

View Tutorial:
IBM Real-Time Class Analysis Tool for Java

Related Tutorials:

Integrating Databases
Integrating Databases
 
Use the JVM Profiler Interface for accurate timing - JavaWorld
Use the JVM Profiler Interface for accurate timing - JavaWorld
 
Build your own languages with JavaCC - JavaWorld December 2000
Build your own languages with JavaCC - JavaWorld December 2000
 
Introduction to the Java Mail API
Introduction to the Java Mail API
 
Eclipse casts shadows
Eclipse casts shadows
 
Best tools for mobile application development
Best tools for mobile application development
 
Profiling the profilers
Profiling the profilers
 
JView 2004 - J2EE Performance Management Software - Version 1.4
JView 2004 Enterprise Edition available now! JView 2004 is the leading J2EE Production Performance Monitor and Java Performance Tuning solution, providing precise real-time performance metrics to assist you in ensuring your performance requirements a
 
FindBugs, Part 1: Improve the quality of your code
FindBugs, Part 1: Improve the quality of your code One of the problems with code quality tools is that they tend to overwhelm developers with problems that aren't really problems -- that is, false positives. When false positives occur, developers learn
 
JSyntaxColor 1.2.7
JSyntaxColor 1.2.7 JSyntaxColor is a library for coloring in real time user text input.
 
Comparing The Performance of J2EE Servers
Performance ReportThe standardization of the application server, thanks to Sun\'s J2EE specifications, has spawned a wealth of implementations. There are offerings from big players such as Sun, IBM, BEA and Oracle as well as numerous offerings from low-co
 
Java theory and practice: Kill bugs dead
Inspection tools like FindBugs provide a second layer of defense against common coding errors.
 
STRAP - Interactive alignment program for proteins
Structural Alignment Program for Proteins Welcome to STRAP, an editor for multiple sequence alignments of proteins. The computer program STRAP supports the analysis of hundreds of proteins and integrates amino acid sequence, secondary structure, 3D-struc
 
Annotations in Tiger, Part 1: Add metadata to Java code
Annotations, a new feature in J2SE 5.0 (Tiger), brings a much-needed metadata facility to the core Java language. In this first of a two-part series, author Brett McLaughlin explains why metadata is so useful, introduces you to annotations in the Java lan
 
SLAMD Distributed Load Generation Engine
SLAMD Distributed Load Generation Engine The SLAMD Distributed Load Generation Engine (SLAMD) is a Java-based application designed for stress testing and performance analysis of network-based applications. It was originally developed by Sun Microsystems,
 
Tools and Libraries for the Advancement of Sciences (was: J.A.D.E.)
Tools and Libraries for the Advancement of Sciences (was: J.A.D.E.) Our Vision To provide the most comprehensive Java TM library for the scientific community. To create synergy between all sciences (e.g. math, physics, sociology, biology, astron
 
JXMLPad 3.1 FC
JXMLPad is a pure Swing java component/framework for editing XML/XHTML document.
 
BioInformatics Tools
BioInformatics Tools BioInformatics Tools The Bioinformatics tools are the software programs for the saving, retrieving and analysis of Biological data and extracting the information from them. Factors that must be taken into consideration when
 
SDE for Eclipse
[[http://www.visual-paradigm.com/sdeec.php][The SDE 2.0 for Eclipse (SDE-EC)]] is a powerful, yet the most easy-to-use UML Modelling plugin for Eclipse.
 
Solaris 10 OS Released
The Solaris 10 Operating System is now officially a production release. Download it today at no cost and see how Solaris software can make a difference for you.
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.