This is the first Java tutorial from a series of tutorials for beginners. If you want to learn Java in a simple way you are on the right place here. I wont go into great details in this tutorials. My goal is to teach you how to write Java code in no time! If you need…
Continue readingAuthor: filip
Java Eclipse Tutorial
In this tutorial I will show you how to simplify your Java programming with Eclipse IDE.
Continue readingEclipse Shortcuts
This list contains the most common eclipse shortcuts for Windows, Linux and Mac OS. Using shortcuts will improve your coding efficiency. You can use this list as a reference and come back to it later when you need it.
Continue readingSimple Java Example
This tutorial will explain how to download and install Java on your computer. We will also show you how simple it is to write a working java program.
Continue readingJava Primitive Types
In this tutorial, you will learn about Java primitive types and how to choose the right one.
Continue readingJVM Explained
Top 3 Methods for Capturing Java Heap Dump
In this post, I’ll teach you multiple methods for capturing java heap dump. Critical for memory consumption optimisation, a heap dump is described as a memory print of the Java process.
Continue readingJava Loops
Java Array
Java Read File Example
In this example I will show you how to read files using the Java programming language.
Continue readingJava Objects and Classes Tutorial
What is Object Oriented Programming (OOP)
Follow this tutorial to understand the principles of object oriented programming and write reusable and clean code
Continue readingJava Encapsulation Example
Java Interface Example
In this tutorial I will show you how to create and work with Java Interfaces. As always I will demonstrate a practical example of Java interface.
Continue readingJava Inheritance Example
Java Abstraction Example
Java Polymorphism Example
Method Overloading vs. Method Overriding in Java
This article demonstrates the difference between method overloading and method overriding in Java with examples
Continue readingJava Control Flow Statements
Control flow statements in Java allow you to run or skip blocks of code when special conditions are met. You will use control statements a lot in your programs and this tutorial will explain how to do this.
Continue readingJava Class Loaders Explained
Java Collection Beginner’s Guide
The “Collections” framework in Java came into action with the release of JDK 1.2 and was expanded quite a few times in Java 1.4 and Java 5 and then again in Java 6.
Continue readingChoose the Right Java Collection
Java offers you a variety of collection implementations to choose from. In general you will always look for the collection with the best performance for your programming task, which in most cases is ArrayList, HashSet or HashMap. But be aware, if you need some special features like sorting or ordering you may need to go for a special…
Continue readingDifference Between ArrayList and LinkedList in Java
This article explains the differences between ArrayList and LinkedList and in which case we should prefer the one over the other.
Continue readingJava Iterate through a HashMap Example
Java HashMap Inline Initialization
Following examples demonstrate how to initialize a Java HashMap using standard and inline methods.
Continue readingDifference between HashMap and TreeMap in Java
In this article I will explain the difference between java HashMap and java TreeMap
Continue readingBasic Java Regular Expressions
Today I will show you the very basics of Regular Expressions and how to use them in Java.
Continue readingRetrieve Free Disk Space with Java
Sometimes you wish to know how much disk space is left on your hard drive. There are several ways to do that. In this example I will show you how to do this with Apache commons.
Continue readingJava Increase Memory
The Java memory model specifies how the Java virtual machine works with the computer’s memory (RAM). In this tutorial I will show you how to configure the memory used by Java.
Continue readingJava Properties File Example
In this tutorial I will show you how to store and retrieve values from a properties file in Java
Continue readingHow to Install Java 9 Beta on Eclipse
This tutorial demonstrates how to install and configure Java 9 Beta on Eclipse Oxygen
Continue readingJava 9 JShell Example
Java 9 Immutable List Example
This example demonstrates how to create immutable lists with the new Java 9 Collections factory methods
Continue readingJava 9 Immutable Set Example
This example demonstrates how to create immutable Set with the new Java 9 Collections factory methods
Continue readingJava 9 Immutable Map Example
This example demonstrates how to create immutable Map with the new Java 9 Collections factory methods
Continue readingJava Singleton Design Pattern Example
As we know design pattern are created to solve a specific problem. Singleton solve the problem of creating only one object of one class. Singleton design pattern is one of the most popular design patterns, it restricts any class to have only one object. And that object is used where ever required. There are certain…
Continue readingJava Proxy Design Pattern Example
Java Observer Design Pattern Example
The Observer pattern is a software design pattern in which an object, called the subject, maintains a list of all the other objects that depend on it (the subject). These dependents are called observers. They are automatically notified if the state of the subject (the maintainer of all dependents(observers)) changes. It is usually accomplished by…
Continue readingJava Factory Design Pattern
This article talks about the factory design pattern in Java which is one of the popular design patterns used in Java.
Continue readingInstall Spring STS in Eclipse
Create Simple Spring Web App with STS
This tutorial will show you how to build a simple web app using Spring Framework and STS (Spring Tool Suite). It’s a beginner guide and it will help you if you are new to Spring or STS.
Continue readingIntroduction to Spring Web Framework
In this article I will explain the key concepts behind Spring Framework and how to use it further to build web apps.
Continue readingHow to set JAVA_HOME in Windows 10
In this tutorial I will show you how to set JAVA_HOME as environment variable in Windows 10 operating system.
Continue readingHow to Install and Configure Tomcat 8
Apache Tomcat is the most common and popular java-based web container available today. In this tutorial I will show you how to install Tomcat 8 and tweak the configuration files.
Continue readingHow to Deploy and Undeploy Applications in Tomcat
In this tutorial I will show you how to deploy and undeploy Java EE web applications in Apache Tomcat using 2 different methods.
Continue readingRun Tomcat from Eclipse
In this tutorial I will show you how to set up and run Apache Tomcat 8 from Eclipse IDE
Continue readingJava Servlet Example
In this tutorial I will show you how to create Servlets and deploy them in Apache Tomcat 8
Continue readingJava Servlet POST Example
This example demonstrates how to use Servlet’s doPost() method to handle POST requests
Continue readingServlet Request Info Example
In this tutorial I will show you how to retrieve various data from a Servlet Request object, like headers, parameters, paths and session data
Continue readingServlet Annotation Example
Configure Java Web Applications with Init Parameters
This example demonstrates the usage of init parameters to configure Java web applications
Continue readingJava Servlet File Upload
Java JSP Example
Glassfish Enable Secure Admin
In this tutorial I will show you how to enable secure admin of Glassfish or Payara, so you can access it remotely.
Continue readingHow to Configure Glassfish 4 with MySQL
This article explains how to setup and configure MySQL database with Glassfish Application Server
Continue readingJava File Upload REST service
In this tutorial I will explain how to build Java REST web-service to upload files from any client over HTTP.
Continue readingJava WebSockets Tutorial with Glassfish and Jetty
In this tutorial I will show you how to make a simple chat application running on Glassfish 4. I will use two APIs to accomplish this: Jetty and JSON API.
Continue readingGlassfish Form Based Authentication Example
In this tutorial I will show you how to use the build-in Glassfish authentication mechanisms to create web based applications with user login.
Continue readingImplementing Spring MVC Controllers
This tutorial describes different ways to implement Spring MVC Controllers and gives examples.
Continue readingHow to build Single Page Application with Java EE and Angular
This article describes how to build our own Single Page Application using Angular and Java EE
Continue readingChoose your JAVA IDE: Eclipse, NetBeans, and IntelliJ IDEA
In the Java world, there are a lot of integrated development environment or IDE which is considered as a crucial aspect for developing a successful mobile application. It is also important among the developers which IDE suits their interest. An IDE or programming editor is required to utilize the Java class libraries and frameworks. To…
Continue readingJava S3 Example
In this tutorial I will explain how to use Amazon’s S3 storage with the Java API provided by Amazon. The example shows you how to create a bucket, list it’s content, create a folder into a bucket, upload a file, give the file a public access and finally how to delete all this items.
Continue readingHow to Configure Apache for Multiple Sites on Ubuntu
In this tutorial I will show you how to configure a single Apache 2 web server to run multiple websites (virtual hosts) on Ubuntu 16.04 LTS
Continue readingSimple Git Tutorial
In this tutorial you will learn the very basic Git commands, allowing you run Git in just a few minutes.
Continue readingCapture Network Packages with Java
Selenium Java Tutorial
Run Eclipse with Specific Workspace
Splitting your work in different workspaces is a good practice if you maintain a large number of projects. E.g. you have one workspace for Android development, one for testing and one for production.
Continue readingInstall SVN in Eclipse
Eclipse does not support SVN repository browsing by default. Fortunately there are several plugins which makes this possible.
Continue readingHow to Run NodeJS Server
On this page I will show you how to set-up and run a Node.js webserver to host a static web application on your local machine.
Continue readingSQL Inner Join Example
This article explains SQL INNER JOIN syntax and gives an example on how to use INNER JOIN
Continue readingSQL Left Join Example
This article explains SQL LEFT JOIN syntax and gives an example on how to use LEFT JOIN
Continue readingSQL Right Join Example
This article explains SQL RIGHT JOIN syntax and gives an example on how to use RIGHT JOIN
Continue readingSQL Outer Join Example
This article explains SQL OUTER JOIN syntax and gives an example on how to use OUTER JOIN
Continue readingRaspberry Pi 3 Specs
Good news for all Raspberry Pi fans – Raspberry Pi 3 Model B is now officially on sale
Continue readingInstall Raspbian to SD Card
Raspberry Pi First Start
This tutorial explains how to prepare your Raspberry Pi for the first start, connecting peripherals and boot Raspbian for the first time.
Continue readingConnect Remotely to Raspberry Pi
In this tutorial I will show you how to connect remotely to your Raspberry Pi from your PC or Mac.
Continue readingEstablishing Raspberry Pi Remote Desktop Connection
Raspberry Pi Java Tutorial
In this tutorial I will show you how to flash a LED light with Raspberry Pi and Java. This will be a complete step by step tutorial starting with connecting the cables, trough GPIO explanation and finally writing the java code. At the end of this tutorial I will show you how to write a complete java…
Continue readingRaspberry Pi Dim LED with PWM and Java
In this tutorial I will show you how to control the voltage using PWM in order to dim a LED.
Continue readingRaspberry Pi Control Motor Speed
In this tutorial I will show you how to control the speed of a DC motor with your Raspberry Pi.
Continue readingRaspberry Pi Control DC Motor Speed and Direction with Java
In this tutorial I will show you how to control the direction and speed of DC motors with Raspberry Pi and Java.
Continue readingSpring vs. Java EE
At first, it was Java, and there was Java Community Process, the procedure in accordance to which all revisions take place, and new versions of Java itself and related specifications come out. For example – Java EE and its components. I must say, JCP is still that clumsy and bureaucratized system. Moreover, it is built…
Continue readingWhat awaits you at the interview or 10 tricky questions of the recruiter
Be prepared for your next job interview with the ultimate “Job Interview Survivor Guide”
Continue reading8 New Features in Java 10 That You Should Know About
Java is a very popular language pertaining to its amazing features. It dates 20 years back but still qualifies as one of the most exciting languages to work with. Recently, Java 10 is launched with a mix of exciting new features. Here is an overview of the 10 most significant features you will work when…
Continue readingUnderstanding Microservices
Microservices are not a completely new concept. In the past, there have been many attempts, such as EJBs, Remote procedure calls (RPC), and implementations of services through SOAP, that aimed to reduce dependencies among various application components. Let’s look at a formal definition to set the context and then we will try to understand it in detail: “Microservices – also known as…
Continue readingSecure Coding Practices in Java – Challenges and Vulnerabilities
Some Stack Overflow recommendations on Java secure coding must not be trusted 100%. The future of Java security development is in building semi-automatic and automatic security bug-detection and patch-up tools.
Continue readingA Full Java Security Guide
If you are a regular computer user, you’ve probably heard of Java, a broadly popular programming language that developers around the world use to create websites, software, applications and programs in other platforms. There is a general consensus that security within a computer system or a network of computers is very critical. It is therefore…
Continue readingTop 10 Emerging Technologies among Java Developers in 2018
We asked you : “What technology are you going to learn in 2018?”. Here are the results.
Continue reading5 Reasons Why Web Designers Should Learn Programming
When we talk about designing websites, designers generally have a multitude of options that they can readily access. For instance, WordPress, which is the most popular content management system, powers nearly 27% of the internet.
Continue readingGrowing Trend of Java Programming Language in Today’s Industry
In our latest article Top 10 Emerging Technologies among Java Developers in 2018 we took a look at the technologies Java developers love. This article goes into more details from business point of view.
Continue readingTop 5 Java Frameworks to Use in 2019
There are multiple Java web frameworks available for Java web developers for the design and development of any website application. We all are aware of how the developers can often encourage and empower by more comfortable and faster ways to develop and deploy their Java development services. Indeed, a Java web framework provides a rapid…
Continue readingFive Java Predictions for 2018
As a new year has been started so the technology experts would surely like to know what will be the future of the technology they use.
Continue readingTips and Tricks to Debug Java Program in Eclipse
What is one of the biggest nightmare for the developers? Well, it is indeed the code debugging. Debugging the code which is written for the Java development can be a tough task. It is a process of fixing bugs and determining errors that are present in the code, app or project. When you debug your…
Continue readingArtificial Intelligence – The New Face of Technology
Technology has faced so many new changes over the last decade – its mind blowing how much of it has shaped the way we live in today’s era. One of the top and most interesting technology forms we are facing now is artificial intelligence (AI). Nowadays, it’s simply normal that computers have the ability to…
Continue readingThe Growing Role of AI in the World of Digital Marketing
A few years ago the idea of AI being integrated into marketing was almost unheard of. That is rapidly changing. Recently, Salesforce did a survey, asking marketers about their relationship with AI. 78% of marketers are using AI (or plan to use AI) in 2019. Those are astounding numbers and they illustrate the growing role…
Continue readingHow Does JHipster Help Java Developers For App Development
If you are liking the Ruby on Rails or Grails approaches to get an application up-and-running in a hurry then jHipster is the right fit for you because it aims to set-up an app fairly painless. JHipster is an app generator which has been of late drawing quite a bit of accolade, especially from the…
Continue readingWhat Programming Languages Rule the Internet of Things
Internet of things is one of the smartest inventions of recent times. Do you know the 7 programming languages that allow users to make the most of IoT?
Continue readingWhat Does Java Enterprise Holds For The Future?
In the previous time say about five years back it is a known fact that developers spent a lot of time while operating on enterprise applications which are focused and it depends on Java Enterprise Technologies. It can be said that there has been a drastic change in the field of IT over the past…
Continue reading