Some Thoughts on Designing and Building Rest API’s

September 20, 2020 | By kiranbadi1991 | No Comments | Filed in: Others.

On and off from past couple of years I have been building out Rest API’s using Java and on some other occasions using .NET. I often come across debates as how to build the API’s and what features or functionality we need to expose with through the API. I have seen folks building API which • Read More »

Cross Cutting Concerns

February 27, 2020 | By kiranbadi1991 | Comments Off on Cross Cutting Concerns | Filed in: Development.

We spend quite a bit of time writing code for functionality, code for real required functionality(Core features or requirement of application), however we spend almost 2x amount of time writing code to meet the cross cutting demands of the application functionality (Think logging, security ,audit etc. ) which is not so much used directly. Technically • Read More »


Java Utility – Rename Files in Folder

November 1, 2019 | By kiranbadi1991 | Comments Off on Java Utility – Rename Files in Folder | Filed in: Development, Others.

import; import; public class FileRename { public static void main(String args[]) throws IOException { String DIR_PATH = "MyDirectoryPath"; String stringToReplace = "MyStringtoReplaceInFileName"; getFileNames(DIR_PATH, stringToReplace); } public static void getFileNames(String Path, String stringToReplace) throws IOException { File folder = new File(Path); File[] listOfFiles = folder.listFiles(); System.out.println("Total Files :" + listOfFiles.length); for (int i = • Read More »