Thursday, May 26, 2022

5 Best Programming Languages To Start Your Career in Software Development and Best Courses To Learn Them

Hello guys, If you want to become a Programmer or Software developer in 2022, you should be an expert in not one, but multiple programming languages. It is an absolute necessity to be skilled and fluent in more than one programming language. But which programming languages should you master, you might be asking. Well, don't worry. We have got your back.  Gone are the time when you can just learn one programming language like Python, Java, or JavaScript and done, nowadays every job demands more and there is always a couple of programming language you can find in job description.

Wednesday, May 25, 2022

How to Set Classpath for Java on Windows and Linux? Steps and Example

What is CLASSPATH in Java? Classpath in Java is the path to the directory or list of the directory which is used by ClassLoaders to find and load classes in the Java program. Classpath can be specified using CLASSPATH environment variable which is case insensitive, -cp or -classpath command-line option or Class-Path attribute in manifest.mf file inside the JAR file in Java.  In this Java tutorial, we will learn What is Classpath in Java, how Java resolves classpath and how Classpath works in Java alongside How to set the classpath for Java in Windows and UNIX environment. 

Monday, May 23, 2022

Difference between Direct, Non Direct and Mapped ByteBuffer in Java?

ByteBuffer is one of the important classes of Java NIO API. It was introduced in java.nio package on JDK 1.4, it not only allows you to operate on heap byte arrays but also with direct memory, which resides outside the JVM. There are mainly three types of ByteBuffer in Java - Direct Byte Buffer, Non-Direct ByteBuffer, and mapped byte buffers. You can create both direct and non-direct buffers using java.nio.ByteBuffer class, while MappedByteBuffer is a subclass of ByteBuffer, which is created by FileChannel.map() method, to operate on memory-mapped file. 

Wednesday, May 11, 2022

String vs StringBuffer vs StringBuilder in Java? Example

Difference between String, StringBuffer, and StringBuilder
The String is one of the most important classes in Java and anyone who starts with Java programming uses String to print something on the console by using famous System.out.println() statements. Many Java beginners are not aware that String is immutable and final in Java and every modification in String creates a new String object. For example, when you get the substring, you get a new String, when you convert uppercase String to lowercase, a new String is created. Even when you remove space by calling the trim() method, a new String is returned. 

Sunday, May 8, 2022

Java 8 forEach() Loop Example

Java 8 has introduced a new way to loop over a List or Collection, by using the forEach() method of the new Stream class. You can iterate over any Collection like List, Set, or Map by converting them into a java.util.sttream.Stream instance and then calling the forEach() method. This method performs given operation on every element of Stream, which can be either simply printing it or doing something else. Since stream can be sequential or parallel, the behavior of if this method is not deterministic if used with a parallel stream. 

Difference between Transient, Persistent, and Detached Objects in Hibernate

In the Hibernate framework, an entity can be in three states, transient, persistent, and detached. When an object is in a transient state, it is commonly referred to as a transient object, similarly, if it is in persistence and detached state, it is known as a persistent and detached object. When an entity is first created using the new operator like new User() and not associated with Hibernate session like you haven't called session.save(user) method then it is known as a transient object. At this stage, Hibernate doesn't know anything about this object and the object doesn't have any representation in the database like a corresponding row in the User table.

Wednesday, April 27, 2022

How to use filter + map + collect + Stream in Java? Example Tutorial

Hello guys, many of my readers emailed me to write a post about the map and filter function of Java 8 because they found it difficult to understand and use. Even though I have previously blogged about both map() and filter(), I am writing this post again to explain the concept in more layman's language for a better understanding of my readers and fellow Java developers. The map() function is a method in Stream class that represents a functional programming concept. In simple words, the map() is used to transform one object into another by applying a function. That's the reason the Stream.map(Function mapper) takes a function as an argument. For example, by using map() function, you can convert a list of String into List of Integer by applying Integer.valueOf() method to each String on the input list.

Thursday, April 21, 2022

Top 5 Free Pandas Courses for Beginners to learn Data Analysis in 2024 - Best of Lot

Hello guys, if you want to learn Pandas library, one o the most popular Python library for Data Scientists and Machine Learning engineers and looking for the best resources like online courses, books, tutorials, and training classes then you have come to the right place. Earlier, I have shared the best Pandas for Data Analysis courses and in this article, I am going to share free Pandas courses for beginners to learn in 2024. Many developers switched to learning python programming language due to its variety of libraries that offer developers, like creating web apps using Django.

