Tuesday, March 27, 2018

Finally, Java 10 has var to declare Local Variables - JDK 10 New Feature

Hello guys, In this series of new features of Java 10 articles, today,s I am going to talk about probably the most popular and most useful, the introduction of var keyword (well, it's not really a keyword but I'll you later about it) in Java. If I am not wrong, this feature was supposed to come on Java 9 but dropped later. Finally, Java also has var keyword to declare variables which allows you to declare a variable without their type e.g. instead of doing String str = "Java" you can now just say var str = "Java". This may not sound much gain when declaring String or an int variable but consider about complex types with generics, this will surely save a lot of typing and also improves the readability of code.

Monday, March 26, 2018

Java 10 Released - 10 New Features Java Developers Should Know

Hello Guys, while we all are talking about Java 9 and some people are yet to adopt Java 8 in their projects, here comes the new release of Java, the JDK 10. It's available to download now on Oracle's website. This is the first release in the new release schedule, where you have a new Java release every six months, I know it's quite early but that's a reality now. Apart from 6 monthly release, Every 3 years there is an LTS release, which is sort of major Java release. The next LTS release is Java 11 which should be out in September. So you can aim for that. Then you can update three years after that to the next LTS release.

Sunday, March 25, 2018

5 React Native Courses to Learn Android and iOS development with JavaScript - Best of Lot

If you are a web developer who wants to go into the massive world of mobile app development but don't want to spend time learning Java or Kotlin for Android development, or Objective C or Swift for iOS development then React Native could be a great tool for you. React Native is an extension of React, a popular JavaScript framework to develop web applications, which allows you to build native Android and iOs applications in JavaScript. Unlike Ionic and Cordova which promotes write once run everywhere but doesn't offer you to create a native app, React Native does convert your code into native code, especially for GUI.

Saturday, March 24, 2018

Top 10 Computer Programming and Sci-Fi Movies Programmers Should Watch

Guys, It's a fun time here, as Holidays are approaching, it's Movie time for many of us. Being a computer programmer, I love movies which are based on programmers life, work, and concept. Thankfully Hollywood is no short of movies based on computers, programming, and geeky technical stuff. Another day, I was pretty bored and when I look back to my DVD collection, I found Inception, Matrix Reloaded, and The Social Network, this all movies are in some way related to computers and technology, which strike me the idea to publish my list of Top 10 Computer programming movies.

Tuesday, March 20, 2018

Top 5 Free Agile Courses for Programmers and Software Engineers - Best of Lot

Technology is changing at a rapid pace and market conditions, tough competition, and time-to-market are some of the biggest concerns for today's organizations, especially for technology companies. In order to adapt this fast-changing environment, most of the companies are now using the Agile model of development, testing, and project management. This enables the organizations to efficiently cope with changes and deliver faster and that's why for a programmer or an IT professional, a solid knowledge of Agile methodologies and framework is important. It doesn't matter whether you know the Waterfall model of development or not but it does matter whether you have worked in an Agile environment or not. In order to educate programmers about Agile, I have shared some of the books to learn Agile in past and today I am going to share some of the free online Agile courses you can take to learn Agile methodologies at your own pace.

Monday, March 19, 2018

Top 5 Big Data and Apache Spark Courses for Java Developers to Learn Online in 2018

Slowing economy and the recent trend of job cuts in India and elsewhere have made many programmers anxious about their job security. I receive a lot of emails and Facebook chats about suggestions to improve IT skills to remain competitive and marketable. So, if you are in the same boat, you can learn Big Data and IT Automation to remain marketable. These two skills are in great demand and will generate a lot of jobs in future. I have suggested many Java developers around the world to learn Big Data Technologies e.g. Apache Spark to give their CV a new boost. Since it's not easy to learn a new technology and at a certain age, you feel a lot of restriction and resistance from both your body and mind. In order to overcome that I found a combination of books and online courses works great.

Thursday, March 15, 2018

Top 20 Java Books of 2017 Which You Can Read in 2018 - Best of Lot

Only a few days have left in 2017 and while I am busy making my goals for 2017, I am also looking back on what I have done in 2017. One of the things which I would like to share with you guys is some of the books I have read in 2017 on Java and related technologies. This includes books on Hibernate, Object-oriented programming, Algorithms, Soft skills, Microservice, Groovy, Scala, Agile, and UML etc. If you haven't read them yet, you can very well read them in 2018, depending on what technologies and programming languages you are going to learn in 2018.

Wednesday, March 14, 2018

Top 5 Courses to Learn Python in 2018 - Best of Lot

If you are a Programmer or a Computer Science graduate and thinking to learn Python in 2018 then you have come to the right place. In this article, I am going to share some of the best online courses to learn Python in 2018. Python is one of the most popular programming languages and it's used in many domains e.g. Web development, Automation, Data Science, Machine learning etc. In recent years, Python has also become as a default language for Data Science and Machine learning Projects and that's another reason why many experienced programmers are learning Python in 2018. It's also one of the top languages on my list of programming language to learn in 2018. But, for all its power and flexibility, Python is still a very simple language to learn and often touted as beginner's programming language.

Tuesday, March 13, 2018

How to enable HTTP Basic Authentication in Spring Security using Java and XML Config

In the last article, I have shown you how to enable Spring security in Java application and today we'll talk about how to enable Basic HTTP authentication in your Java web application using Spring Security. I'll show you how to do that using both the Java configuration and XML configuration if you are using Spring Security 3.1 or lower version, but before that let's understand what is Http basic authentication and why do you need that? One of the most common ways to authenticate a user in a web application is by using form login i.e. you provide a login page and user will enter his username and password for authentication. This works great for human users but sometimes there are situations where you can't use a login form for authentication.

