Disclosure: This article may contain affiliate links. When you purchase, we may earn a small commission.

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.

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.

What are Idempotent and Safe methods of HTTP and REST [Interview Question]

If you are learning REST and want to understand the difference between the Idempotent and safe method then you have come to the right place. Earlier, I have shared the best books and courses to learn RESTful Web services and in this article, I will answer this popular REST Interview question. In order to efficiently work with REST and RESTful web service, good knowledge of HTTP is really helpful. Even though REST seems easy, designing a uniform and consistent RESTful API is a tough job. One of the tricky tasks is choosing right the HTTP method for the right job like when to use PUT vs POST. Once you know the meaning and purpose of different HTTP methods, it helps to choose the right method for the right job.

Top 5 Microsoft Azure Fundamentals Practice Tests to Crack AZ-900 Certification Exam - Best of Lot

Hello there, if you are preparing for Microsoft Azure Fundamentals or AZ-900 certification exam and looking for some practice test to check your knowledge, then you have come to the right place. Earlier, I have shared the best AZ-900 Online Courses and In this article, I am going to list down some of the best practice tests you can take to pass the Microsoft Azure Fundamentals (AZ-900) exam.  This exam focuses on essential cloud concepts like IaaS, PaaS, SaaS, and Azure Core services like geo availability, storage, network, compute services, security, pricing, and billing. This is actually one of the easiest Microsoft Azure cloud certifications, much like Amazon's AWS Cloud Practitioner certification and you can easily pass this exam even if you have never worked in any cloud platforms like AWS, Azure, or GCP.

Top 20 Algorithms Interview Questions for Programmers and Software Engineers

Hello All, If you are preparing for Programming job interviews or looking for a new job then you know that it's not an easy process. You got to be lucky to get a call from recruiter or hiring manager and make to the first round of interview at any stage of your career but it is even more difficult at the beginner level when you are searching for your first job. That's why you can't just take your chance lightly. You got to be prepared to grab that chance and for that, you must know what is expected from you on the interview. What is asked, what topics should you prepare, etc? I have blogged a lot about what you can find helpful articles in this blog but to recap let me tell you that apart from data structure questions, System Design Questions, and Programming language-specific questions like Java or Scala, most of the programming job interviews also ask algorithm based questions.

5 Free Data Structure and Algorithms Books in Java Programming

In the last article, I have shared some of the best data structure and algorithms books for programmers, but those were not free. After that article, I received some feedback about how about sharing free data structure and algorithm books? Fair enough, everybody loves free eBooks, courses, and PDFs, don't you? In the past, I have shared a list of free Java programming books, so I had some ideas. I did some more research on the internet and checked my collection as well. Fortunately, there are a couple of good Data Structure and Algorithm books which are available for free as a PDF download or for online reading, which is what I am going to share with you all today.

Restful Web Services in Java using Jersey [Hello World Example]

Along with Spring Boot, Apache CXF, and  Restlet, Jersey is another popular open-source framework to create RESTful web services in Java. Jersey conforms to JAX-RS specification and actually it is the reference implementation of JAX-RS (JSR 311)(http://jsr311.java.net/nonav/releases/1.1/index.html) specification. In the last article, we have seen the Restlet HelloWorld Example and today we'll see the Jersey HelloWorld Example. Typically, when a developer thinks of creating a RESTful web service using Java, they assume that using a Java EE application server is the only way to create this type of application.

Mapping of HTTP Methods to RESTful Web Services Function in Java?

RESTful web services heavily rely on HTTP by design. They use different HTTP methods to perform their job and uses an HTTP response code to inform clients about the success or failure of a particular request. REST stands for Representational State transfer and it uses HTTP to allow two systems to communicate via remote calls. RESTFul web services are a collection of REST URI which points to resources. These URI can point to a single resource or a collection of resources. For example, you would expect /employee/101 to contain details of employees with 101 and /employees to return a list of all employees. In the RESTFul web service, HTTP request types signify the action to take for the resource.

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.

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.

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.

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. 

Design a Vending Machine in Java - Interview Question

How do you design a Vending Machine in Java? is one of the good Java interview questions mostly asked at Senior level Java developer Interviews. In a typical coding interview, you will be given a problem statement to develop a vending machine and within a limited time, usually, 2 to 3 hours you need to produce a design document, working code, and unit test in Java. One of the key advantages of such Java interviews is that you can test many essential skills or a candidate in one go. In order to complete the design, coding, and unit testing of a Vending machine, a candidate needs to be really good in all three departments.

Top 5 Books for Programming/Coding Interviews - Best of lot

If you are preparing for Programming Job interviews and looking for some of the best books for programming questions, then you have come to the right place. In this article, I am going to share a couple of good books to prepare coding, software design, and data structure algorithm questions, which are essential for any coding interviews. Though a programming interview also explores other areas of software development, like the programming language, you would be mainly used in your project, like, C++ or Java. The database and SQL-based questions, the operating systems, and UNIX-related questions, some of the software design and object-oriented design pattern questions, and much more, but coding-based questions form the core of programming interviews.

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.

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.

A Better way to write Complex SQL queries for Programmers

There is no doubt that writing code is more art than science, every coder cannot write beautiful code which is both readable and maintainable, even with experience. In general, coding improves with experience when you learn the art of coding e.g. favoring composition over inheritance or coding for interface than implementation, but only a few developers able to master these techniques.  The same applies to SQL queries. The way you structure your query, the way you write it goes a long way to communicate your intent to the fellow developer. When I see SQL queries on emails from multiple developers, I can see the stark difference in their writing style.