Blog on Backbone with Underscore Js

Introduction to Backbone and Underscore js:

Level of expertise required to understand and implement: Experienced in JavaScript/Jquery


This blog is intended for experienced programmers in client side application with JavaScript/JQuery functionality and its integration with backbone and underscore js, by creating a simple project.

What is Backbone and Underscore?

In a rich client-side applications developers easily tend to bind the data to the DOM elements.   Easily the scripting gets messed up if there is no structure being followed while developing.  For example if a developer has written a script something like this in one of the js file.


//do something


Every time you click on a div this function will fire up.  In rich client-side application with many js files, it will become a pain in the neck to identify where the click event is getting fired.  So it’s apparent that the client side programming needs a structured approach to avoid these situations.

Backbone is a MVP(Model-View-Presenter) framework where the data represents Models.  When the Model(Data) changes it just triggers the View to publish new data.  Here model handles all the business logic and just renders the data that need to be displayed in the view.  Backbone is javascript library that blends well with Jquery and Underscore.  Underscore js provides templates with utility functions.

Read the rest of this post »

Posted in News

Creating KPIs in Oracle Sales Cloud

This blog explains the steps involved in creating KPI’s in Oracle Sales Cloud. KPIs are measurements that define and track specific business goals and objectives.

1. Login to Oracle Sales Cloud using the correct credentials and click on the Navigator icon


2. Click on the “Reports and Analytics” link


Read the rest of this post »

Posted in Oracle Sales Cloud

3 ways to let ATS work with your HTTP server and iOS Apps

At WWDC 2015, Apple announced “App Transport Security” for iOS 9 and OSX 10.11 El Capitan. The “What’s New in iOS” guide for iOS 9 explains:

“App Transport Security (ATS) lets an app add a declaration to its Info.plist file that specifies the domains with which it needs secure communication. ATS prevents accidental disclosure, provides secure default behavior, and is easy to adopt. You should adopt ATS as soon as possible, regardless of whether you’re creating a new app or updating an existing one.

If you’re developing a new app, you should use HTTPS exclusively. If you have an existing app, you should use HTTPS as much as you can right now, and create a plan for migrating the rest of your app as soon as possible.

Which means, if your App attempts to connect to any HTTP server (in this example, https://gdccas/v1/login) that doesn’t support the latest SSL technology (TLSv1.2), your connections will fail with an error like this: Read the rest of this post »

Posted in mobile, Mobile APP

How to Load Data to Hbase – doBulkLoad

shutterstock_122786062_350We can use TableMapReduceUtil.initTableReducerJob and put the method in Hbase API, but we can also use doBulkLoad to load data to Hbase. In a previous post, I introduced using importtsv and completebulkload hbase shell command to load data to Hbase. In this post, I will introduce how to implement it by JAVA language.


Put method in Hbase API: Easy to understand; it is better to load little data.

TableMapReduceUtil.initTableReducerJob: Able to load data to Hbase after MapReduce, it is better when you need handle data with complex logic.

doBulkLoad: It can relieve stress on HBase, also it is better way when load huge data.

Below is my test result: Read the rest of this post »

Posted in BI&Database

Introduction to jQuery select2 plugin

Level of expertise: Beginner, Intermediate

Prerequisite: JQuery/JavaScript


This POC is intended to illustrate Select2, a JQuery Plugin which is used as a replacement for select box with support for searching, tagging, remote data sets, infinite scrolling and many other highly used options and contains event handling.

The sample project explains basic usage of select2 with examples to handle both client and remote data.

Select2 plugin can be used in different environments. I created a sample project with the following development environment.

Development Environment Used:

  1. JDK 7.0_60
  2. Tomcat v7.0
  3. Eclipse Java EE IDE
  4. jquery-1.11.1.min.js
  5. select2-4.0.0.min.js

Simple steps to create a select2 box

Include the following code in the head section of html page or download the same file and then specify the path in order to use the select2 plugin

  1. <link href=”//” rel=”stylesheet” />
  2. <script src=”//”></script>

Whichever ‘select’ element we want to convert as select2, the following line will do the trick

  1. <script type=”text/javascript”>
  2. $(‘select’).select2();
  3. </script>

Read the rest of this post »

Creating Reports in Oracle Sales Cloud

This blog explains the steps involved in creating Oracle Sales Cloud reports. The reports are used by Sales representatives and Sales Managers to help them with their sales activities.

1.Login to Oracle Sales Cloud using the correct credentials and click on the Navigator icon


2. Click on the “Reports and Analytics” link


Read the rest of this post »

Posted in Oracle Sales Cloud

Front End Testing with Hobbes.js

Introduction to Hobbes:

AEM 6.0 has come up with a new framework for a functional testing system. It uses Hobbes.js, a testing library written in JavaScript. This framework helps to automate UI tests and provide us with a test result. We can write and execute tests from a web browser. The framework also provides us with a Test Panel in the Touch-Optimized UI where the tests can be executed.

Level of Expertise AEM Developer – Intermediate



This blog is intended for AEM developers who perform UI testing for their applications. This framework enables them to automate their test scripts and execute them on their webpages.


The minimum requirements to test the AEM applications using Hobbes are,

  1. Java 1.7+
  2. AEM 6.0
  3. CRXDE Lite

The framework helps us to perform the following:

  1. Create a Test Suite
  2. Add Test Cases
  3. Add actions to Test Cases
  4. Re-use Test Cases
  5. Use Dynamic Parameters
  6. Delay Test Execution

Before creating a Test Suite for any web page, the below steps need to be followed.

Read the rest of this post »

Posted in News, Testing

Identifying optgroup values in Dropdown – For Selenium automation

Select class in selenium WebDriver provides different methods to handle dropdown. We can perform operations such as finding number of options, getting the option values in a dropdown and selecting any options in a dropdown.

Have you ever come across a scenario to pick values from a particular group in dropdown box or to validate the options under each group in a dropdown?

I have a categorical dropdown as shown below and consider the options are dynamic.


On inspecting the element, HTML code looks as follows:


Read the rest of this post »

Posted in News

How to Connect Hortonworks Hive from Qlikview with ODBC driver

As with most BI tools, QlikView can use Apache Hive (via ODBC connection) as the SQL access to data in Hadoop. Here we are going to talk about qlikview how to connect Hortonworks Hive via ODBC.


1.Those are versions of each component we installed in Hortonworks

Hue HDP Hadoop Hive-Hcatalog Ambari HBase Hortonworks ODBC Driver
2.3.1 2.1.2 2.4.0 0.13.0 1.5.1 0.98.0

Read the rest of this post »

How to Implement JMSProducer and JMSConsumer

In this blog post, I have captured the process to implement a JMSProducer and consumer example.

The primary objective is to build an OSB project, which will perform the following functions:

Creating JMS Server, Queues and Topics:

To create a business and proxy service, we have to start with creating a JMS Server, queues and topics.

  1. Creating JMS Server
  2. Creating JMS Module
  3. Creating Queue
  4. Creating Topic

Creating JMS Server:

Step 1: Go to the WebLogic server->Under Domain structure Section, Click on services>Messaging>JMS servers. On JMS servers Page, click on “New” button.

On the create a New JMS server page, provide a name for the server


Step 2: After creating the JMS Server, we need to select the Target server instance where we have to deploy our JMS server

Select the Target server from the dropdown list and click ‘Finish’ to complete the JMS server. Read the rest of this post »

Posted in News