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.

6 comments:

  1. Another good site for WCS posts-

    http://www.buggybread.com/search/label/IBM%20WCS

    ReplyDelete
  2. Another post on Interview Questions and Answers ..

    http://www.buggybread.com/2013/03/ibm-wcs-websphere-commerce-interview.html

    ReplyDelete
  3. kingofwcs.blogspot.com

    ReplyDelete
  4. Another post on Interview Questions and Answers ..
    http://cceil.biz/cceil/websphere-commerce-server/websphere-commerce-server-interview-questions/

    ReplyDelete
  5. check this WCS Blog

    deepakpadmakumar.blogspot.com

    ReplyDelete
  6. Hi folks,
    I'm working on promotion related stuff in WCS 7. I just want to create a promotion with following condition :
    The customer could make a single purchase of 1, 2 or 3 pants and receive 25% off of each of the items. If the customer tries to purchase additional quantity of pants, they would not receive the discount. Additionally, if the customer only purchased 2 pants and then added another set to the cart, the discount would not be applied.
    Or like

    Will OOB support this functionality? For e.g., Get 10% off on product X, maximum upto 5
    quantities. Can you please help me?
    I just want to limit the customer to apply the promotion for single order of maximum 5 qty. If he applied promotion for cart with 3 item in an order and for second order he should not allowed to apply same promotion for even 1 qty.
    I've tried up with following data set up to achieve the requirement ,
    #1
    Maximum redemption for this Promotion = Unlimited
    Maximum redemption on single order = 5
    Maximum redemption by a single customer =5
    For this setup, I'm able to apply promotion for second order for same Customer. (So, this Promo setup is failed)
    #2
    Maximum redemption for this Promotion = Unlimited
    Maximum redemption on single order = 5
    Maximum redemption by a single customer =1
    For this setup,
    I'm unable to apply promotion for more than one qty in a single order for single customer(if the order has 5 qty). (So, this Promo setup is failed)
    #3
    Maximum redemption for this Promotion = Unlimited
    Maximum redemption on single order = 1
    Maximum redemption by a single customer =5
    For this setup, I'm able to apply promotion for second order for same Customer. (So, this Promo setup is failed).

    I have checked with OOB machine also, both are behaving similarly.
    Promotion type : percentage off individual catentry promotion.

    If you need further details please let me know.

    Thanks in advance !

    ReplyDelete