<commit_before>---
layout: post
title: JAX-RS Jerseys WebService Servlet
date: 2017-04-23
comments: true
tags: [JAX-RS, WebService]
---

### Introduction
Recently I am developing an Android application, which needs to write a
servlet.
I choose to use Restful WebService as the approach. I used tomcat as
the server, mysql as database. And Jerseys as the webservice
implementation framework.

I have introduced the environment setup in the [last post][1], this time
I am going to introduce how to use Jerseys APIs.

### Why Restful Web Service<commit_msg>Make update of introduction of JAX-RS-Jerseys<commit_after>---
layout: post
title: JAX-RS Jerseys WebService Servlet
date: 2017-04-23
comments: true
tags: [JAX-RS, WebService]
---

### Introduction:
Recently I am developing an Android application, which needs to write a
servlet.
I choose to use Restful WebService as the approach. I used tomcat as
the server, mysql as database. And Jerseys as the webservice
implementation framework.

I have introduced the environment setup in the [last post][1], this time
I am going to introduce how to use Jerseys APIs.

### Why Restful Web Service
{'fraction_non_alphanumeric': 0.07099035933391762, 'fraction_numerical': 0.015775635407537247, 'mean_word_length': 4.490384615384615, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2886591', 'n_tokens_mistral': 337, 'n_tokens_neox': 310, 'n_words': 164}