Refresh Your Java - Before Java Interview
We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....
init() method will be invoked only once in
Servlet Life Cycle by Servlet Container, this could be overriden
by you.
In most of the cases if you do one-time tasks
such as loading the applications properties or reading
Configurations could be done in
This method. Please see below for more details.
public void init(ServletConfig config) throws
ServletException {
super.init(config);
try {
String log4jPropFileName = null;
String legacyServiceConfig =
getInitParameter(LEGACY_CONFIG);
log4jPropFileName =
legacyProp.getProperty(LOGGING_PROPERTIES);
if (log4jPropFileName != null) {
URL url =
Logger.class.getClassLoader().getResource(log4jPropFileName);
}
}
This Portal is intended to put all Java/J2ee related topics at one single place for quick referance, not only Technical , but also the Project Management Related thing such as Development Process methodoogies build process, unit testing etc.,
This Portal has More than 500 Java Interview Questions (also could be Considered as Quick Notes) very neatly separated topic by topic with simple diagrams which makes you easily understandable. Importantly these are from our Realtime expericance.