What is Lock(), UnLock(), ReentrantLock(), TryLock() and How it’s different...
In this tutorial we will go over Lock(), UnLock(), ReentrantLock(), TryLock() and how it’s different from Synchronized Block in Java. If you have also below questions then you are at right place....
View ArticleComplete End to End Java Tutorial with Singleton Object & Employee, Crunchify...
In this Java Tutorial we will go over all detailed steps required for you to use Singleton pattern in your Enterprise Project. We use Singleton object to push required data at runtime and we use the...
View ArticleGetting ‘java.net.UnknownHostException: LAPTOP-23876346: nodename nor...
Recently while running Java Program on my Mac OS X, I noticed below error in Eclipse console.java.net.UnknownHostException: LAPTOP-23876346: LAPTOP-23876346: nodename nor servname provided, or not...
View ArticleHow to Merge/Concat Multiple JSONObjects in Java? Best way to Combine two...
In Java – What is the best way to combine / merge multiple JSONObjects? JSONObject is an unordered collection of name/value pairs and widely used in Java Enterprise applications for data transfer...
View ArticleHow to Access Github Content with Basic OAuth Authentication in Java?...
Sometime back I’ve written an article on How to Read GitHub File Contents using HttpURLConnection. In that tutorial we have created a simple “InputStreamToString” conversion utility which we will use...
View ArticleJava JsonGenerator – JSON Processing API and How To Enable Pretty Print JSON...
This will be very interesting tutorial. Sometimes in your Enterprise Java Application, you have to deal with lots of JSON data. Sometimes you have Write to file, Read from file, log it properly in...
View ArticleHow to Upgrade WordPress to latest Beta, Release Candidate (RC) or Nightly...
WordPress is going at very fast development cycles in recent days. Every two or three months we see new major WordPress release. There is a standard way to upgrade your WordPress installation using...
View ArticleNew Features in WordPress 4.1 and Screenshots
WordPress 4.1 is around the corner. Beta 1 is already out since last week and I’m hoping to have WordPress 4.1 final version available by early December. I’ve just downloaded BETA-1 version today on...
View ArticleJava XML XPath Parser – How to Parse XML Document using XPath in Java?
Sometime back I’ve written a tutorial on How to Write XML DOM into File using Java? It’s very simple tutorial with actual real usecase. Last week while working on similar XML and Java issue – I’ve...
View ArticleHow to Display ‘Last Updated On: Date/Time’ of your WordPress Blog Post?...
Search Engine Optimization (SEO) is a very big topic. There are lots of consideration you have to keep in mind in order to have correct SEO implementation for your blog. Google shows post publish date...
View ArticleHow to Modify / Customize Genesis Framework Breadcrumbs for your WordPress Blog?
Are you aware of Breadcrumbs? If you haven’t heard of breadcrumbs, it’s like a navigation on your site where it shows the hierarchy of the content you are looking at. For instance, a post will display...
View ArticleHow-To: Java Regex – Matcher (java.util.regex.Matcher) Tutorial
In this tutorial we will go over list of Matcher (java.util.regex.Matcher) APIs. Sometime back I’ve written a tutorial on Java Regex which covers wide variety of samples. Regular Expression is a...
View ArticleHow to Create a .war file from Eclipse using Maven Plugin? Apache...
Maven is pretty amazing, isn’t it? Well – for me at least I love using Maven in my daily Java Development practice. Maven is nothing but a plugin execution framework; all work is done by plugins. I’ve...
View ArticleIn Java What is a Difference Between IdentityHashMap and HashMap +...
Sometime back I have a special case in which I have to compare Map’s Key based on equality operator (==). The equality operator (==) compares the references (addresses in memory) of the two Keys as...
View ArticleHow to Setup PHP Development Tools (PDT) in Eclipse For WordPress Plugin...
Eclipse is my primary IDE for WordPress Plugin development. Some time back I’ve written an article on how to Setup your WordPress Plugin into Eclipse? In other words: Eclipse and WordPress Plugin SVN...
View ArticleWorking on Spring MVC Project? How to Report List of All Loaded Spring Beans...
Are you working on Enterprise level Spring MVC project? Is it with more than hundreds of classes and packages? Are you really struggling on how to get list of all loaded Spring MVC beans information?...
View ArticleHow to Use ResourceBundle.getBundle to get Properties Value at Runtime in Java?
Java is very dynamic programing language. With thousands of APIs available for us to use, we do have a freedom of choice. Some time back I’ve written an article on How to Read config.properties Values...
View ArticleStep by Step Guide to Setup and Install Apache Tomcat Server in Eclipse...
Eclipse is a very powerful development environment for Java. Mainly for Web Development project you need Web Server. Apache Tomcat is the best production ready web container. By default when you...
View ArticleWhat is Affiliate Cloaking and How to Cloak your Affiliate Link Without...
Affiliate Cloaking is a very popular term for WordPress blogging platform. It is most common practice for blogger to have affiliate links on their blog. On Crunchify we have made some changes recently...
View ArticleTry to Deregister / Remove comment-reply.min.js, jquery-migrate.min.js and...
Sometime back I’ve written few articles on How to Speed up WordPress blog by .htaccess method and complete guide with list of all steps with description. This is my continuous effort to make some more...
View Article