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

Given the request path below, which are context path, servlet path and path info?

545


request parameter how to find whether a parameter exists in the request object?

573


What is java servlet session?

528


What is the disadvantage of cookies?

578


Define the servlet mapping.

548






How do cookies work in servlets?

581


How is an application exception handling is done using a servlet?

539


What do you mean by a filter and how does it work?

539


Why do we use sendredirect() method?

550


Which interface should be implemented by all servlets?

700


What is http servlet in java?

562


What is the default http method in the servlet?

766


What is the GenericServlet class?

603


What do you mean by web applications? Explain web application directory arrangement?

540


What are the steps that are required to handle the multi-threading?

597