Hello guys, For a change, this article is not for candidates who are preparing for interviews, but for those programmers who are responsible for taking interviews. At some point in your career as a programmer, you will have the responsibility to hire developers for your company. This is a big responsibility and your ability to select the right candidate will directly affect your company's future. This is more visible in small companies than the larger organization where a pool of interviewers exists. In a start-up, if you are a technical lead and responsible for hiring, it's a tough job. You have to hire the right candidate which fits in companies culture and competent enough to do the job they were hired for. To be frank, conducting interviews is as hard as giving interviews.
Wednesday, March 15, 2023
Friday, March 10, 2023
How to use MyBatis in Spring Boot application in Java? Example Tutorial
Hello guys, In this tutorial, we will discuss how to create a spring boot project with MyBatis. First, you need to have a better understanding of what is MyBatis and its use-cases. MyBatis is a SQL mapping framework with support for custom SQL, stored procedures, and advanced mapping. Although Spring Boot does not officially support MyBatis, the MyBatis community has created a Spring Boot startup for MyBatis.This is the most commonly used open-source framework for implementing SQL databases access in java applications.
Labels:
java
,
Mybatis
,
spring
,
spring boot
Thursday, March 9, 2023
Top 16 JMS (Java Messaging Service) Interview Questions and Answers
Java messaging Service or JMS interview questions is one of the important parts of any Core Java or J2EE interview as messaging is a key aspect of enterprise Java development. JMS is a popular open-source Messaging API and various vendors like Apache ActiveMQ, Websphere MQ, Sonic MQ provides an implementation of Java messaging API or JMS. Any Java messaging services or JMS interview can be divided into two parts where the first part focuses on fundamentals of JMS API and messaging concept like What is topic, What is Queue, publish-subscribe or point to point model, etc, While the second part is related to JMS experience with particular JMS provider.
Labels:
interview questions
,
Java Messaging Service
,
JMS
Top 20 Questions Candidate Should Ask in Programming Job Interviews?
From the first round to HR round, from telephonic to face-to-face, in almost all kind of programming interviews, there will be a time when Interviewer will give you a chance to ask questions. Many programmers are too concern about asking questions, and they politely decline ; Well it's your chance to learn about the Job you are going to do, and you shouldn't let this opportunity goes away. The interviewer, also judges you by your questions; a good, thoughtful, positive question can create the great impression on Interviewer's mind. It also shows that the interest of a candidate for a Job.
Labels:
interview questions
,
programming
Wednesday, March 8, 2023
Top 20 HTML Interview Questions with Answers for 1 to 3 Years Experienced
Hello guys, if you are preparing for web developer interview then you must prepare for HTML questions. HTML, CSS, and JavaScript is the backbone of web development and that's why every web develop is supposed to have good knowledge of these three technologies. In the past, I have shared JavaScript Interview Questions and CSS Interview questions and today, I will share 20 HTML Interview Questions with answers for web developer interview. If you have done web development work then most likely you already know answers of these question but if you feel lacking then you can always go through these best HTML online courses to learn and revise concept in depth.
Labels:
HTML and JavaScript
,
interview questions
How to enable disable Form elements in web page using jQuery? Example Tutorial
In last couple of tutorials you have learned how to get all selected checkbox and radio buttons, and in this tutorial, you will learn how to enable/disable form elements using jQuery. A form element e.g. a text field, radio buttons and checkbox, all represented using input tag can be enabled or disabled by adding an attribute called "disabled". It's similar to "checked" attribute we have seen for checkbox and radio buttons. If this attribute is not present then element is enable, but if this attribute is present then you can use disabled=true to disable the form element and disabled=false to enable the form elements as shown in our example. Like previous example of checking/unchecking checkbox, you can use prop() jQuery function to enable/disable form element if you are running on jQuery 1.6 or higher version and attr() function if you are running on jQuery 1.5 or lower version.
Labels:
HTML and JavaScript
,
JQuery
Monday, March 6, 2023
How to reload/refresh a page using JavaScript and jQuery? Example
Hello guys, if you are wondering how to reload or refresh a web page then don't worry JavaScript provides several ways to reload or refresh an HTML page but the standard way to do this job is by using window.location object. This object provides a reload() method which instructs the browser to reload the page. The browser can do it from its cache or from the server, which depends upon optional parameter i.e. reload(true) will reload the page from the server but reload(false) will only reload the page from the browser's cache, which may or may not represent the current version at the server.
Labels:
JavaScript
,
JQuery
Sunday, March 5, 2023
How to redirect a page or URL using JavaScript and JQuery - Example
Redirecting a web page means, taking the user to a new location. Many websites uses redirects for many different reasons, e.g. Some websites redirect users from the old domain to new domain, some redirect from one page to another e.g. a more relevant page. If you are a Java programmer and worked previously with Servlet and JSP, then you might be familiar with SendRedirect and Forward methods, which are used to redirect users in web applications. Actually, there are two kinds of redirect, Server side redirect, and client-side redirect. In Server side redirect, the server initiates redirection, while in a client-side redirect, the client code does the redirection. Redirecting a web page using JavaScript and JQuery is a client-side redirection.
Labels:
HTML and JavaScript
,
JQuery
Thursday, March 2, 2023
jQuery Tutorial - How to modify multiple HTML elements in one line? Example
jQuery allows you to modify multiples elements in one go, you can modify attributes, text, or color of multiple HTML elements by executing just one line of jQuery code. In this jQuery tutorial, I will show you how to modify multiple <li> elements in one go. In our example, we have a couple of <li> tags to display sub-headings, now we will change them in one go using jQuery. If you look at our HTML, we have an ordered list <ol> to display the top 10 programming languages, each of them is an <li> item. We also have one button, "Click Me", which will when clicked, change all <li> item's text to "jQuery is the new Boss". Here is the jQuery code, which does that.
Labels:
HTML and JavaScript
,
JQuery
7 jQuery Selectors Examples for Beginners - Tutorial
jQuery selectors are like CSS Selectors, which allow you to find or select an element from the DOM tree. When HTML pages loaded in a browser like Chrome, Firefox, or Internet Explorer, the browser creates a tree-like structure is known as Document Object Model or DOM. JavaScript and jQuery allow you to play with this DOM i.e. selecting elements from DOM, traversing through DOM, going from one element to another, selecting a list of elements from DOM, adding or removing elements from DOM, etc.
Labels:
HTML and JavaScript
,
JQuery
,
programming
Top 16 Lambda Expressions + Stream Interview Questions Answers for Experienced Java Programmers
For a long time my readers were asking about some Java 8 interview
questions, particularly on lambda expression, streams and around language
changes e.g. default methods, method reference and functional interface.
Finally, I am able to put some
common Java 8 interview questions
on lambda expression and Stream API and essential functional programming concepts like map, flatmap, and reduce together, which I going to share with you in this
article, but before that, let's talk a little bit about impact of Java 8 in
Java Developers interviews and why it's imperative for Java programmers to learn Java 8, particularly Lambda and Stream API.
Labels:
interview questions
,
Lambda expression
,
Stream API examples
How to find all unchecked checkboxes from a page using jQuery? Example Tutorial
Hello guys, In the last tutorial, you have learned how to get all the checked checkboxes from a page using jQuery, but sometimes you also need all the checkboxes which are not selected. In this tutorial, you will learn that. If you remember, we have used the:checked pseudo selector to get all checked checkboxes, but, unfortunately, there is nothing like the :unchecked selector in jQuery, so using that will result in the syntax error. Even the!:checked or :!checked will not work, instead, you need to use not() jQuery selector, which does the negation job.
Labels:
HTML and JavaScript
,
JQuery
,
web development
How to find a Good Programmers on Tech Interviews?
When it comes to interview, goal is to find the most suitable developer for job to get done but its very difficult to judge someone's caliber, experience and expertise in short duration of Interview. There is always a process starting from phone interview, written tests to face-to-face interview, but its still difficult to hire the right programmer. Process can help you to filter candidates but eventually it will come down to your experience and gut feeling. As you take more and more interviews, you will know what to ask and what not and like many other interviewers in the world, you will develop some of your own tips. Similarly, I have developed couple of tips from my experience which has helped me to differentiate an average programmer with a good programmer in past.
Labels:
programmers
,
programming
Wednesday, March 1, 2023
How to Fix 'javac' is not recognized as an internal or external command in Windows and Linux? Example
Hello guys, if you are trying to compile your Java source file and getting "'javac' is not recognized as an internal or external command" in Windows or Linux machine like Windows 10 or Redhat 8 but not sure what to do then you have come to the right place. This is a common Java related error and can occur to an operating system like Windows, Mac or Linux if java is not installed properly like only JRE is installed and JDK is not installed or javac is not added on PATH environment variable. In this article, I will explain what this error is and how you can fix it by following step by step guide I share, but if you still cannot solve this problem on your own then just ask for help in comments. But don't forget to check your PATH environment variable because that's where JDK/bin directory needs to be present, which contains all Java related commands including "javac" and "java" which are used to compile and run Java applications.
Labels:
core java
,
debugging
,
error and exception
,
programming
Sunday, February 26, 2023
How to Learn Python Programming and Development in 2024?
If you want to learn Python Programming language online in a week on your own and looking for the best online Python resources then you have come to the right place. In the past, I have shared the best Python courses, books, Python developer RoadMap, and tutorials, and today, I am going to share with you the exact step-by-step plan to learn Python programming from scratch in 7 days by joining the best Python courses on Udemy, one of my favorite and most affordable website for online learning. After thorough research, combined with my own experience, I have chosen two of the best Python Bootcamp courses which can be used to learn Python from scratch in a week's time.
Labels:
best of javarevisited
,
programming
,
python
Subscribe to:
Posts
(
Atom
)