Java : ADS Connectivity Example

Java : ADS Connectivity Example

Recently, i had to implement a functionality to authenticate and authorize users in ADS. This post deals with my experience on it and shares some code snippets as well. Code shared on github Business Requirement: Users will enter their domain credentials and they need to be authenticated in ADS. Further, … Continue reading

Java : Ping Server Status


The problem described in this post is a common use case in any web related program. There are several instances when you need to check if a server is up and running or not. Programming language provide their API’s to accomplish this task. Java is no exception. It has a … Continue reading

Help Me Android App – A life saver in Emergency


Lately, we have been seeing a sharp increase in Crime Against Women. These crimes include Eve teasing, Molestation, Rape, Kidnap, Attack and various other heinous crimes too. This is a sincere effort from us to do our bit to ensure safety for woman. Help Me is an Android application programmed … Continue reading

Java : Date Validation Against Multiple Formats


Input validation is a common step in every Java developer’s life. There were traditional ways of validating via splitting, parsing which later lead to regex and then annotations (frameworks). Recently, I was put forward a query to validate date in Java. Now, that’s a cake walk. We have Format classes … Continue reading

Java Multithreading : A Practical Scenario Implementation Guide


JAVA’s multithreading feature is always briefed about in the introduction of JAVA. The typical tutorials on thread creation process and the all famous bank withdrawal example offer little about a practical approach to problem solving using multithreading. In this post, I will brief about a problem I faced in one … Continue reading

Hibernate Reverse Engineering Tips


Hibernate Reverse Engineering is used to generate hibernate POJO classes from the database schema. I recently got a task to create POJO classes for one of our projects. The task required generation of annotated java classes based on the schema definition. One of the main issues I faced during the … Continue reading

Java Memory Usage Monitoring Without Profiling Tools

Over the years, I have been involved in some projects involving web development in J2ee. JAVA memory usage is an issue that’s common among all. Following are some of the questions that come across to a developer regarding the JAVA memory: Memory Usage Statistics. Trending of Memory statistics. Memory Leak. … Continue reading