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
Why is a constructor needed in a servlet even if we use the init method?
Explain jsessionid and when is it created?
How can you start a jta transaction from a servlet deployed on jboss?
What are the exceptions thrown by servlets? Why?
How can we refresh automatically when new data is entered into the database?
Which java application server is the best?
How to rectify errors in java servlet while compilation?
Explain Action Servlet?
How do you invoke a Servlet? What is the difference between doPost method and doGet method?
Describe servlet?
What is the difference between 2 types of servlets?
What are the drawbacks of cgi?
What are the uses of servlets?
what is servlet chaining?
Define the life cycle of a servlets.