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...
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...
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...
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 ...
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...
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...
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 =...
Java/JVM, Software development
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...
Java/JVM, Software development
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...
Java/JVM, Software development
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...
Java/JVM, Software development
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...
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...