core java
-
servlet
Java Servlet Application for Login Page
Servlets are modules of the Java code that run in a server application to answer the client requests. They are…
Read More » -
jpa
JPA persistence.xml Example
Hello readers! In this tutorial we will show how to implement the Java Persistence API and define the JPA Persistence…
Read More » -
jpa
JPA CriteriaBuilder Example
The Criteria API is a predefined API used to define queries for entities. It is the alternative way of defining…
Read More » -
MongoDB
Java MongoDB Example
MongoDb is the leading NoSQL database system which has become popular due to its dynamic schema nature and the advantages…
Read More » -
nio
Java Nio Delete File Example
If developers are working on a Java Swing or a desktop application then it may be required that sometimes developers…
Read More » -
nio
Java Nio Scatter/Gather Example
In Java Nio, the channel provides an important capability known as scatter/gather or vectored I/O in some circles. Scatter/gather is…
Read More » -
nio
Java Nio Channels Example
Channels are the second major innovation of the Java Nio after buffers. In Java Nio, channels are used for the…
Read More » -
nio
Java Nio BufferOverflowException Example
Exceptions are the unwanted or the unexpected events that occur during the execution of programs that disrupt the normal flow…
Read More » -
nio
Java Nio SocketChannel Example
SocketChannel is a selectable channel belonging to the java.nio.channels package and is used for reading or writing the stream-oriented data.…
Read More » -
nio
Java Nio Download File From Url Example
Java NIO (i.e. new I/O) is an interesting file input-output mechanism introduced in Java 5 and provides the different way…
Read More »