HTML

Top 5 Courses to learn System Design and Software Architecture in 2019- Best of Lot

Software design or System design is one of the tricky concepts to master. You can quickly learn a programming language like Java or Python, but creating software using that programming language is a totally different thing. That's where software design and coding skills comes to rescue. It's actually an art to structure your program, design your modules, specify boundaries and interactions with other parts of the system so that they are easier to read, maintain, and flexible to change. It's one of the most essential skills for a software developer but often gets ignored. If you look for an online course to learn Software design and architecture, you won't find many, forget about good ones.

Difference between POST and GET Request in HTTP Protocol

HTTP Protocol supports many methods to retrieve data from the server or perform any operation on the server, e.g. upload data, delete the file, etc. In total, the HTTP protocol supports the following methods, e.g. GET, POST, PUT, DELETE, HEAD, DELETE, OPTIONS, and TRACE, and HTTP 1.1 reserves technique called CONNECT for future use.  GET, and POST is two of the most common HTTP methods you would hear or work on the web. Though both can be used to send and receive data from client to server, there are some crucial differences between the GET and POST in HTTP, which will help you to understand when you should use GET vs. POST while writing your client and server application.

10 Examples to Format and Parse Date Time in Java 8 using LocalDateTime and DateTimeFormatter

Parsing and formatting dates are other essential topics while working with date and time in Java. Even though old Date API had SimpleDateFormat and DateFormate class to support formatting of date and parsing texts, they were not simple, or should I say there were just simple in writing wrong code. You might know that SimpleDateFormat was not thread-safe and quite heavy to be used as a local variable. Thankfully, this has been sorted now with a new LocalDateTime class and DateTimeFormatter class, which has several inbuilt formatter, like BASIC_ISO_DATE format, which prints dates in yyyyMMdd format, like 20160616 and ISO_DATE which prints date as yyyy-MM-dd, like 2016-06-16. It has several useful formats to represent popular date formats around the world, like the date format used in the USA is different from than date format used in the UK and India.

Top 5 Python Books and Courses to Learn Programming in 2020 - Best of All

Python is one of the most popular programming languages, and there is a vast demand for Programmers who knows Python, and the best part is its increasing every year. If you want to learn Python in 2020 then you have come to the right place because earlier I have shared some of the free courses to learn Python and today I am going to share some of the best books to learn Python in 2020. Even though I am a Java Programmer, I am learning Python. In the real world, you often find that a big project in a bank or insurance domain leveraging several technologies together, like Java, C++, Python, UNIX, SQL, and several others. Being a Polyglot programmer also pays off well. You also create a better impression on Interviews. I know many interviewers who prefer to interview programmer who knows more than one language.

Top 5 Free Courses to Learn CSS and Bootstrap in 2019 - Best of Lot

Bootstrap is one of the most popular front-end libraries which provides a customizable template of HTML, CSS, and JS for creating a modern and responsive website. All the beautiful website you see these days with large fonts and slick form fields are built using Bootstrap. If you want to learn Bootstrap and looking for some excellent online courses, then you have come to the right place. In this article, I am going to share some of the excellent Bootstrap courses, which are also free, and you can use them to kick-start your journey with the Bootstrap framework. If you are interested in modern web development, this is the framework you must learn this year.

Top 5 Books to Learn Java 8 and Functional Programming - Best of Lot

Hello guys, recently, I asked my followers on Twitter which Java version they are using in production, and most of them said Java 8. This is not surprising at all because many of the project I have worked also using Java 8 in production. After close to 5 years of Java 8 release, it is still the most used Java version in production. Even though we now have Java 12 many programmer are yet to learn Java 8 and I often receives queries like which books to read or which courses to follow. If you are learning Java 8 features like lambda expressions, Stream API, and functional programming in Java and looking for some exciting books and resources then you have come to the right place. In the past, I have shared some of the best Java 8 tutorials and courses and today I'll share some of the best books you read to learn Java 8 better.

How to convert ArrayList to HashMap or LinkedHashMap in Java 8 - Example Tutorial

