1. If you want to extend/create your own UI component for a cockpit the GUI web framework you have to use is:
o ZK
o Spring MVC
o AJAX
o JSP
2. Eachtime you implement a custom webservice resource in hybris to complete the build and deploy process you must
o Run the ant webservice_nature task
o Run the ant clean all task
o Edit the relevant spring.xml file and run ant
o Do nothing. New webservice resources are auto compiled and hot deployed
3. The hybris platform is configured to run against HSQL by default, which of the following is true?
o HSQL is the recommended DB to use for production environments
o Configuring HSQL to run in memory is a useful configuration for debugging transactions
o HSQL is only recommended for development or test environments
o Configuring HSQL is run in memory is the recommended way to guarantee good performance in clustered production environments.
4. When defining enum types for use by hybris item type which of the following is true?
o Enum types must be defined in java code before being reference by hybris generated item classes
o Enum types can be defined by using the <enumtyype> tag in relevant –items.xml
o Enum types can be defined inside the <itemtype> tag of the item type which needs to reference them
o A default value can be set using the <defaultvalue> tag in relevant –tems.xml
5. When your extension has dependency on one of the platform extensions (like validation or catalog) you need to:
o Use the requires tag in extensioninfo.xml file of your extension
o Use the requires tag in local.properties file of config project
o Usually nothing, dependencies on platform are resolved by default
o Use the importextension in your java code to import the extension you wish to import
6. In which case you must restart the hybris server for your changes to take effect
o After initializing the system data for first time
o After creating or updating cockpit configuration file
o After adding a new spring bean to one of the spring configuration file
o After editing any JSP files
7. In the development environment you wanted to configure a setting to specify a JDBC url the best place to put it would be
o The extensioninfo.xml file of your extension
o The project.properties file in platform bin directory
o The localextensions.xml in configuration directory/Eclipse project
o The local.properties in configuration directory/Eclipse project
8. Which of the following is true about the configuration setting in project.properties file in the server platform directory?
o System configuration setting should not be added to this file, because the file will be overridden when you update the platform version
o After any changes are made to this file a complete clean and rebuild should be performed using ant clean all
o Any setting in this file will be override any local propertied you set in your extensions or in the configuration folder/Eclipse project
o Any local properties you set in your extensions or in the configuration folder/Eclipse project will override any properties in this file
9. When implementing dynamic attributes in hybris which of the following applies?
o You can read and or write logic by implementing the DynamicAttributeHandler interface
o You must define a custom type which is specifically enabled for dynamic attributes
o You must specify <persistence type=”property” > in your –items.xml file
o You don’t need to create any configuration information. Hybris uses the type interface to detect dynamic types
10. Which of the following are true about cronjobs in hybris platform?
o A cronjob is a means for performing business logic at particular times and intervals
o Cronjobs are a thin wrapper around your OS’s cronjob mechanism
o They can only use when hybris is running on Linux
o You can use some existing useful cronjobs in platform or you can create own using java code