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...Oct 28, 2021 · 3 min readvijaysrj.hashnode.dev
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...Mar 19, 2021 · 5 min readvijaysrj.hashnode.dev
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...Dec 23, 2020 · 8 min readvijaysrj.hashnode.dev
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 ...Dec 2, 2020 · 2 min readvijaysrj.hashnode.dev
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...Nov 6, 2020 · 1 min readvijaysrj.hashnode.dev