One of the common tasks in Java is to convert a List of objects, like a List<T> into a Map, I mean Map<K, V>, where K is some property of the object and V is the actual object. For example, suppose you have a List<Order>, and you want to convert it into a Map, e.g. Map<OrderId, Order>, how do you that? Well, the simplest way to achieve this is iterating over List and add each element to the Map by extracting keys and using the actual element as an object. This is exactly many of us do it in pre-Java 8 world, but JDK 8 has made it even simpler. In Java 8, you can get the stream from List and then collect all elements into a Map by using a Collector. The collect() method of Stream class and java.util.stream.Collectors class gives you ample choices to decide which property goes into the key and which object goes into the value.

Top 5 Artificial Intelligence Courses for Beginners from Udemy and Coursera - Best of Lot

Hello guys, Artificial Intelligence is very exciting? Isn't it? I first come across AI when DeepMind beat Garry Kasparov, one of the finest players of Chess. It was way back in the 1990s, and AI has come a long way since then. Now, Google is using the same DeepMind to reduce electric bills of its Data Center by 40%, and Elon Musk is talking about Self driving cars. If you are a tech geek or a programmer, these are some of the fascinating examples of Artificial Intelligence, and every time I hear an AI story, I really get hooked up. While all these are good and interesting, as a programmer, I am also spending some time on how to code AI?

Top 10 REST API and RESTful Web Services Book for Java Web Developers

In recent years, REST has become the standard style for developing web services, also known as RESTful Web Services. These web services take advantage of REST principles, which leverages all goodness of HTTP to provide scalable and robust web services. As a Java Web developer, it's high time that you get familiar with the REST concepts and the REST style of developing web services in Java, also known as RESTful web services, and nothing is better than to start with a good book. I often receive a request about which book should I read to learn REST? Or what are some best books to learn to develop RESTful Web services in Java, etc.? In this article, I will suggest some books which will teach you both designing a REST API and developing RESTful web services in Java.

What is double colon (::) operator in Java 8 - Example

The double colon (::) operator is known as the method reference in Java 8. Method references are expressions which have the same treatment as a lambda expression, but instead of providing a lambda body, they refer to an existing method by name. For example, to print all elements of the list, you can use the forEach() method as follows

list.stream.forEach( s-> System.out.println(s));

but here you can replace lambda expression with method reference to improve readability as shown below:

list.stream.forEach( System.out::println);

You can use method reference or double colon operator to refer a static method, an instance method, or a constructor.

Top 5 Free Courses to Learn Jenkins, Docker, and Kubernetes in 2019 - Best of Lot

Hello guys, you might have heard about DevOps and all the attention it is getting now. The DevOps is a new phenomenon, and there is a mad race among senior developers to become a DevOps engineer. Well, I am not one of them as my passion is for becoming a software architect, but I have indeed spent some time learning DevOps just to increase my knowledge of the field as I strongly believe in the phrase, jack of all and master of one :-). In DevOps world, tools matters a lot, and the whole of the DevOps phenomenon to create an automated pipeline for delivering quality software heavily relies on cleaver uses of tools like Maven, Jenkins, Docker, Kubernetes, and others.

10 Books for Coders of All levels - Must Read Best of Lot

Coding is one of the most essential skills for programmers, and if you want to survive as a programmer, you must improve your coding ability. Gone are the days when you can get a software development job without having you write a single line of code and then somehow survives in the role by doing support, coordination, and other non-coding activities. Companies, both big and small, are increasingly testing the coding skills of candidates before hiring. It's widespread for programmers to pass a coding test before a telephonic round of interview. Some of the companies even hire websites like HackerRank and others to check the coding skill of potential candidates, many others give candidates to take home coding tests. In short, companies have a lot of focus on the coding expertise of potential hires.

Top 10 RESTful Web Service Interview Questions for Java Developers

REST is an architectural style of developing web services that have become immensely popular in the last couple of years and consequently gained a lot of importance in core Java and Java EE interviews. If you are a Java web developer, then you are most likely to see a couple of questions from web services every time you go for a Java web developer interview. One of the most frequent ones is the difference between REST and SOAP web services, which I have recently answered there, but there are a lot many other good questions I have collected from friends and my readers, which I have not yet published. In this article, I am sharing those questions, mainly based on REST-style web services for your practice and preparation.

Top 5 Free R Programming Courses for Data Scientists - Best of Lot

More and more people are learning the R programming language to become a Data Scientist, one of the hottest and high paying technical jobs on the planet. Though I am from Python camp when it comes to choosing between Python and R for Data Science, Machine Learning, and Artificial Intelligence, mainly because of the excellent libraries Python offers, I had tried R for a short time. If you are also on the same boat and want to try or learn R programming for Data Science and machine learning purposes and looking for some excellent free courses to start your journey, then you can take some ideas from this article.