How to Buy Spring Professional Certification Exam Voucher Online - Step by Step Guide

So, you have been preparing for Spring certification for quite a sometime and now you feel you are ready to take the exam and it's time to buy the Spring certification voucher and schedule your exam. In this article, I'll show you how to buy the Spring certification voucher online. But, before purchasing a voucher, I would like to remind you that Spring certification voucher is only valid for 90 days, after that it will expire. So, it's best to buy the voucher only if you are ready for the exam i.e. you have gone through several Spring Mock tests and practice tests given in Spring study guides and you are consistently scoring over 80% on them.

Monday, March 12, 2018

10 Frameworks Java and Web Developers Should learn in 2018

First of all, wish you a very Happy New Year 2018. May God bless you to fulfill all your dreams. From last a couple of weeks, many of my readers are asking me questions on Facebook and Email that what should they learn in 2018? I have written a series of post to help them e.g. 10 things Java programmer should learn in 2018. In this article, I am going to share some of the most popular frameworks which you can learn in 2018. The framework is not just for Java developers but for any programmer. They are in good demand and learning them not only improve your chances of getting a better job but also opens new doors of opportunities.

Sunday, March 11, 2018

How to Ignore Unknown Properties While Parsing JSON in Java

One of the common problem while parsing JSON in Java using Jackson API is that it fails when your JSON contains unknown properties i.e. your Java class doesn't have all the field corresponding to all JSON properties. For example, if you are consuming JSON from a REST Web Service and tomorrow they added a new field into JSON then your code will break because Jackson will throw UnrecognizedPropertyException and stop parsing JSON. This is troublesome and can cause problems in production if you are not aware. I  have faced this issue when a developer shipped the code to consume data from REST API without proper handling unknown fields.

Top 3 JVM languages Java Programmer Should Learn in 2018

If you are a Java programmer and thinking to learn some more programming language to expand your knowledge and skill, but not sure which programming language to choose then you have come to the right place. In this article, I'll share 3 JVM languages Java programmers can learn in 2018 and why you should learn them. Being a Polyglot developer is a good quality and often valued high on interviews. It also expands your thinking because different programming languages have different features which make certain things really easy.

Saturday, March 10, 2018

5 Programming Languages Every Programmer Should Learn

I have read somewhere that programmer should learn a new programming language every year ( I think it's code complete, not sure, though), but if you cannot do so, I suggest to at least learn following five programming language to do well in your career. Everybody loves polyglot programmer and an all-rounder who is versatile enough to write a quick script and can also write complex Java programs. In fact, it's almost mandatory for a senior developer to learn more than one language. Interviewers are giving more attention to a programmer who has good experience with multiple languages e.g. C++ and Java goes quite well, so is Python and Java. I personally like programmers who have strong experience on either C++ or Java and can write scripts in groovy, Perl or Python.

Wednesday, March 7, 2018

10 Reasons to Learn Java Programming Language and Why Java is Best

Java is one of the best programming language created ever, and I am not saying this because I am a passionate Java developer, but Java has proved it in last 20 years. Two decades is a big time for any Programming language, and Java has gained strength every passing day. Though there are times, when Java development slows down, but Java has responded well. Earlier with groundbreaking changes in the form of Enum, Generics, and Autoboxing in Java 5, performance improvement with Java 6, and Google's choice of language for Android apps development keeps Java as a front-line programming language.

10 Object Oriented Design Principles Java Programmer should know

The Object-Oriented Design Principles are the core of OOP programming, but I have seen most of the Java programmers chasing design patterns like Singleton pattern, Decorator pattern or Observer pattern, and not putting enough attention on learning Object-oriented analysis and design. It's important to learn basics of Object-oriented programming like Abstraction, Encapsulation, Polymorphism, and Inheritance. But, at the same time, it's equally important to know object-oriented design principles, to create the clean and modular design. I have regularly seen Java programmers and developers of various experience level, who either don't hear about these OOP and SOLID design principle, or simply doesn't know what benefits a particular design principle offers, or how to apply these design principle in coding. 

Top 10 Spring Interview Questions Answers for Java JEE Developers

Spring framework interview questions are on the rise on J2EE and core Java interviews,  As Spring, is the best framework available for Java application development and now Spring IOC container and Spring MVC framework are used as a de-facto framework for all new Java development. With this popularity interview, questions from spring framework are top on any list of Core Java Interview questions. I thought to put together some spring interview questions and answers which have appeared on many Java and J2EE interviews and useful for practicing before appearing on any Java Job interview. This list of Spring interview questions and answers contains questions from Spring fundamentals e.g. Spring IOC and Dependency Injection, Spring MVC Framework, Spring Security, Spring AOP etc, because of length of this post I haven't included Spring interview questions from Spring JDBC and JMS which is also a popular topic in core Java and J2EE interviews. I suggest preparing those as well.

Top 15 Java Multithreading, Concurrency Interview Questions Answers asked in Investment banks - 2018

Multi-threading and concurrency questions are an essential part of any Java interview. If you are going for any Java interview on any Investment bank e.g. Barclays, Citibank, Morgan Stanley for equities front office Java Developer position, you can expect a lot of multi-threading interview questions on your way. Multi-threading and concurrency are favorite topics on Investment banking interviews,  especially on electronic trading development jobs and they grill candidate on many tricky java thread interview questions. They just want to ensure that the guy has solid knowledge of multi-threading and concurrent programming in Java because most of them are in the business of performance which provides them a competitive advantage.