itSpice















  Java

How To Find The Number Of JREs Running On Windows Machine?

By Vaibhav Kumar Choudhary
Sometime back, we were discussing something about JRE and one of my friends Lawrence asked me “How to find the number of JRE installed on system with the help of Java Code ? “
After giving much thought to it, I don’t think Java has any such API which will tell how many [...]


Is Call by Reference Possible in Java?

By Vaibhav Kumar Choudhary
It is often asked if call by reference is possible in java? People confuse so frequently with this simple and basic concept that it is hard to believe.
Let me try to answer that question by taking an example. But first, the basics. There is NO CONCEPT OF CALL BY REFERENCE IN JAVA, [...]


How To List All The Processes Running On A Machine From Java Code?

By Vaibhav Kumar Choudhary
A month back, I wanted to find out all processes running on my machine from java code for some stupid purpose. What d you do in such a scenario? I tried to write some code and was pretty successful. Java can’t play with system process and hence invoking a runtime is only [...]


Understand The Java Classpath

By Samuel Mela
This article is about a small simple collection of batch files which can be used to test the behavior of the javac compiler and java class launcher for different classpath scenarios. The system is called ClasspathTester. Download instructions are included at the end of this article.
When you are in the middle [...]


Symmetric Cryptography in Java

Author: Debadatta Mishra
Symmetric cryptography in Java

Introduction
As you know data security is a significant aspect of any enterprise application. Starting from password encryption to any data exchange, cryptography has been in use for all kinds of purpose. However there are two kinds of cryptography, one is symmetric and another is asymmetric. In case of symmetric cryptography, [...]


Asymmetric Cryptography in Java

Author: Debadatta Mishra
Security plays a significant role in our day to day life. So far software applications are concerned, security of data is required for authentication and for several validations. Normally while developing the applications, we use the concept of cryptography for password encryption and decryption. Some applications require more security, so they go for [...]



« Previous entries