5 Best books to learn JDBC - Java Programming

The JDBC (Java Database connectivity) is one of the vital API in Java programming language which allows a Java program to connect to any database, like Oracle, Microsoft SQL Server, MySQL, PostgreSQL, SQL Lite, Sybase or any other relational database. It's an essential API to learn and master for both core Java and Java EE professionals, given the ubiquitous nature of Database in real-world applications. Despite its importance, many Java developer lacks essential JDBC skills, like they are not familiar with Connection, Statement, connection pool, calling stored procedures, and executing a transaction in JDBC.

3 ways to find Repeating number in given array in Java?

Problem: You have given an int array that contains duplicate or repeating elements like numbers. You need to find all those repeating numbers from a given array. Remember, the array may contain 1, 2 or multiple duplicates. You need to print all of them. For example, if the given array is {1, 2, 3, 4, 5, 6, 1} then your program should print 1. Similarly, if the given array is {3, 3, 2, 2, 4} then your solution should return 2 and 3, the order is not important as long as you can identify all the repeating elements.

When to use PUT or POST in a RESTful Web Service?

One of the most common confusion among web developers is the choice of PUT or POST HTTP method for creating or updating a resource while developing RESTful Web Services. Since both can be used to submit data, you can use either POST or PUT to create or update a resource. Many web developers want to use PUT for creating a resource on the server because it's idempotent. No matter how many times you call the PUT, the state of the resource will not jeopardize. Since the possibility of re-submission is real on a slow network, using PUT to create resource makes it easy, as you don't need to worry about user clicking the submit button multiple times.

How to remove duplicates from Stream in Java 8 - Stream.distinct() Example

You can use the Stream.distinct() method to remove duplicates from a Stream in Java 8 and beyond. The distinct() method behaves like a distinct clause of SQL, which eliminates duplicate rows from the result set. The distinct() is also a standard method, which means it will return a new Stream without duplicates, which can be used for further processing. Like other methods of Stream class, like map() or filter(), distinct() is also lazy, and it will not remove duplicate elements until you call a terminal method on Stream.  The actual processing of Stream pipeline starts only after calling terminal methods like collect() or forEach().

Top 5 Free HTML and CSS Courses to Learn Frontend Web Development in 2019 - Best of Lot

HTML and CSS are two pillars of web development, they are used to create web pages you see every day. HTML provides the structure to your web page and CSS provides them the style to look better. If you want to become a front-end web developer or web designer then a good knowledge of HTML and CSS is a must. Even though modern day web development is all about framework and library e.g. Angular and React, you still need to know HTML and CSS to understand what's going on and troubleshoot any issue you face while developing a web application. Btw, JavaScript is another pillar of web development but we'll not discuss this article. I have already shared some good books and courses to learn JavaScript before

Top 5 Apache Maven Free Ebooks for Java Developers

If you are working in Java for a couple of years, you surely know about Maven, the most popular tool to build Java application. Recently I had shared 10 things about Maven Java developer should know, (if you have read it yet, you can read it here) and I receive a lot of good feedback about how useful those plugins and Maven, in general, are for Java developers. This motivated me to write more stuff about Apache Maven, and then I thought about sharing some of the free ebooks Java developers can use to learn Maven. Sonatype, the company behind the Nexus open source repository manager and creators of the Apache Maven project, provides a couple of good free ebooks to learn Maven and Nexus repository.

Top 5 Free Courses to Learn Web Development in 2019 - Best of Lot

Hello guys, I have been sharing a lot of free online courses and books on various technology and programming language like Python, Java, C++, JavaScript, PHPReact, Angular, Spring in this blog from quite some time and today I have brought some great free courses to learn the basics of web development. Web Development is an essential skill for programmers in this era of Startups. As a programmer or software developer, you should know how to create a website and how to create a mobile app of your own. Though it's not easy. Coding is like art, and many people born with coding sense; I mean they love coding; they love to create stuff like websites, mobile apps, games, etc. and they love to automate things.

How to Implement a Power Function in Java - Coding Interview Question

