Write a java program to capture auto suggestions list while entering data on Google search box. Let us search for “testingd” and capture the auto suggestions shown by Google search engine and print the results as shown in below picture. Iterator<E> is an interface is a member of Java Collections Framework. The iterator is iterated […]
In this post, we will learn how to deploy a sample .WAR file in Tomcat using Eclipse. First thing first, we will create a Java web project and then deploy it on Tomcat server.
ArrayList is a resizable array in Java. It is implementation of the List interface. Array is fixed in size, whereas ArrayList can grow or shrink dynamically as needed to accommodate adding and removing elements. ArrayList is random access list. It supports fast and generally constant access time for the elements. You can add duplicate elements […]
Let us create a sample servlet and deploy it on Tomcat server. First of all, create a Web Project in Eclipse. For instructions creating a web project in eclipse, please go through the following question. ( http://www.testingdocs.com/questions/how-to-deploy-a-war-file-in-tomcat-using-eclipse/ )
String Literals vs String Objects String is associated with string literal in the form of double-quoted text. You can assign a string literal directly into a String variable. String objects are created by new operator and String constructor. However, this is not recommended in Java. Strings are immutable String is an immutable sequence of Unicode […]
Two-factor authentication(2FA) adds an extra layer of security to your GitHub account. In addition to your username and password, you’ll need to enter a code that GitHub sends to you via text or an app on your phone or tablet.
JavaFX API JavaFX API is used for creating GUI rich desktop applications also called as Rich internet applications (RIAs). It is a set of Java libraries designed to enable you to create and deploy rich client applications that have rich UI controls. It can be used to create graphical user interfaces for many platforms. I […]
GitHub Desktop is a desktop application for Windows and Mac OS platforms. It allows you to work with projects on GitHub and GitHub Enterprise. You can add projects to, create, develop, and track the project in a helpful graphical interface(GUI).
EGit is an Eclipse plugin for Git integration. EGit comes bundled with Eclipse release. You do not need to install it separately. In case if you want to install it, please follow the below steps. To get started with the plugin, you can find the user guide online at : http://wiki.eclipse.org/EGit/User_Guide