ksurendra / java-examples

Java Code Examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java Code Examples

This repository holds exampels of written using Java programming language. In some of the examples, other API's, Frameworks maybe have been used to demonstrate a feature or a process.

Java JAX-RS REST examples

  • Descriptor-less Deployment
  • Using “web.xml” Descriptor
  • Without an “Application” subclass (Server Pluggability Mechanism)
  • Using custom “Application” subclass (Server Pluggability Mechanism)

Basic Authentication - User Login

  • User authentication with JWT (Json Web Token)
  • User authentication with User ID / Password stored in a database
    • MongoDB example
    • MySQL example

CDI (Contexts and Dependency Injection) for Java

Building New Archetypes

  • Build a new maven archetype

Apache Sling (coming soon)

  • Starter / bootstrap package to build applications on Apache Sling

Sorting Algorithms

  • Insertion sort
  • Selection sort
  • Bubble sort
  • Shell sort
  • Merge sort
  • Quick sort
  • Heap sort

Credits

  1. Java - Oracle Corporation
  2. OpenJDK - Oracle Corporation
  3. Jersey - Oracle Corporation
  4. Maven - Apache Maven Project

Questions / Suggestions

  • Suren Konathala Principal Architect/Developer. Tweet me @surenkonathala

About

Java Code Examples


Languages

Language:Java 96.5%Language:Dockerfile 2.4%Language:CSS 1.1%Language:JavaScript 0.0%