Even though the Java library has a power function, Math.pow(), to calculate the power of a given number in Java, it's a regular programming exercise for Java programmers to implement a power function. If you have used the Math class, then you know that the java.lang.Math.pow(double a, double b) returns the value of the first number raised to the power of the second number and you need to do the same. In other words, you need to write a Java function to calculate the power of integer numbers for simplicity. The original method accepts a binary value, but you are allowed to use just integer, but beware that power function may overflow.

Top 4 Free Microsoft SQL Server Books - PDF Download or Online Read

Hello Guys, today, I am going to share some of the excellent database and SQL server books that are freely available on the internet for reading online or download as PDF. If you have been reading this blog then you know that I love books, I love to read books, and I love to collect books, that's why I have a significant online and offline library. Many people question me, do I really find to read all the books which I share? Well, I don't read all books page by page, unless and until its something like Effective Java or Clean Code. I mostly skim through books and stopping on exciting and new things, which I don't know or probably have a misconception, but I do like to refer books many times. If I skim through a book, I know where I can find more information about a particular concept, and then I explore it in more depth.

10 Examples of Stream in Java 8 - count + filter + map + distinct + collect

The Java 8 release of Java Programming language was a game-changer version. It not only provided some useful method but totally changed the way you write programs in Java. The most significant change it brings in the mindset of Java developers was to think functional and supported that by providing critical features like lambda expression and Stream API, which takes advantage of parallel processing and functional operations like filter, map, flatMap, etc. Since then, a lot of Java developers are trying their hands to learn those significant changes like lambda expression, method reference, new Date and Time classes, and, more importantly, Stream API for bulk data operations.

13 Free Java 8 Certification Sample Questions - OCAJP8 and OCPJP8 - 1Z0-808 and 1Z09 dumps

Hello guys, Java SE 11 certifications are already out but not many people are going for it because of difficulty level. If you want to become a certified Java developer then Java SE 8 is still the best possible option. If you are preparing for Oracle Java SE 8 Certifications, like OCAJP8 and OCJP8, also known as exam 1Z0-808 and 1Z0-809 and looking for some free practice tests, then you have come to the right place. In this article, I am going to share some of the best OCAJP 8 and OCPJP 8 mock tests available for free of cost online, so that you can check your speed and accuracy before the real exam. These tests are not just useful for Oracle's Java OCA and OCP certification but also for upgrade exams like OCJP 8 upgrade exams with code 1Z0-810 and 1Z0-813, upgrade to Java SE 8 from Java 6 and prior version.

SOAP and RESTful - Best Books to Learn Web Service in Java

If you are a Java developer and want to learn how to develop Web Services in Java, both SOAP and RESTful, but confused about where to start, then you have come to the right place. In this article, I am going to share some of the best books to learn about both SOAP and RESTful web services in Java. If you are not familiar with Web Services, it's a way to expose the services provided by your application to other developers and applications. For example, if your system offers weather information, then the user can go and check whether manually by looking at the Web GUI built using HTML, CSS, and JavaScript. Still, by exposing the same information using Web services, you allow a programmer to display as they want.

Top 5 Courses, Classes, and Tutorials to Learn Git and Github in 2019 - Best of Lot

There is no doubt that Git and Github have become standard source control and code repository for software developers. There was a time when multiple version control rules the world like CVS, SVN, VSS, Mercury, and TFS, but slowly and for better, everything has converged to Git. Now, almost 70 to 80% programmer uses Git for version control and Github repository, both public and private, for storing their source codes.  When it comes to using a source control tool like SVN or CVS, most of the programmers use them using IDE like from IntelliJIDEA or Eclipse and they are hardly familiar with the command line. This is particularly true for old source control software like SVN and CVS but Git & Github has changed that culture a bit.

5 Best Spring Professional Exam Certification Resources - Guides, Courses, Books, and Tutorials

Ever since Pivotal has announced that Spring training is not mandatory for becoming a Pivotal Certified Spring developer, more and more experienced Java programmers who have been using Spring for years are preparing for the exam. This is obvious because the expensive Spring training, which cost around 32000 USD in the USA and most of the western nations and about 50,000 INR in India, was the biggest hurdle on getting Spring certified. Even though the training is the best way to prepare for certification because it is totally focused on the certification exams and you will cover all topics there, it is not affordable for most of the Java developers around the world. Now, the cost of Spring certification has just reduced to 200 USD from the whopping 3200 USD it cost earlier.

