i have class files in class folder. but i have no java files.
but i want to modify the java files which are related to
class files . how ?

Answer Posted / geetha

Javassist (Java programming assistant) is a load-time
reflective system for Java. It is a class library for
editing bytecodes in Java; it enables Java programs to
define a new class at runtime and to modify a class file
before the JVM loads it. Unlike other similar systems,
Javassist provides source-level abstraction; programmers
can modify a class file without detailed knowledge of the
Java bytecode. They do not have to even write an inserted
bytecode sequence; Javassist instead can compile a fragment
of source text on line (for example, just a single
statement). This ease of use is a unique feature of
Javassit against other tools.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the working of service() method of a servlet.

494


Can you create a deadlock condition on a servlet?

585


What do you mean by deployment descriptor?

545


What is the purpose of inter-servlet communication?

583


Can servlet have a constructor ?

586






Can we use threads in Servlets?

642


What are the uses of servlets?

610


What do you mean by request dispatcher in servlet?

602


What exactly is a servlet?

537


Is servlet a server side scripting language?

546


What are the various ways of session supervision in servlets?

512


Which java application server is the best?

542


What are the different ways we can maintain state between requests?

565


How can you run a servlet program?

595


Which application server is best for java?

550