Wednesday, January 5, 2011

WebSphere Commerce interview questions.

basic questions for WCS , Interview Questions Wcs , Interview Questions
WebSphere Commerce: WCS interview questions
websphere commerce interview questions ,Websphere Commerce interview questions and answers
webspherecommerceserver wcs interview questions websphere interview questions and answers

General

  • JSTL tags and its details?
  • How to configure JMS in wcs?
  • How to develop webservice in wcs?
  • Explain the access control policy?What is the purpose of access control policy?
  • How to publish the store?what you mean by starter store?
  • How to setup payment ,tables,payment policy,payment types ?
  • Explain the Dynacache?
  • How to enable single sign on?
  • How to enable cross site scripting?
  • How to do fitgap analysis in WCS?
  • What the EJB transaction parameters?
  • which are different types of entity beans n which one is used in commerce?
  • Which are the different types of databeans. What is commonly used in commerce.when do we use it?
  • which are the different flavours of EJB in wcs ?
  • What are acessbeans? What is the advantage of accessbean?
  • How to read the object status from the Remote Java VM?
  • Steps of insert and read data into commerce tables?
  • State one diff between 6.0 and 7.0 commerce version?
  • what is optimistic locking?
  • Which are the different subsystems in commerce?
  • What are the different tools available in commerce?
  • How to schedule job in the commerce ,tables ?
  • Which are the different databases which commerce supports?
  • Which is default database in commerce?
  • Explain Control command and task command in wcs ?
  • What is the use of KEYS table in wcs ?
  • What is the use of CMDREG table in wcs ?
  • How to instatiate a databean -2 ways?
  • What is a command context.?
  • List different types of command context ?
  • How do you instantiate a task command ?
  • Can we instantiate controller command from another controller command ?
  • How do you pass data from controller command to task command?
  • Name five methods available in a Controller command?
  • What is validateParameters() used for?
  • What is the purpose of isRetriable() method in a controller command?
  • what is the first method executed when a controller command is invoked?
  • What is the method called when a databean is invoked?
  • what is the use of optCounter field?
  • List all tag libraries used in a JSP?
  • Why is struts-config entry required while creating a JSP or a command?
  • What is the use of commitCopyHelper() and refreshCopyHelper()?
  • What does map.mapxmi file contain?
  • what does stores project contain?
  • While creating a new View, what are the entries made in struts-config xml?
  • What is format tag used for?
  • what is a locale?
  • What does SAR file mean?
  • What is the default store for b2c?
  • What are the different editions of WCS?
  • List the different business models of wcs ?
  • Which are different types of Exceptions used in commerce?
  • Whats the difference between system Exception and Application Exception?
  • Which exception is retriable?
  • How can we make a command retriable?
  • Which the main Exception class used in commerce?
  • Functional architecture and Runtime architecture of WCS 6.0/WCS 7.0.
Member subsystem
  • Organization hirarchy?
  • Different tables used for user registraton?
  • Releationship between the user and organization?
  • How to create roles ?
  • How to create users?
  • How to create organization?
  • What are the different typs of user types?
  • What are the different types of member groups

Merchandizing
  • How to setup promotion- explain the tables used for promotion ?
  • How to create campagin activity?
  • What are the diffent activity in marketing campaign?

Order Subsystem
  • Explain the differnt order status?
  • Difference between the order item and orders and tables ?
  • Different types of promotions and details with tables?
  • Explain the Calculation frame work with example and tables?
Accelerator
  • Explain the Acceleretor framework?
  • Explain in detal any customisations or development done in acceleretor using Notebook, Wizard, Dialogs?
  • Best practices for customizing accelretor?

Adminstration
  • How to setup the email?
  • What is the use of transport option in administration console?

Contracts
  • How to create contract?
  • How to setup the Catalog filter and explain with tables?

Catalog
  • Difference between mastercatalog and sales catalog?
  • How to setup different category - tables and commands?
  • Explain the SKU,partnumber with catalog tables?
  • What is dictionary?
  • Which tool is used for catalog management ?
  • what is the difference between product and item?
