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
Explain the servlet filter.
What is a deployment descriptor?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
How to rectify errors in java servlet while compilation?
How do we share data using 'getservletcontext ()?
What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?
What are the uses of servlets?
What are the uses of servlet
Is servlet thread safe?
What are the types of servlets? Explain
Why do we need servlet filter?
What is servlet in web technology?
What is cgi and what are its drawbacks?
Write a servlet to upload file on server.
Define the lifecycle for executing a jsp page.