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
Given the request path below, which are context path, servlet path and path info?
request parameter how to find whether a parameter exists in the request object?
What is java servlet session?
What is the disadvantage of cookies?
Define the servlet mapping.
How do cookies work in servlets?
How is an application exception handling is done using a servlet?
What do you mean by a filter and how does it work?
Why do we use sendredirect() method?
Which interface should be implemented by all servlets?
What is http servlet in java?
What is the default http method in the servlet?
What is the GenericServlet class?
What do you mean by web applications? Explain web application directory arrangement?
What are the steps that are required to handle the multi-threading?