Wednesday, March 31, 2021

Grokking The Spring Boot Interview for Java Programmers [Released]

Hello guys,  I am very excited to announce the release of my new book, Grokking the Spring Boot Interview and you can grab your copy for a special price of $10.99 on Gumroad. Ever since I talked about this book, after the success of my first book in 10 years, Grokking the Java Interview, I have received a lot of positive response which motivates me to work on this book and I really wish that my books on Java and Spring interviews will guide you to find the Java developer job you always wish for. If you have given any Java interviews recently then you may know that Java Interviews are notoriously tough to crack. Not because they ask impossible algorithmic questions like Google or Amazon but because of the vast nature of Java API, Frameworks and Libraries.

Tuesday, March 30, 2021

Differences between @RequestParam and @PathVariable annotations in Spring MVC?

The Spring MVC framework, one of the most popular frameworks for developing a web application in Java world also provides several useful annotations to extract data from the incoming request and mapping the request to the controller, like @RequestMapping, @RequestParam, and @PathVariable. Even though both @RequestParam and @PathVariable are used to extract values from the HTTP request, there is a subtle difference between them, which makes them a useful question from a Spring Framework interview and spring certification point of view. We'll examine the subtle difference between @RequestParam and @PathVaraible in this article.

Saturday, March 20, 2021

Clean Code by Uncle Bob - Book Review - Must read for Java Programmers

Even though the Clean Code book was released many years ago and there are lots of good reviews already available, I couldn't resist writing my own experience of this great book which every coder should read. I came across this book many years ago, but since then, I have read it multiple times, and I have recommended it to my readers, students, and fellow developers. It is one of those books which make you feel that why didn't come across it earlier, I felt the same when I first learned about this book. The Clean Code is all about writing good quality code, and how do you judge the quality of code? Well, you won't appreciate good until you have seen bad code and that's what this book does.

Friday, March 19, 2021

How to increase length of existing VARCHAR column in SQL Server

You can increase the length of a VARCHAR column without losing existing data in SQL Server. All you need to do is execute the following ALTER TABLE statements. Though, you need to specify NULL or NOT NULL constraint explicitly, depending upon your data.

Here is the SQL command you can use to increase the length of a VARCHAR column in SQL Server:

ALTER TABLE Books ALTER COLUMN title VARCHAR (432)

This command increases the length of the title column of the Books table to 432 characters. You can use the same command to increase the length of CHAR, NCHAR, or NVARCHAR columns as well.

Thursday, March 18, 2021

Top 5 Books to learn REST and RESTful WebServices for Java Programmers

The REST framework has now become the standard way to develop Web Services on the Internet. It's no more SOAP, who used to rule the world for the last two decades. The SOAP and XML went very well together in the past decade but it seems now REST and JSON have overtaken them and doing even better, thanks to the rise of JavaScript for both frontend and backend development. Since Java is also one of the most popular languages to develop backend services, there is a lot of demand for Java developers who know web services and can implement and expose existing SOAP-based services into REST style, light-weight web services.

Tuesday, March 16, 2021

Top 5 Books to Crack Java Programming Interviews - Best of Lot

If you are preparing for Java Programming interviews, then apart from blogs and articles, you should also take the help of my book (Grokking the Java Interview) and courses specially written for Java interviews. Though nothing can substitute actual job experience, cracking the coding interview is a little bit different beast. Even if you have a good experience you may struggle to crack the online coding tests which are becoming very challenging for Java developers of all levels of experience. Similarly,  if you are not going for the exact same profile job then you can expect a hell of a lot of questions from vast topics of Java domain, which you might not have heard before. 

Monday, March 8, 2021

How to Learn Coding and Web Development in the 40s and 50s?

Yesterday, I was speaking to one of my friends who were not from a programming background but working as a teacher in a college of Engineering and Technology in the countryside of India. He just turned 40, and he is also the father of two wonderful kids. He has been teaching Maths to B.Tech students in a private engineer college for the last 15 years. He is earning Ok, but he always wanted to explore the world, and he now realizes that a Programming job can provide him that opportunity, so he contacted me to find out whether it's too late for a Programming career.

Tuesday, March 2, 2021

Top 17 Spring AOP (Aspect-Oriented Programming) Interview Questions Answers

If you are preparing for Java and Spring Developer interviews or Spring professional certification then a good knowledge of Aspect-oriented Programming or AOP is required. It's a boring and tough topic but important from a Spring interview and Spring certification point of view and that's where these 15+ AOP interview questions come really handy. You can use them to revise key AOP concepts before any telephonic or face-to-face interview as well as to learn and explore more about Aspect-Oriented Programming. In this article, I am going to share frequently asked AOP interview questions and also tried to answer AOP questions give on the official Spring certification exam guide.