Refresh Your Java - Before Java Interview
We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....
Step 1 : Create a Service "YourPageManager" with different methods
Step 2: Add the following Spring Config.
<dwr:remote
javascript="YourPageManagerJS">
<dwr:include
method="getAccountSalesList"/>
<dwr:include
method="getEmailAddressByWebUserObjid"/>
<dwr:include
method="getStates"/>
<dwr:include
method="getTransportType"/>
<dwr:include
method="getContacts"/>
<dwr:include
method="findContacts"/>
<dwr:filter
class="com.your.ajax.DwrSecurityFilter"/>
</dwr:remote>
<dwr:configuration>
<dwr:convert
type="bean"
class="com.yourApp.ContactDetails"
javascript="Contact" />
</dwr:configuration>
<bean id="Contact"
class="com.yourApp.ContactDetails">
</bean>
Step 3 :
Add the following to JSP
Jsp changes :
<script type="text/javascript"
src="<%=request.getContextPath()%>/dwr/engine.js"></script>
<script type="text/javascript"
src="<%=request.getContextPath()%>/dwr/util.js"></script>
<script type="text/javascript"
src="<%=request.getContextPath()%>/dwr/interface/YourPageManagerJS.js"></script>
YourPageManagerJS.addContactsToDTO(contactInfo,
function(data){
window.saveClicked =
false;
window.contactSaved =
true;
});
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.