AWS, DevOps

AWS SES Integration for Java Applications

Use Case I came across a use-case, where I had to integrate Amazon Simple Email Service (SES) to send transactional emails from a JAVA application using my own registered domain. This blog will guide the reader through the basic steps required for setting up or integrating Amazon SES with my JAVA application. About Amazon SES It...

by Mayank Negi
Tag: Java
30-Sep-2016

Technology

How a Newer Investigated a Java Out Of Memory Error.

So one fine day newer came to office and got an interesting problem from his team lead. One particular API was giving Java Out Of memory Error with only 10 concurrent threads. So the Newer started to investigate the problem so at first he reaches to the server and try to collect stats about the particular JVM Process that was...

by Satya Nand Kanodia
Tag: Java
29-Jul-2016

Agile, AWS

CloudFoundry PaaS – Introduction

Cloudfoundry: Open Source Platform as a Service A platform used for running applications and services. The purpose of cloudfoundry is to change the way apps and services are deployed and run by reducing the cycle time of development to deployment. Cloud Foundry directly takes benefits of cloud-based resources such that apps running...

by Deepak Bansal
Tag: Java
27-Jul-2016

Technology

Logging with Spring AOP and Custom Annotations In JAVA Application

Whenever i am working on development of any application I want to log every execution of a method, seeing what arguments it receives, what it returns for easy debugging and how much time every execution take. So we have created a utility based on Spring AOP and here we will see how we can use it in our projects. @RestController ...

by Stayendra Verma
Tag: Java
25-Jul-2016

Automation Testing, Testing

Selenium Conf’16: Bangalore

From the last half-decade, Selenium conference (SeConf) is being organized across the world for all the automation enthusiasts highlighting the new territories of this growing technology. Opportunely, this time, I attended SeConf’16 along with my colleagues, Sarthak Srivastava and Vikas Sharma. The first leg of this conference was held...

by Ram Bahadur Singh
Tag: Java
29-Jun-2016

Automation Testing, Testing

How to use ExtentReport in a framework

The other day while I was executing my TestNG test cases in the Selenium WebDriver, all my test cases got executed, and the report also showed correctly. However, I usually don't find its user interface very friendly especially when it's about creating reports. That's when I came across a user friendly reporting tool...

by Kimi Agarwal
Tag: Java
29-Jun-2016

Technology

StringJoiner in Java 8

Being a programmer, at some point of time we encountered a situation in which you wanted to join (not concat) multiple strings of delimited items in Java. Worst can be if you are provided multiple string literals. Just think for a second and how will you build a string of delimited items using these literals. Eg. [java] String str1 =...

by Nishant Lakra
Tag: Java
22-Jun-2016

Java/JVM, Software development

Java Arrays Comparison: Use equals or deepEquals?

The equals Method return True if the two arrays are equal to one another if both arrays contain equal number of elements and corresponding elements are also equal. If both arrays are null then they are also considered as equal.  The equals method is used with Hashcode method to find the bucket of arrays. Two arrays are equal only if...

by Sandeep Gupta
Tag: Java
31-May-2016

Java/JVM, Software development

How to execute Java code within Java comments

We all know Java comments are not visible to compiler and are not executable. But here we will see how a comment can be executed. To execute any comment we need to append a unicode as prefix to that comment and thats it. Now when you will run the code then this comment line will be executed. [java] public class CommentTest { public...

by Sandeep Gupta
Tag: Java
31-May-2016

Java/JVM, Software development

Why should you adopt Spring Framework?

Spring is an open source framework for Java platform that provides comprehensive infrastructure support for developing robust Java applications. Spring Framework is essentially a skeleton that offers a solid foundation upon which an application can be built.This skeleton structure guides and helps developers throughout the application...

by Ankit Arora
Tag: Java
27-May-2016

Java/JVM, Software development

Java Bitwise Operator using efficiently to improve Performance

Many of us know the various operators available in Java. But do we really use them all efficiently. Here I am illustrating one simple example which can show the high performance gain with bitwise operatator than the standard solution. Lets calculate the mathematical expression xn i.e. x's power n. To solve this problem anyone can...

by Sandeep Gupta
Tag: Java
26-May-2016

Android, Java/JVM

Swipe To Dismiss RecyclerView

This tutorial is about how to create “swipe to dismiss” RecyclerView item like Gmail app. For this, we don't need any 3rd party Library. For this purpose, you just need to add one class which is part of Android Support Library. The name is “ItemTouchHelper”. By now you know that this blog is all about how to use ItemTouchHelper...

by Bharat Ghimire
Tag: Java
24-May-2016