What is the use of log4j and how to make use of
that in a application?
Answers were Sorted based on User's Feedback
Answer / suresh gangula
log4j can be used for writing the log messages to various
kinds of destinations like a file, database, console etc...
It is always advisable to use some sort of logging API to
generate the log messages.the log messages helps the end
user as well as the developer of the application, to kow
about what the application has done and why the application
has failed, etc...
It is developed by Apache and this is used as part of
various products like hibernate, struts, strings etc...
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / ramarao
log4j is a mechanism to find out the proper execution flow
of our application.
for this we use third party tool log4j developed by apache.
| Is This Answer Correct ? | 3 Yes | 0 No |
What do you understand by synchronization? Why is it important?
what protocols does JNDI provide an interface to?
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
what is the difference between banking and insurance domain?
What is the servletcontext listener and what is JspContext and page context pls tell in simple words.
How do you debug your java program?
How many controlers are there in spring? Plz send me ans
Explain JSP life cycle?
What are the considerations to be made in case of loops in java ?
what is diff string and stringbuffer
what debugging tool that can be used to debug the java programs?
please mail me the interview question based on java/j2ee