Have you tried configuring the JNDI variables with Tomcat server?. This tutorial is going to explain you step-by-step procedure on how to configure JNDI variables in your tomcat server. It is very simple configuration in the Tomcat server's … [Continue reading]
Maven : updatePolicy Configuration in Settings XML file
One of the most common thing when working with dependency management is how often our local repository has to sync up with the remote repository. Maven has updatePolicy settings for specifying the frequency to check the updates in the repository. … [Continue reading]
REST API Best Practices
REST becomes common approach for exposing the services to the outside world. The reason for the popularity is because of it's simplicity, easy to use, accessed through HTTP (REST can be accessed via any protocols, but most widely used with HTTP), … [Continue reading]
Spring Framework 4.2.5 Released
Spring team has released it's latest release Spring Framework 4.2.5. This release is part of the Spring Framework 4's maintenance release. There are no major changes or features planned as part of this release. This release focus mainly on fixing the … [Continue reading]
Spring Data Hopper Release
Last week spring data team lead Oliver Gierke has announced that Spring Data's next release train Spring Data Release Train Hopper M1 has been released. Spring Data has wide list of sub projects that are managed independently as a separate project. … [Continue reading]
Thread Dumps in Java
A thread dump is a collection of active threads running on JVM. In other words, it is snapshot of current state of all the Java threads running on JVM. The threads could be either invoked by your own application or that is managed by the JVM itself. … [Continue reading]
How To Use Source and Target Parameter in Java Compiler
If you are a Java programmer, then one of the common question comes into mind is How do I compile for compatibility with older versions of Java?. When you run your Java program with an older version of the Java runtime environment, you may get the … [Continue reading]
Difference Between Abstract Class and Interface in Java
One of the basic Java interview question is what is the difference between abstract class and interface. If you are a beginner in Java, you can not avoid this question in any Java interview to test your knowledge on Java OOPs concepts. In this short … [Continue reading]
Top 11 Java Exception Best Practices
In my previous tutorial about Java exceptions, I have covered suppressed exceptions and java exception handling. It is one of the important coding practice to do efficient and foolproof exception handling for your projects. To achieve that, you must … [Continue reading]
java.net.ConnectException Example
java.net.ConnectException is thrown when client socket is not able to connect to the server socket. java.net.ConnectException is subclass of java.net.SocketException. In this short tutorial, I am going to write a simple program for client socket that … [Continue reading]
- « Previous Page
- 1
- …
- 7
- 8
- 9
- 10
- 11
- …
- 191
- Next Page »