Home » Author Archives: Abhishek Somani

Author Archives: Abhishek Somani

Abhishek Somani
Abhishek is working as a senior java developer in a product start up .He has worked on various java related enterprise applications and frameworks. He loves to explore new technologies

How to Upload Images to DropBox In Java

java-logo

This Tutorial explains how to upload images to drop box and get the public url of uploaded image . First of all we have to create a DropBox API app using app console. Once you create the app , you can get App key and secret key in the app properties . Now add following dependency in your pom file. ...

Read More »

Git : How to add commit in between old commits

git-logo

I have a Git repository and need to rewrite my local history by inserting a new commit in between old commits. More specifically my sitatution is like this:               AB—BC—CD—EF MASTER and I wanted to come up with something like this: AB—BC—SA—CD—EF MASTER Where SA is my new commit i.e to be inserted b/w ...

Read More »

How to maintain history of tables in Hibernate

jboss-hibernate-logo

To Maintain history of database or keep track of modification of database table row , we create a version table that contains fields identical to original table.Whenever original table gets changed , we create another entry in version table. So for every update query , we have to write an insert query in version table . There is a module ...

Read More »

Understanding Dynamic Proxy: Spring AOP Basics

java-logo

Why AOP : To Understand AOP(Aspect Oriented Programming), we need to understand Cross Cutting Concerns in software development . In every project , there is some amount of code which gets repeated in multiple classes , across several modules.For example logging which needs to be done for almost all classes and for all module. This kind of code reduces code’s ...

Read More »

How to Use PropertyNamingStrategy in Jackson

json-logo

Jackson api is used extensively to convert json to Object and Object to JSON.So if you have a json string and want to convert it in a java object , create field names of bean same as the fields in json. Jackson follows standard bean convention in mapping json fields to java object fields , but if you have a ...

Read More »

What’s in a name : Reason behind naming of few great projects

software-development-2-logo

This is in conitunuation of my previous post where i have listed the reason behind naming of several great projects.I have found some more languages , product and organization . Why Name AMAZON: Amazon[need no introduction] was founded by Jeff Bezos. Bezos wanted a name for his company that began with “A” so that it would appear early in alphabetic ...

Read More »

My Custom Thread Pool Executor in Java

java-logo

ThreadPoolExecutor is a feature added by java concurrent api to maintain and reuse threads efficiently , so that our programs don’t have to worry about creating and destroying threads and focus on the core functionality. I have created a custom thread pool executor to get better understanding of how thread pool executor would work . Functionality : It maintains a ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials