Refresh Your Java - Before Java Interview
We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....
As we all know JSP will be compiled and converted
into Servlets upon their First time access,
this
degrades the Performance. So to avoid this in Real Time
Applications, JSP are compiled
and converted into
Servlets Classes while deploying the Application.
Weblogic
:
Place the following in weblogic.xml.
precompile
<jsp-descriptor>
<jsp-param>
<param-name>precompile</param-name>
<param-value>true</param-value>
</jsp-param>
</jsp-descriptor>
Tomcat
:
Use this in your Build.xml
<taskdef
classname="org.apache.jasper.JspC"
name="jasper" >
<classpath>
<pathelement
location="${java.home}/../lib/tools.jar"/>
<fileset
dir="${ENV.CATALINA_HOME}/lib">
<include name="*.jar"/>
</fileset>
<path refid="myjars"/>
</classpath>
</taskdef>
<jasper verbose="0"
package="my.package"
uriroot="${webapps.dir}/${webapp.name}"
webXmlFragment="${build.dir}/generated_web.xml"
outputDir="${webapp.dir}/${webapp.name}/WEB-INF/src/my/package"
/>
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.