Java

Java REPL - jshell — step-by-step Programming tutorial on Progressive Robot

Java REPL – jshell

URL: https://www.progressiverobot.com/java-repl-jshell/ Java REPL or jshell is the new tool introduced in [java 9](/community/tutorials/java-9-features-with-examples). Today we will look into Java REPL basics and run some test programs in jshell interface. Java REPL Let's first try to understand why REPL support was added in Java, if it was that important then why in so late release. […]

Read more
Java Inner Class — step-by-step Programming tutorial on Progressive Robot

Java Inner Class

URL: https://www.progressiverobot.com/java-inner-class/ Java inner class is defined inside the body of another class. Java inner class can be declared private, public, protected, or with default access whereas an outer class can have only public or default access. Java Nested classes are divided into two types. ### static nested class If the nested class is static, […]

Read more
Abstract Factory Design Pattern in Java — step-by-step Programming tutorial on Progressive Robot

Abstract Factory Design Pattern in Java

Welcome to Abstract Factory Design Pattern in java example. Abstract Factory design pattern is one of the Creational patterns. Abstract Factory pattern is almost similar to [Factory Pattern](/community/tutorials/factory-design-pattern-in-java) except the fact that its more like factory of factories. Abstract Factory ![abstract factory, abstract factory design pattern, abstract factory pattern](images/abstract-factory-design-pattern-in-java-section-1.png) If you are familiar with [factory […]

Read more
JavaMail Example - Send Mail in Java using SMTP — step-by-step Programming tutorial on Progressive Robot

JavaMail Example – Send Mail in Java using SMTP

URL: https://www.progressiverobot.com/javamail-example-send-mail-in-java-smtp/ Today we will look into JavaMail Example to send email in java programs. Sending emails is one of the common tasks in real life applications and that's why Java provides robust JavaMail API that we can use to send emails using SMTP server. JavaMail API supports both TLS and SSL authentication for sending […]

Read more
Как установить Java в Ubuntu с помощью Apt-Get — step-by-step Linux tutorial on Progressive Robot

Как установить Java в Ubuntu с помощью Apt-Get

Множество других статей и программ требует установленной Java. В этой статье мы осветим процесс установки и управления различными версиями Java. Это рекомендуемый и наиболее простой вариант. В Ubuntu 12.04 и более ранних…

Read more
static keyword in java — step-by-step Programming tutorial on Progressive Robot

static keyword in java

URL: https://www.progressiverobot.com/static-keyword-in-java/ static keyword in Java is used a lot in java programming. Java static keyword is used to create a Class level variable in java. static variables and methods are part of the class, not the instances of the class. static keyword in java ![java static, static keyword in java](images/static-keyword-in-java-section-1.png) Java static keyword can […]

Read more
Как установить Java с помощью Apt-Get в Ubuntu 16.04 — step-by-step Linux tutorial on Progressive Robot

Как установить Java с помощью Apt-Get в Ubuntu 16.04

Java и JVM (Виртуальная машина Java) широко используются в самом разном программном обеспечении. Эта статья описывает процесс установки и управления различными версиями Java с помощью утилиты apt-get. Для того, чтобы следовать инструкциям в этой статье,…

Read more
Java 11 Features — step-by-step Programming tutorial on Progressive Robot

Java 11 Features

URL: https://www.progressiverobot.com/java-11-features/ We haven't fully immersed ourselves in Java 10 yet, and Java 11 is here. Java 11 is important for more than just a few reasons. Oracle has revamped its support model and come up with a release train that'll bring rapid updates, about every 6 months. They've changed the licensing and support model […]

Read more
JSF Authentication Login Logout Database Example — step-by-step Programming tutorial on Progressive Robot

JSF Authentication Login Logout Database Example

URL: https://www.progressiverobot.com/jsf-authentication-login-logout-database-example/ Authentication mechanism allows users to have secure access to the application by validating the username and password. We will be using JSF view for login, DAO object ,HttpSession for session management, JSF managed bean and mysql database. Lets now look in detail as how to create a JSF login logout authentication mechanism in […]

Read more
CHAT