Skip to content

JavaAnt

Java & Android tutorials

  • Android
  • Core Java
  • Couchbase
  • iOS
  • JSF
  • JSP
  • Kotlin
  • RESTful
  • Spring Boot
  • Struts
  • Unit Testing
  • All Tutorials
Home / CoreJava

Category: CoreJava

Java records explained with examples

26th November 2026 Glenna Babshire

Java records with examples: what the compiler generates, compact constructors for validation, immutability and defensive copies, record patterns in Java 21, and when not to use a record. [...]

Java 21 features developers actually use

26th November 2026 Glenna Babshire

The Java 21 LTS features that change everyday code: virtual threads, pattern matching for switch, record patterns, sequenced collections and new String and Math methods, with examples and upgrade notes. [...]

Consuming RESTful Web Services with Basic Authentication

9th August 2015 Glenna Babshire

How to consume RESTful web services secured with HTTP Basic Authentication in Java using standard HTTP clients. [...]

String Encryption and Decryption in Java Using Cipher Class

18th June 2015 Glenna Babshire

How to encrypt and decrypt strings in Java using the Cipher class, secret keys, Base64 encoding, and symmetric algorithms. [...]

How to Install Core Java on Windows

8th December 2014 Glenna Babshire

Step-by-step guide to installing the Java Development Kit (JDK) on Windows and setting up JAVA_HOME environment variables. [...]

Insert Document in Couchbase Using Java

26th November 2014 Glenna Babshire

How to connect to Couchbase Server and insert JSON documents into a Couchbase bucket using the official Java SDK. [...]

    Recent Posts

    • Apache POI tutorial: read, write and style Excel files in Java
    • ViewPager with circle indicator in Android
    • Android splash screen with the SplashScreen API
    • AES encryption in Java: strings, files and objects
    • Java records explained with examples

    Categories

    • Android (10)
    • Apache POI (3)
    • CoreJava (6)
    • Couchbase (2)
    • Java Security (3)
    • Jquery (3)
    • Jsp (5)
    • Junit (2)
    • kotlin (3)
    • Libraries (2)
    • Quartz Scheduler (1)
    • RestFul (6)
    • Struts (3)
    • Uncategorised (3)
    All tutorialsAboutRSS feed

    Copyright © 2026 | WordPress Theme by MH Themes