Published my first eBook!The Gang of Four Design Patterns are often hard to get . Most of the articles on the internet are generic or too complicated to understand. I wrote a book which solves this by providing an easier explanation of all the 23 design patterns with use cas...3 min read·vijaysrj.hashnode.devOct 28, 2021
Top Java 16 features for improving Java developer's productivityJava 16 just released. Though a lot of new features were introduced only six of them need to be understood by day to day java developers. Here are those features: Records Pattern matching for instanceof Sealed classes (Second preview) jpackage packag...5 min read·vijaysrj.hashnode.devMar 19, 2021
How to watch a directory in Java?Let’s say you want to watch a folder in your computer or server for any changes. If a new file gets added you want to be notified. If an existing file is modified you want to be notified. If a file is deleted you want to be notified. And how do you d...8 min read·vijaysrj.hashnode.devDec 23, 2020
A recipe to implement print functionality efficiently in JavascriptJavascript provides the method window.print() to print the entire contents of a html page. There are two problems with this approach: You cannot print part of your HTML page. If you have a print button to print the page , even the button shows up in ...2 min read·vijaysrj.hashnode.devDec 2, 2020
How to create a custom element(tag) in HTML5?Until HTML5 , reusing a piece of html code was not straightforward. Thanks to HTML5 , web components came into picture. Now you can create your own custom components and include them in your HTML code using custom tags. And you can reuse them anywher...1 min read·vijaysrj.hashnode.devNov 6, 2020