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.
Labels:
books
,
spring
,
spring boot
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.
Labels:
REST
,
spring
,
spring interview questions
,
spring mvc
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.
Labels:
Java HTTP Tutorial
,
Java Web Service Tutorial
,
REST
Top 5 Microsoft Azure Fundamentals Practice Tests to Crack AZ-900 Certification Exam in 2023 - 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.
Labels:
cloud computing
,
IT Certifications
,
Microsoft Azure
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.
Labels:
books
,
data structure and algorithm
,
online resources
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.
Labels:
Java Web Service Tutorial
,
Jersey
,
REST
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.
Labels:
books
,
coding
,
core java
,
programming
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.
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.
Labels:
database
,
Microsoft SQL Server
,
SQL
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.
Labels:
books
,
Java Web Service Tutorial
,
REST
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.
Labels:
books
,
java interview questions
,
online resources
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.
Labels:
books
,
coding
,
interview questions
,
programming
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.
Labels:
best of javarevisited
,
programming
,
web development
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.
Labels:
spring
,
Spring certification
,
spring interview questions
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.
Labels:
best of javarevisited
,
best practices
,
SQL
Subscribe to:
Posts
(
Atom
)