wcs7.0
  • About wcf

49 comments:

  1. Hi , if you need answer for any specific questions . please put use comments sections

    ReplyDelete
    Replies
    1. Some more use full links
      http://www.buggybread.com/2013/03/ibm-wcs-websphere-commerce-interview.html

      http://sureshraja-wcs.blogspot.co.uk/2012/08/wcs-interview-questions.html

      Delete
  2. Please select any question for answer..

    ReplyDelete
  3. can u write down answer for all the questions mentioned above... it would be useful for beginners like me...

    ReplyDelete
  4. Yes it will be better for the novice like us if yu post all the answers. Thanks!

    ReplyDelete
  5. Guys .. if answer need for any specific question , i can help..

    ReplyDelete
    Replies
    1. How to enable single sign on?
      plz mail me the ans to reddy.gmm99@gmail.com

      Delete
  6. This comment has been removed by a blog administrator.

    ReplyDelete
  7. Hi Bipin ,

    I have a problem in setting the Inbound Queue and OutBound Queue.
    Can you please give the steps to set up and how to retrieve messages from inbound queue.
    If possible with a code example.
    It will be of gr8 help.
    I am using wcs6.0
    Thanks in Advance.

    ReplyDelete
  8. Can you explain more on validateParameters() implementation in a custom controller command with an example?

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. Hi,

    Is it possible to invoke task command directly from URL?.

    ReplyDelete
  11. Hi,
    I'm new to WCS ,Can u please guide,what are all the oob commands can be user from order creation to till order placing,in step by step flow

    ReplyDelete
  12. Can you please explain in detail any customisations or development done in acceleretor using Notebook, Wizard, Dialogs?

    ReplyDelete
  13. Thanks for compiling and posting questions here,

    all those who asking for answers , guys you should know answers if you worked/ had working experience in WCS, just don't ask the answer for the sake of interview, and also it;s not common to know all answer for a huge product like WCS.
    the questions should serve has refresher to recollecting the work done in past in WCS but not to get through the interview.

    ReplyDelete
  14. This has been a wonderful attempt. Collection of questions is really elaborate that would help one recollect all that she has worked on.

    Thanks a bunch !!

    ReplyDelete
  15. This comment has been removed by the author.

    ReplyDelete
  16. any idea about feature pack 4.0 ?

    ReplyDelete
    Replies
    1. feature pack 4 is mainly for mobile mobile optimized site and mobile APP(ios and andriod).

      Delete
  17. what is the main diff b/w controllercommand and taskcommand

    ReplyDelete
  18. Please send me detail answers, if possible.

    ReplyDelete
  19. can we call a task command with in the task command
    please let me know

    ReplyDelete
  20. Yes we can call a task command from both controller command and task command.

    ReplyDelete
    Replies
    1. Hi Sunitha,

      Can you share me catalog interview questions and answers related to catalog subsystem.my mail id is yugeshmani@gmail.com

      Delete
  21. Can you please provide the ans for below Que:-

    --Which are different types of Exceptions used in commerce?

    --Whats the difference between system Exception and Application Exception?

    --Which exception is retriable?

    --How can we make a command retriable?

    ReplyDelete
    Replies
    1. 1) ECApplicationException
      This exception is thrown if the error is related to user input and will always fail. For example, when a user enters an invalid parameter, an ECApplicationException is thrown. When this exception is thrown, the solution controller does not retry the command, even if it is specified as a retriable command.
      2) ECSystemException
      This exception is thrown if a runtime exception or a WebSphere Commerce configuration error is detected. Examples of this type of exception include create exceptions, remote exceptions, and other EJB exceptions. When this type of exception is thrown, the solution controller retries the command if the command is retriable and the exception was caused by either a database deadlock or database rollback.

      We can make command retriable by setting the method isRetriable in command class.

      Delete
  22. Hi Bipin,

    I want to know why WCS uses Command pattern? Where and how it takes the advantage of this pattern?

    ReplyDelete
  23. Command beans follow a specific design pattern. Every command includes both an interface class and an implementation class. From a caller's perspective, the invocation logic involves setting input properties, invoking an execute() method, and retrieving output properties.

    From the perspective of the command implementer, commands follow the WebSphere command framework, which implements the standard command design pattern allowing a level of indirection between the caller and the implementation. The key mechanisms enabled within this level of indirection include:
    - The ability to invoke an access control policy manager that determines if the user is allowed to invoke the command.
    - The ability to execute a different command implementation for different stores, based upon the store identifier.

    ReplyDelete
  24. Hi Bipin,

    I have a question regarding Promotion Framework. Suppose i have created a promotion requiring PromotionCode. If i need to display the description of PromotionCode that user has applied, How can we do that? As if now i am only aware that descriptions are saved in CALCODE table.

    ReplyDelete
    Replies
    1. Hi Neelam,

      You have OrderPromotionCodeAccessBean from OOTB implementation. It gives you the promotion code that is associated with the current order.

      You can get access to PromotionKey object and you can load DefaultPromotion object using this promotion key. I am giving a sample code here, which is not exact. But by using the below info, you should be able to get clear details from either info center or from the check out JSP page of a sample starter store.

      PromotionSessionBeanPersistenceManager promoManager = new PromotionSessionBeanPersistenceManager();
      PromotionKey promoKey = promoManager.findActivePromotionByCodeAndStoreID ( String promoCode, Integer storeId);
      DefaultPromotion promo = (DefaultPromotion) promoManager.load(promoKey);
      String description = promo.getDescription();

      Delete
  25. Hi, Can anyone explain validateproperties method in controller command? Is it builtin method to validate parameters? or can we vlaidate parameters in performexecute method only? I believe we can get typedproperties in performexecute method for validation.

    ReplyDelete
  26. Validate parameter method should get call before perform execute ,this will validate the required parameters before calling the actual business logic ,but it is not necessary to overridden.

    ReplyDelete
  27. Hi,Can anyone please tell me when exactly does the Promotion Engine come into picture during order checkout flow?When does WCS check if there are any promotions associated with a product/item or order?

    ReplyDelete
  28. Question : How can we make a command retriable?

    ReplyDelete
  29. A retriable command is a controller command that can re-execute itself after encountering a system-level exception during the command execution.

    To make an existing controller command retriable, must perform one of the following steps:
    a. Set the retriable properties in the PROPERTIES column of the CMDREG database table, where PROPERTIES is the default properties associated with this command. The properties are in the property1=value1&property2=value2 form, where propertyn is the name of the property and valuen is the value corresponding to the property.
    b. Set an instance property in the wc-server.xml file.

    ReplyDelete
  30. Hi ,could you pls provide ans for question

    What is the use of KEYS table in wcs ?

    ReplyDelete
    Replies
    1. http://publib.boulder.ibm.com/infocenter/wchelp/v5r6/index.jsp?topic=/com.ibm.commerce.database.doc/database/keys.htm

      Delete
  31. can anyone help me in getting the download of wcs for students???

    ReplyDelete
  32. Is is possible to optimize Out of the Box OrderProccessCmd?
    Please suggest me ways to do the same

    ReplyDelete
  33. Hi,i am new to WCS,How to devlop wcs applications in rad,what are the steps are involved in this situation?

    ReplyDelete
  34. Hi Bipin,

    Could u plz provide me some interview questions related to WCS Admin .Plz mail me : was.karthik@yahoo.com

    ....Karthik

    ReplyDelete
  35. here is another post on WCS interview questions and answers ..

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

    ReplyDelete
  36. How do you instantiate a task command ?

    ReplyDelete
  37. Instantiation of a Task Command
    TaskCmd ObjectName =CommandFactory.CreateCommand("CommandPath",StoreId);

    ReplyDelete