How to remove duplicate characters from String in Java? [Solved]

Hello all, how are you doing? It's been long since I have shared a coding problem from the interview. The last one I discussed was about finding Nth Fibonacci number, one of the popular dynamic programming problems. Nevermind,  today, you are going to learn about another popular coding problem.  How do you remove duplicate or repeated characters from String in Java is one of the frequently asked strings based coding problems from Interviews. This problem is very similar to removing duplicate elements from an array which we have discussed in the past here after all String is a character array in Java. If you know how to solve that problem, you should be able to solve this one as well.

Top 5 Free Courses and Tutorials to Learn C# (C-Sharp) in 2019 - Best of Lot

Many people underestimate the power of C# and never think highly of it when they talk about programming languages. Still, the truth is that C# is one of the popular programming languages of today's world, just behind JavaScript, SQL, and Java on StackOverFlow's Developer Survey for the last a couple of years. There are a lot of jobs and opportunities available for experienced C# developers. It's one of the critical languages for developers working with Microsoft technologies like Windows and SQL Server. It is also one of the most popular programming languages for developing desktop GUI, surpassing Java Swing entirely in the last couple of years. I have seen many big investment banks switched from Swing to C# for their GUI development work.

Java 8 Map Function Examples

The map is a well known functional programming concept which is incorporated into Java 8. Map is a function defined in java.util.stream.Streams class, which is used to transform each element of the stream by applying a function to each element. Because of this property, you can use map() in Java 8 to transform a Collection, List, Set or Map. For example, if you have a list of String and you want to convert all of them into upper case, how will you do this? Prior to Java 8, there is no function to do this. You had to iterate through List using a for loop or foreach loop and transform each element. In Java 8, you get the stream, which allows you to apply many functional programming operators like the map, reduce, and filter.

Top 10 Data Structure and Algorithms Courses, Class, and Tutorials for Java Programmers - Best of Lot

Hello guys, In the past, I have shared a lot of useful resources like books and tutorials to learn Data Structure and Algorithms in Java. I have also shared a lot of Data Structure and Algorithmic interview questions like this and their solutions in Java. Still, I have got continuously queries about excellent courses to learn Data Structure and Algorithms in Java. Even though the topics are completely independent with the programming language, Java developer definitely likes the online courses which teach Data Structure and Algorithms in Java, and that's why my recent post about best algorithms courses, which includes algorithms courses from JavaScript and Python didn't impress my readers.

5 Difference between an array and linked list in Java

The difference between an array and linked list is one of the frequently asked data structure and algorithm interview question and you might have seen it before on your telephonic or face-to-face interview. It is also a very popular question during practical exams in Computer Science degree courses e.g. B.E. and B.Tech. It's very simple and easy to answer but you just can't afford to miss this question in an interview. Both array and linked list are two of the most popular and fundamental data structure in Computer Science and Programming, and Java supports both of them. One of the traits of a good programmer is extensive knowledge of data structure and algorithm and that's why it's very important for you to learn the difference between array and linked list data structure and understand when to use an array over a linked list and vice-versa.

6 Free Maven and Jenkins Online Courses for Java Developers - Best of Lot

Maven and Jenkins are two of the most popular tools in the Java world. Maven helps to organize your project and provide support to build and deploy Java projects while Jenkins can provide continuous integration and delivery by completely automating build and deploy projects. As a Java developer, it's crucial that you know both Maven and Jenkins because every other company is using it, and not knowing these technologies will only put you behind other candidates if you go for a job. If you have yet to learn Maven and Jenkins then you have come to the right place, In this article, I will tell you 6 free course you can take to learn Maven and Jenkins online, but before that, let's understand what Maven and Jenkins are and what are their purpose.

How to reverse a singly linked list in Java without recursion? Iterative Solution

Hello guys, reverse a linked list is a common coding problem from Programming Job interviews and I am sure you have seen this in your career, if you are not, maybe you are a fresher and you will going to find about this very soon in your next technical interview. In the last article, I have shown you how to use recursion to reverse a linked list and today, I'll show you how to reverse a singly linked list in Java without recursion. A singly linked list, also known as just linked list is a collection of nodes which can only be traversed in one direction like in the forward direction from head to tail. Each node in the linked list contains two things, a data and a pointer to the next node in the list.