Posts

[Tutorial] Create Restful Web Server using Google "libphonenumber" API

Image
Create Restful Web Server using Google "libphonenumber" API Brief Introduction: This is a simple tutorial for creating a Restful web server by using Java. The web server accept a string from URL and return phone numbers which are found in the string by using GET method. It also accept a file and return phone numbers from file by using POST method. All phone numbers will be shown in JSON format. The final result is shown below: GET:  http://localhost:8080/libnumber/api/phonenumbers/parse/text/Seneca%20Phone%20Number%3A%20416-491-5050 POST:  http://localhost:8080/libnumber/api/phonenumbers/parse/file Here's data in file: Preparation: 1. Set up Java environment.  2. Download and install Eclipse Java EE. Click HERE to download the installator and select Java EE when install. 3. Download JAX-RS package.    4. Download Apache Tomcat. 5. Download Google "libphonenumber" API HERE . Creating a Java project: 1. Open Eclipse, select a ...

First Post

My name is Qiliang Chen. You can also call me Freddy. I'm from China and I've been here for four years. I'm currently a CPA student in Seneca College. This is my sixth semester. My mainly develop fields are Web application development and Android Mobile Application development. I'm blogging hope to communicate with Open Source world. Hope that I can make contributions to Open Source World. Project: Simbody Link: https://github.com/simbody/simbody.git Simbody was first release around August 2013. It's a 4 years old project. Now it has 92 issues, 36 contributions and 4726 commits. The homepage of Simbody is: https://simtk.org/projects/simbody Simbody is an open source toolkit for simulating articulated mechanism. It's used for science and engineering fields. The simulation include human and animal skeletons, mechanical system such as robots and vehicles, and any those which are interconnected by joints. The toolkit help scientists to simulate movements t...