Skip to content

Instantly share code, notes, and snippets.

View Alejandroem's full-sized avatar
🏠
Working from home

Alejandro Enríquez Alejandroem

🏠
Working from home
View GitHub Profile
@mre
mre / composer.json
Created November 4, 2015 11:24
Test development branch with composer
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/you/package.git"
}
],
"require": {
"you/package": "dev-bugfix/your-dev-branch as 1.5.x-dev"
}
@bluekvirus
bluekvirus / jersey-hibernate-mariadb-tomcat.md
Created January 23, 2017 22:53
Develop a Jersey (Restful Web) Application using Hibernate and MariaDB

Develop a Jersey Application using Hibernate and MariaDB

@credit Yan Zhu (https://github.com/nina-zhu)

Introduction

Jersey is the most popular amongst Restful web service development. Latest Jersey 2.x version has been developed by Oracle/Glassfish team in accordance with JAX-RS 2.0 specification. Earlier Jersey 1.x version was developed and supported by Oracle/Sun team.

Latest Jersey release version is 2.25 see here and look documentation and API for details. We will implement a Jersey example in this article based on latest 2.x version.

In this article, we will use Hibernate's rich API to interact with MariaDB database or in general any ORM compliant database. We will create a