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.
Saturday, December 30, 2023
Friday, December 29, 2023
Top 5 Hibernate Books for Java Developers - Best, Must read
Hibernate is one of the most popular, open-source ORM (Object Relational Mapping) framework, which has now become a standard for developing persistence layer on Java enterprise application, along with JPA (Java Persistence API). I often receive requests to suggest which book is best to learn to hibernate or recommendation about some good books and training courses on Spring and Hibernate. This motivates me to write this article about some of the best books on Hibernate currently available on the market.
Labels:
books
,
hibernate
,
online resources
Thursday, December 28, 2023
How to sort ArrayList in Natural and Custom Order in Java - Example Tutorial
Sorting ArrayList in Java is a common task for Java developers and we have touched it while discussing in my last article 10 Examples of ArrayList in Java and again when we discussed comparator and comparable in Java. There are multiple ways to sort ArrayList in Java for example, you an use Collections.sort() method or List.sort(), or Stream.sort() method to sort an ArrayList in Java depending upon which Java version are you using. If you want a solution irrespective of Java version then Collections.sort() is the best way because this method is available since JDK 1.1. In order to sort an ArrayList, we need to use the Collections utility class which contains an overloaded sort() method for sorting different collections and supports different comparators in Java. In this article, we will see how to sort ArrayList in the natural order of elements and then sorting ArrayList in Java with a comparator.
Labels:
ArrayList
,
core java
,
java collection tutorial
Monday, December 25, 2023
Top 10 Java Programming Books - Best of lot, Must Read
Hello guys, if you want to learn Java and looking for the best books to learn Java then you have come to the right place. In the past, I have shared best Java courses, websites, and even a complete Java Developer RoadMap and in this article, I am going to share best books you can read to learn Java programming in depth. These top Java programming books are some of the good books to learn Java and I would say some of them are simply the best Java books ever published. Whenever a programmer starts learning Java programming language, the first question he asks is "Which book should I refer to learn Java?", or "What is the best book to learn Java for beginners?" or "Can you tell me some good books to learn Java?" .That itself says how important Java books are for programmers especially beginners.
Labels:
books
,
core java
,
online resources
,
programming
Saturday, December 23, 2023
5 Must Read Books to become Software Architect or Solution Architect
I receive a lot of queries from senior Java developers, who aspire to become software architect or solution architect, like what can they do to become a software architect? Which books, resources, or certifications can help? And general queries like how much experience you need to become a software architect etc. In the past, I have been suggesting them individually about some books to read to expand their knowledge base and look at the software from architecture and design perspective, and this article is a compilation of many of such suggestions. Since a lot of books can confuse, I have only select 5 best and must-read books from the software architect's perspective.
Labels:
books
,
online resources
,
programming
Sunday, December 17, 2023
How to enable Spring MVC in Java Web Application? Example Tutorial
In last article, I have shared thoughts on how to enable Spring Security on Java Web application, where my reader also shown interest to know how to configure/enable Spring MVC in Java web application. Though, this is very basic information, it helps a lot to anyone who is new to String framework and want to understand then essential steps required to enable Spring MVC framework for a Java based web application. It's easy to configure Spring MVC if you have developed a simple hello word kind of program using Servlet or JSP and familiar with web application fundamentals in Java world e.g. Servlet container like Tomcat, deployment descriptor file or web.xml, Servlet or JSP itself and some essential tags on web.xml e.g. <servlet> and <servlet-mapping>, <url-pattern> etc.
Labels:
spring
,
spring mvc
Monday, December 11, 2023
How to conditionally render view in JSP using Spring Security tag library? Example tutorial
One of the common requirement of secure Java application is to show and hide content based upon role of current user. For example, a logged in user can see his name e.g. Welcome User1 but that link is not visible to an unauthenticated user. Similarly, a user with admin role can see a lot of admin related functionality which should not be visible to a normal user e.g. add/remove users, disable users, create roles, edit roles etc. How can you achieve such condition based rendering in view? Does spring security support that? Well, the answer is Yes. Spring security provide a tag library which you can use in JSP pages to perform a lot of authentication and authorization related stuff e.g. you can access current user's name, you can access access current user's role and you can also conditionally show/hide certain section of views based upon user's role.
Labels:
spring
,
spring interview questions
,
spring security
Monday, December 4, 2023
How to Crack AWS Certified Solution Architect Associate Exam SAA-C03 in 2024
There is no doubt that AWS certification is precious and opens the door for a lot of opportunities, not just for system admins but also for developers and DevOps. Even though there is no substitute for knowledge and experience there are a lot of tangible and intangible benefits of AWS certifications, mainly AWS Certified Solution Architect Associate. Your certification is useless if you don't know how to work in AWS console, but if know that and still struggling to find a job then AWS certification can help you. First thing, it gives you recognition. It allows you to put AWS in your resume and LinkedIn and also get you a lot of chances as recruiters and companies prefer certified professionals over a non-certified if skill set matches.
Spring Professional Develop 2024 Certification Guide - [VMware 2V0 -72.22 FAQ]
If you are a Java developer, working in the Spring framework, and thinking to become a certified Spring professional but couldn't do it in the past due to expensive mandatory training provided by Vmware and its partners then there is good news for you. Now you can take online Spring training courses from Vmware for appearing to the Spring Professional Develop certification exam, which means, now, it's not mandatory to take expensive Spring training for Spring certifications (see here). Similar to Oracle's Java certifications, you can become a Vmware Certified Spring Professional by just buying the exam vouchers and scheduling your exam online using examlocal.com from anywhere in the world.
Labels:
Java Certification OCPJP SCJP
,
spring
,
Spring certification
5 Best Java 8 and Functional Programming Books for Beginners and Experienced [UPDATED]
If you follow Java updates, you may know that Java 13 was released, and Java 14 is on the way, but I often receive emails and queries asking about some good books to learn Java 8. Since Java 8 is very different from any other JDK release, in terms of language and API enhancement, you really need an excellent book to learn fundamentals. In short, based upon my 2 years of learning and reading Java 8 books, I can say that Java SE 8 for Really Impatient is hands down the best book to learn Java 8. It covers all the essential things released in JDK 8, not just lambda expression and streams but also new Date and Time API and several other minor enhancement yet crucial features, which often go unnoticed.
Labels:
books
,
Java 8
,
online resources
Top 6 Advanced SQL Books for Experienced Programmers - Best of lot, Must read
If you an experienced programmer and know how to write SQL queries and database fundamentals but want to take your SQL and database skills to the next level then you have a come to the right place. In this blog, I have shared a lot of free SQL books and courses you can use to start your SQL journey. This is also the second article about SQL books, In the first part, I have shared some of the best SQL books which are essential to learning SQL queries and fundamentals of database like normalization, indexing, and other design stuff, if you haven't read it yet, I suggest to do it now. You will find some amazing books to start learning SQL.
Labels:
books
,
database
,
online resources
,
SQL
How to get current logged in user in JSP and Controller using Spring Security? Example Tutorial
One of the common task while using Spring Security in a Java web application is getting the username of currently logged in user. Sometime, you need that in your controller class and sometime in JSP for view purpose, but the big question mark is how do you get the current user in Spring Security? Well, there are many ways to do it and depending upon whether you need it inside a JSP page or Controller class, you can choose them. The current user, also known as Principal in Spring Security can be obtained from the UserDetails class, which holds all details for currently logged in user. You can get this class from the SecurityContext, which in turn can be retrieved from SecurityContextHolder as shown below:
Labels:
spring
,
spring interview questions
,
spring security
Subscribe to:
Posts
(
Atom
)