Wednesday, April 20, 2022

How to prepare for AWS certified Advanced Networking Specialty Exam in 2024

Hello guys, if you are preparing for AWS Advanced Networking Specialty Certification in 2024 but not sure how to prepare for this exam then you have come to the right place. In the past, I have shared several AWS courses and Practice tests for different AWS Certifications like AWS Developer, AWS Solution Architect Associate, and AWS SysOps and in this article, I am going to share best resources and step by step guide to prepare for AWS Networking Specialty exam. Certification in AWS services and hybrid IT network designs may be shown by passing an exam such as the AWS Certified Advanced Networking Specialty test. This is not a beginner's exam, but rather a test for those who are already proficient in using AWS to do difficult networking tasks.

Top 50 SQL and Database Phone Interview Questions Answers

Database and SQL is a very important skill, not just for DBA or Database admins but also for any application developer like Java, .NET, or Web developers. This is why you would often see questions from SQL and Database in Programming interviews. For DBAs, SQL is more important than a programmer, because it being their primary skill, they are also expected to know more than a common Java or .NET developer. Since no Java interview is just about Java questions, many times I receive a request from my reader about SQL questions like how to solve a particular query or some tricky questions based upon database indexes.

Monday, April 18, 2022

How to use Environment Variables in Spring Boot's application.properties file? Example Tutorial

How to use environment variable in Spring boot's application.properties is a major problem when your spring boot application running on different places like local, Jenkins, and OpenShift. So we need to make the data source file dynamic in the application.properties file. So let's have look at how to do this at how to use the env variable in Spring Boot's application.properties. So in this tutorial, We assume that you have knowledge of Spring boot and not going to talk about small details. 

Wednesday, April 13, 2022

Top 5 Courses to Learn F# (F Sharp) for Beginners in 2024 - Best of Lot

For those who are new here, F# also called F sharp, is a functional programming language that allows you to solve complex problems by writing simple pieces of code.  F# makes it very easy to write concise code that can solve complex problems. It is a functional programming language like Scala, Haskell, Elixir, and Erlang. The best thing about F# programming language is that its available on all the major desktop and mobile platforms. F# is built on the .NET framework and offers good interoperability, portability, and speed. It also offers conciseness, convenience, correctness, concurrency, and completeness. 

Top 10 Pluralsight Courses to Learn Cloud Computing in 2024 - Best of Lot

Hello guys, if you are looking for best Pluralsight course to learn Cloud Computing in 2024 then you have come to the right place. In the past, I have shared best Pluralsight courses for Java Developers, and best Pluralsight courses to learn JavaScript, React.js, and Cyber Security and today, I am going to share with you best Cloud computing courses from Pluralsight. If you have Pluralsight membership, monthly, yearly or premium or from your company then these are truly the best resources to start with Cloud computing in 2024. But, before we get to the 10 best courses that will teach you all about cloud computing, let me tell you what the term cloud computing actually means.

Top 5 Courses for AWS Advanced Networking Specialty Exam in 2024 - Best of Lot

Before I tell you about the best courses that you can use to pass the AWS Advanced Networking Specialty Exam, let me tell you what exactly it is, right? It is basically a certification that allows organizations to identify and develop talent with critical skills for implementing cloud initiatives. If you earn the AWS Advanced Networking Specialty Certification, it means that you are an expert in designing and maintaining network architecture for a variety of AWS services. The AWS Certified Advanced Networking Specialty Exam is meant for individuals who perform complex networking tasks with five years of hands-on experience architecting and implementing network solutions. 

Tuesday, April 12, 2022

Top 5 Courses to Crack AWS Database Specialty (DBS-C01) Exam in 2026 - Best of Lot

Before I tell you about the Best Courses for the AWS Database Specialty exam, let me tell you what it exactly is. It is basically a certification that allows companies to identify and develop talent with critical skills for implementing cloud initiatives. If you earn an AWS Certified Database Specialty, it means that you are an expert in recommending, designing, and maintaining optimal AWS database solutions. The AWS Certified Database Specialty exam is meant for individuals with experience and expertise working with on-premises and AWS CLoud-based relational and non-relational databases.