Currently browsing

Page 172


How to send mail using Java Mail API?

The Java Mail API provides support for sending and receiving electronic mail messages. The API provides a plug-in architecture where vendor’s implementation …


Generation of Random Numbers

Random numbers in java can be generated either by using the Random class in java.util package or by using the random() method …


Creating user defined exceptions

Though Java provides an extensive set of in-built exceptions, there are cases in which we may need to define our own exceptions …


What is Hibernate Caching?

1. Introduction While working with Hibernate web applications we will face so many problems in its performance due to database traffic. That …

Pin It on Pinterest