Tag Archives: Java

Annotations in Java

Introduction Annotations, a form of metadata, provide data about a program that is not part of the program itself. Annotations have no direct effect on the operation of the code they annotate. Thus, an annotation leaves the semantics of a … Continue reading

Posted in Tutorials | Tagged , , , , , , , | Leave a comment

Enumerations in Java

Overview Beginning with JDK 5, enumerations were added to the Java language, and they are now an integral and widely used part of Java. In their simplest form, Java enumerations appear similar to enumerations in other languages. However in Java, … Continue reading

Posted in Tutorials | Tagged , , , , , , , | 3 Comments

Property Utility and Resource Bundle Utility

Contents Overview Use of Properties in projects Properties VS ResourceBundle Properties ResourceBundle Benefits of Utilities Utility Flow Common Programming Mistakes PropertyUtil Java Source Code ResourceBundleUtil Java Source Code Proper Implementation PropertyUtil Java Source Code BundleUtil Java Source Code Project Source … Continue reading

Posted in Tutorials | Tagged , , , , , , , , , , , , | Leave a comment

Java program to send mail to list of users (to list of carbon copy as well), with file attachment.

In project development we introduce communication module to communicate with customers, admin, users, and so on. The communication we use can be via mail and SMS functionality (as per the project requirement). Mail Functionality is very common and essential to … Continue reading

Posted in Utility & Helper | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Singleton design pattern in java

Singleton pattern is one of the commonly used design solution. It describes a technique for ensuring that only a single instance of a class is ever created. In essence, the technique takes the following approach: don’t let anyone outside the … Continue reading

Posted in Tutorials | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Java Program for getting all the modification of updated entity over existing entity.

In Java application we frequently use Hibernate. All the time when an application user modify/update its data then we save it into database and send message (SMS or Mail) to user about modification. For achieve this we retrieves existing entity … Continue reading

Posted in Utility & Helper | Tagged , , , , , , , , | Leave a comment

Free Silent Screen Capturing Utility.

Now a days people are very afraid about what their children are doing on Laptop/Desktop. So lets start monitoring your windows Laptop/Desktop. You will get screen dumps of active window like if your child is watching movie, playing games or … Continue reading

Posted in Utility & Helper | Tagged , , , , , , , , , , , | Leave a comment