Showing posts with label wcs interview question. Show all posts
Showing posts with label wcs interview question. Show all posts

WCS Interview Question

Q1 ) what is the difference between the controller command and task command.
        ANS : Generally controller command is the main command which we used to call from the JSP to process the request, But task command is used to perform some specific task like for inventory check, price check, these are handled through task commands, so task command are command which perform specific task for controller command. DIFFERENCE - By the above statement we can visualize that Controller command is required to be configure in the struts file, but task command is not required to be configured in struts, rest everything is same in both.

Q2) What is ObjectNotFoundException and FinderException ?
        ANS : ObjectNotFoundException is the subclass of FinderExcepton, So when the AccessBean finder method  return empty row, we get ObjectNotFoundException, but as generally we throw FinderException in EJB, so ObjectNotFoundException is catched in FinderException and thrown.

Q3) Difference Between Products and Items?
          ANS :  click here

Q4) Difference between different types of DataBean?
Q5) What is EJB copyHelper?
Q6) General difference between B2B and B2C shopping flow?
Q7) General difference between B2B and B2C shopping flow in mobile?
Q8) important jsp tags in WCS.
Q9) How can we create a site for multilingual sites?
Q9) Difference between well formed and well managed xmls?
Q10) Access Control Policy Tables and their relation.
Q11) How commerce is picking up different struts file from the project?
Q12) Is it mandatory to mention the struts file in web.xml?
Q13) What is reload interval? where do we configure reload interval?
        ANS : WC_eardir\Stores.war\WEB-INF\ibm-web-ext.xml -- change reload-interval
                   reload interval is generally used at the time when we are doing caching. if we make the relaod-interval to 10 then  the jsp  compilation interval will be 10 sec.