Refresh Your Java - Before Java Interview
We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....
In Real Time applications, the "External
Config" files play very important role.
Externalizing the Property files could ease your build and
deployment process.
As these are placed in an external location (not
included in WAR file) any change
to these would not
require a new build and deployment.
In
order to externilize the property files, you just need to place
the property files in
an external folder and make that
folder accessible to JVM by putting that in Classpath
as
shown below. Assume that you place your propety files in
"C:\conf"
i) Add this Folder to
Set ENV or server Start Up script like this.
set
"CLASSPATH=%CLASSPATH%%CATALINA_HOME%\bin\bootstrap.jar;C:\conf
ii) Or Add this right after Java Cmd as below.
java -cp c:\conf
yourClass
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.