Two of the most used data structures used in java are HashMap and ArrayList. Inherited from different hierarchies, HashMap inherited from Map interface which represents key-value pairs form of data. ArrayList is inherited from List interface which arranges the data in sequential manner. Conversion of HashMap to ArrayList is not straight forward as there is no direct methods in HashMap which converts HashMap to ArrayList. Let’s see how to convert HashMap to ArrayList in java with examples.
Java Properties File
To store come configurable attributes of an application, we sometime use .properties files. Also know as Property Resource Bundles can be used to store strings for Internationalization.It’s like storing parameters as key value pairs. Let’s see an example here. First we will create a java project, let’s name it as “javaProperties” and added few classes to it with one properties […]
Basics Of Cartridge Handlers
When working on projects, with Oracle Experience Manager implementation. We play a lot with cartridge templates and their handlers. Cartridge handlers are used to connect to external resources [MDEX Engine, database, ATG, CQ5, WCS, etc] and much more to create a response object [ContentItem]. ContentItem is then given to a web application and is responsible to render the content. For example: If we have […]
What’s New in Oracle Commerce 11.2
Oracle Commerce Workbench Oracle Commerce 11.2 introduces new feature called project capabilities in Experience Manager. It’s control for business users to isolate their changes and publish them to the live site. Below are what Oracle Commerce 11.2 documentation says: – This allows business users to work on multiple sets of changes with different team members mimicking a real world process without […]
Oracle Endeca 11.2 Unauthorized (401): Unauthorized access to workbench
When install new ToolsAndFramework 11.2 and run initialize_services.bat step. We get below error [12.07.15 00:00:00] SEVERE: Unauthorized (401): Unauthorized access to workbench . Please check your credentials in WorkbenchConfig.xml/OCS. If problem still persists, please contact your administrator. Occurred while executing line 3 of valid BeanShell script: [[ 1| 2| 3| IFCR.provisionSite(); 4| 5| ]] [12.07.15 00:00:00] SEVERE: Caught an exception […]
Supplemental objects not returning record properties in version 6.x
Once we upgraded to IAP/MDEX 6.1 from IAP 5.1 record properties are no longer being returned in Supplemental objects from dynamic business rules. Let’s see why? Earlier with IAP 5.1, record properties will show with Supplemental objects, as they are configured to be returned for record-detail queries (“Show with record” setting in property or dimension editor dialog in Developer Studio). Whereas with IAP/MDEX 6.x, record properties […]
Oracle Commerce Guided Search/Experience Manager Release Notes 11.2
Oracle Commerce Guided Search/Experience Manager 11.2 is released with few of the known issues for different components. Oracle Commerce MDEX Known Issues (21658022) Flexera bug – Silent installation never completes installing to read-only directory (21696117) Non-ASCIIcharactersare displayed incorrectlyin licenseagreement during MDEX installation (21746398) Flexera bug – Some localized installer messages are displayed in English (21746540) Flexera bug – Uninstall does […]
Why rel=”nofollow”?
“Nofollow” is a way for webmasters to tell search engines Don’t follow this specific link or Don’t follow links on this page. With earlier version of nofollow which is added to page level meta tag, is used to instruct search engine not the follow all the links on the page. For example <meta name=”robots” content=”nofollow” /> We can now add nofollow as […]
Spring – Bean Scopes
When we define a bean in Spring, we declare a scope for that bean. For example, if we want Spring to return same bean instance each time one is required, we should declare bean’s scope attribute to be singleton. Similar way to force Spring to produce a new bean instance each time one is required, we should declare bean’s scope attribute to be prototype. Spring Framework supports following […]
Oracle Commerce Droplets
Droplets Droplet is a Servlet Bean to dynamically generate HTML from a Java Object. It minimizes the amount of Java code that has to appear in HTML and amount of HTML that has to be hard-coded into Java classes. DAF (Dynamo Application Framework) comes with a set of out-of-the-box droplets that can be used. The user can also create their […]

