Have you noticed Race Condition in Java Multi-threading Concurrency Example?...
Sometime back I’ve written an article on Producer Consumer Example and how to handle read/write operation better way in Java. On the similar note, in this tutorial we will discuss something on Race...
View ArticleIn Java best way to Convert File into a Bytes (Array of Bytes)
Sometime back I’ve written some articles on convert Byte[] Array To String, Convert Char Array to String, convert String to Char Array, convert Arrays to Set, etc. In this tutorial we will go over on...
View ArticleHow to Implement Selection Sort Algorithm in Java – Detailed Explanation
Are you a Computer Science Graduate? Are you preparing for an Interview? Want to become a master in Data Structure? Well, Sorting algorithms are the most frequently asked questions in Java interview...
View ArticleJava: How to Get Random Key-Value Element From HashMap
Is there a way to get the value of a HashMap randomly in Java? Of Course, below is a simple Java Code which represents the same. Also, at the end of program there is a bonus code to Shuffle complete...
View ArticleIn Java8 How to join List of Objects? Collectors.joining Concatenates the...
Collectors.joining() Concatenates the input Elements, separated by the Delimiter with provided Prefix and Suffix values. Yesterday I’ve published an article on StringJoiner(), String.join() which...
View ArticlePayPal Java SDK Complete Example – How to Invoke PayPal Authorization REST...
PayPal is one of the best online Payment transfer service out there. There is no doubt it’s growing day by day with crazy numbers. I personally have hands on experience with PayPal Java Developer APIs...
View ArticleHow to stop/kill long running Java Thread at runtime? timed-out -> cancelled...
Have you ever wondered how to kill long running Java thread? Do you have any of below questions? Kill/Stop a thread after certain period of time Killing thread after some specified time limit in Java...
View ArticleHow to Install and Configure Memcached Process/Server on Mac OS X?
Memcached is one of the widely used distributed memory object caching solution out there. I’ve been using it since last 3 years actively for number of various projects. Here are the key advantages of...
View ArticleMemcached Java Client Tutorial using net.spy.spymemcached Library
Few days back I’ve written an article on how to setup and start MemCached Server locally on you Mac OS with few simple steps. There are three different ways to create Memcached Java Client....
View ArticleMemcached Java Client Tutorial using whalin.Memcached-Java-Client and...
This is continued tutorial on Memcached which is distributed memory object caching server. Here are previous two tutorials before you go over this one 🙂 . How to Install and Configure Memcached...
View ArticleWordPress 5.0.1 and Jetpack Plugin Issue – Admin Console Doesn’t Load Or 404...
WordPress 5.0.1 just released today. It’s all about Security patches. It’s an automatic update and hence you don’t have to update your site manually but in the backend WordPress site will be upgraded...
View ArticleJava Hashmap – containsKey(Object key) and containsValue(Object value) –...
There are few concepts and technologies which comes by default with each and every programing language and Collection is one of them. Java Collection is a very big field. It comes with so many...
View ArticleJava 11 and How to fix java.lang. TypeNotPresentException: Type...
Are you facing java.lang.TypeNotPresentException: Type javax.xml.bind.JAXBContext not present exception? Today while running my RESTful service on my Eclipse I noticed javax.xml.bind.JAXBContext error...
View ArticleGetting Ready for Java 11/JDK 11 and Deprecated Java EE Modules JAXB, JAX-WS,...
Hello all! It’s time for us to upgrade to Java 11. Sometime back Java 11 was launched on September 25, 2018. Today we got chance to upgrade our JDK to Java11 on my Macbook Pro. Do you have any of below...
View ArticleHow to Implement your own InetAddress.isReachable(String address, int port,...
In Java there are multiple ways to check ping and port check. You could use system default’s ping command, Java’s native method InetAddress utility, HttpURLConnection and some more. In production or...
View ArticleIdeal eclipse.ini file setup for your Eclipse Environment – Best Practice for...
As a Java Developer, we spend almost half of our time developing world class Java Applications. Your application might be touching thousands of users and making their lives easy in this very complex...
View ArticleGitHub unlimited private repositories are free for all users compare to...
Today is a great day for all GitHub users and developers. Thanks to Microsoft acquisition of GitHub, Microsoft has made very positive changes for developer community. Starting today, Free Github users...
View ArticleHow to create nice Deals page with only custom CSS and HTML on any WordPress...
At any given point, there are thousands of deals available out on the market. Deals on cloths, furnitures, utilities and also on WordPress plugins, themes, services, hosting and so on. Creating Deals...
View ArticleGoogle Form finally became THE only Contact Form for me and for WordPress Users
At Crunchify, we are very big fan of Google Forms. We have published very detailed tutorial with all steps long time back on How to use Google Form as WordPress Contact Form. I’m sure by the time when...
View ArticleHow to install & setup Apache Tomcat server on Linux Ubuntu host (on Linode)
Setting up Apache Tomcat web server on publicly hosted Linux host is a best way to host your service. If you want to publish any Java application to world, you need public IP and hence public facing...
View Article