What is preverification ?

Answer Posted / guest

Preverification is a new phase in the development and
deployment cycle for Java applications designed to run on
the J2ME CLDC.

Preverification performs certain checks on the Java
bytecodes ahead of runtime. If this first verification pass
is ok, the preverifier annotates the classfiles (using
standard Java bytecode "attributes", so that these are still
plain old Java bytecodes and will be executable in VMs not
aware of the benefits of preverification), and then saves
the annotated class files or passes them along to the next
tool in the compile chain.

When the KVM attempts to run execute a J2ME CLDC-based
application, it checks the Java class files for these
preverification annotations. Proper annotations in the class
files guarantee that certain compile-time checks were made,
and so the KVM can pass through its own verfication and
security checks much faster and start executing the
application more quickly.

Sun's CLDC reference implementation SDK includes the
'preverify' tool. You use the tool after compiling your code
via javac (or your favorite Java compiler). More information
on preverify is included in the CLDC specification and in
the developer docs included with the CLDC SDK.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

create a midp application,where user can enter player name and points.the program saves the information to the record using RMS at MIDP device.program should also print out the top 10 player list to the end user.

2896


In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?

1783


What is amps ?

588


Is there any framework in j2me that supports for all three HTc,iphone,Nokia phones.

1874


Memory managment technique in j2me

1785






Memory managment technique in j2me

1703


Write a Java program to deactivate a cell phone when authentication failed

1725


What is j2me in mobile computing?

478


what is the application compatability?

1727


11 is a group of specifications for wireless networks developed by the Institute of Electrical and Electronics Engineers (IEEE). 802.11 uses the Ethernet protocol and CSMA/CA (carrier sense multiple access with collision avoidance) for path sharing.

533


what are all contain highlevel api?

1729


Give the name of classes of j2se which is not used in j2me

1805


create a menu which has the following options:cut-can be on/off,copy-can be on/off,paste-can be on/off,delete-can be on/off,select all-put all4 options on,unselect all-put all 4 options off,using event handling in MIDP application

5236


what is the use of wtk?

1548


where images can be stored in j2me?

1996