• HttpClient

    What is HttpClient? Any program or software that can make call to any url or webapplication using http proptocol is HttpClient. What are the dependencies of HttpClient? 1. commons-codec jar 1.2 2. commons-logging jar 1.0.4 3. junit What are the steps for using HttpClient? 1. Intantiate HttpClient. 2. Use any methods (GetMethod/Post etc) .The URL can …Read More

  • Grouping in Jasper Report/Table

    Grouping in Jasper Report/Table Grouping in a canned report which can be developed in Jasper Studio is easily done in Cross-tab. Cross-tab can be used when a measure has to be calculated on more than one dimension and in that case it is simpler to use cross-tab. Limitation of using Cross-tab is that it has …Read More

  • Log File using system.out

    Log File using system.out If you want your System.out.print() output to be logged in the file rather than console, then that could also be possible by little trick. Before we start, System.out.print()  :: System – Java Main Class  :: out – Instance of PrintStream  :: print() – A public Method To achieve this we need to …Read More

  • Drill Down Report: Passing parameters from main report to the drill down report in Jasper Server

    Drill Down Report: Passing parameters from main report to the drill down report in Jasper Server  While we create a report using an Ad-hoc view, there are times when we use Drill down reports in the Dashboard. Drill down report has to have a main report linking to it or a parent report. When the …Read More

  • How to use Google maps in Jaspersoft Studio

    How to Use Google Maps in Jaspersoft Studio The report in this example is developed on Jaspersoft Studio version: 6.3.1 final and deployed on Jaspersoft server version: 6.3.0 Enterprise edition. Step 1: Create a report in jasper studio. In this example report is called GoogleMapsTest. 1- Delete all the bands except Title and summary band. Use …Read More

  • Visualize.js – Hyperlinks API

    Visualize.js – Hyperlinks In the post, we will discuss how we can handle hyperlink execution in jaspersoft reports that are embedded using visualize.js. If you have not worked on rendering reports through visualize js , this post may not be the best place to start. You may check this one out. As we all know, …Read More

  • How to resolve mixed active blocked contents in error when configuring SSL

    How to resolve mixed active blocked contents error when configuring SSL What is Mixed Active Blocked contents ? When anyone hits a page served over HTTP, their connection is open for eavesdropping and man-in-the-middle attacks. When a user visits a page served over HTTPS, their connection with the web server is authenticated and encrypted with …Read More

  • Handlebarjs

    Handlebarjs quick facts 1. Handlebar.js is a powerful templating engine based on the Mustachejs. 2. Handlebarjs can be added using the <script>// tag with local repository or using a cdn link. 3. This templating engine uses {{ }} symbol exclusively thus they resembel the handlebars of a cycle. 4. Any variable insied the {{ }} are …Read More

  • Exploring JavaScript’s undefined

    When we are working with JavaScript operators, we need to pay utmost attention on how we use them. For example let’s create a simple function which takes two arguments a, b. function foo(a, b) { a = a || “value”; b = b || 4; alert(“a is: “+ a + “; b is: ” + …Read More

  • JavaScript Event Simulators in Selenium

    Each browser has their own WebDrivers. Chrome has Chrome WebDriver, Mozilla has Gecko and Internet Explorer has IE WebDriver. So why are these webdrivers used for? The answer is, if you want to automate a web application, there has to be compatibility with the browser on which you want to automate your web application. Hence …Read More

  • Using Multi-select parameter in Jasper

    Using Multi-select parameter in Jasper Parameters can be the filter conditions which can be applied in the data-visualizations. This bog gives steps wise description of creating a multi-select parameter while developing report. There are 2 different types of Parameters 1. Single select 2. Multi-Select creating Parameter in Jasper Studio: For Example there are employees in …Read More

  • Report’s sections controlled by input control

    Report’s sections controlled by input control Requirement: In this blog, I am going to discuss how we can enable/disable the different sections of the jasper report through input control. Solution overview: In main report I am using two subreports which will be linked to input controls through print when expression. Let us discuss in detail …Read More

  • Neo4j : Graph Database

    Neo4j : Graph Database NoSQL graph database Usecases : include matchmaking, network management, software analytics, scientific research, routing, organizational and project management, recommendations, social networks, and more. Neo4j implements the Property Graph Model efficiently down to the storage level. Neo4j provides full database characteristics including ACID transaction compliance, cluster support, and runtime failover, making it …Read More

  • MongoDB Connector for Apache spark

    MongoDB Connector for Apache spark Spark supports connector for MongoDB , through we can execute SQL queries on MongoDB as well as we can perform spark RDD tranformations on MongoDB data. With the connector, you have access to all Spark libraries for use with MongoDB datasets: Datasets for analysis with SQL (benefiting from automatic schema …Read More

  • Alternative approach of using Insert/Update Step for Upsert in PDI

    What is an UPSERT? UPSERT is a combination of two activities in a table i.e. Update and Insert based upon a unique key(Unique iD). A Relational database uses MERGE JOIN to perform UPSERT operation on data where it updates if there is any change on the existing data and INSERTS if there is a new …Read More