3 simple REST services in Java

I am in need of a number of simple REST-based Java services – I do however not have the time myself to develop them, so I hope you will be able to assist me. The services will not be used in “production”, i.e. high performance/reliability requirements are not required.

Your help will be greatly appreciated!

Technology requirements:

• Java

• Jersey Framework for REST

• Database: can be flat file/mySql/in memory (What is required is that the data can be stored and retrieved as long as the webservice is running)

• Package name: com.myServices.rest. (…)

Required deliveries in the project

1) Source code for the below mentioned REST services (PUT & GET & DELETE methods are needed)

2) A WAR file per REST service that is ready to be deployed to a Tomcat server, including a short “how to run the REST service” txt file that contains a few examples of how to run the service, e.g. http://localhost:8080/TransformService/rest/112

3) A WADL file per PUT service (these should be able to be generated automatically, see e.g. [url removed, login to view]). In other words: 3 WADL files.

The REST Services that should be developed

1) transformMessage: transform octal number to decimal number

2) voter: returns the most frequent number in an array

3) aggregate: adds key-value pairs to an object

(The detailed description (see below) is also found in the pdf.)

The REST Services that should be developed:

For each of the 3 services I have described in the below text I have included a description of the PUT operations. I assume you will be able to figure out how the GET and DELETE operation will look.

Service 1: Transform message

Description: This service will receive a message in one format (octal) and should simply store and return the text in another format (decimal)


Input parameter integer (octal format)

Output parameter integer (decimal format)

Expected effect the output parameter has been stored, and the value will be written to the browser

Operation name transformMessage

Test cases:

PUT value 112, the new decimal value is calculated (i.e. 74). This value is stored and returned (written to browser)

GET value 112; and then the value (decimal) 74 will be returned (written to browser)

Service 2: Voter Mechanism

Description: This service should act as a voter which based on a number of input parameters (an array of integers) should return the “most frequent” value. In case more values have the same frequency the one closest to the average value of the array should be returned.


Input parameter: array of integer

Output parameter most frequent number (In case more values have the same frequency, an average of these values should be returned.)

Expected effect the array should be saved

Operation name voter

Test cases:

PUT [1,2,3,3,4,5]; should return 3 (the array is saved as ID 1 (here I assume this is the first entry in the database))

PUT [1,2,3,3,3,4,9,9,9]; should return (the array is saved as ID 2)

GET 1; writes the array as well as the “frequent value” (i.e. [1,2,3,3,4,5] and 3)

Service 3: A Room Aggregator

Description: This service will take a number of parameters as input (sensor values) and return with an aggregated return object (contains the numbers for the room).


Input parameter room id (string) and a key-value pair containing information about the room (e.g. room temperature in Celsius (integer), humidity (integer in percentage), light in room (yes/no), etc

Output parameter The measurements the object hold should be written to the browser, e.g. “Room A: temperature: 23 C, Light: on”

Expected effect The new object should be stored/updated

Operation name Aggregate

Test cases:

PUT: A, (“temperature”, 20)

PUT: A, (“light”, “on”)

PUT: Room Lakeside, (“windows open”, “false”)

Get: A => this will print something like: “A: temperature: 20, light: on”

Final notes: I am aware that these services can seem more SOAP’ish. Nevertheless, I am interested in them as RESTful services.

Beceriler: Java

Daha fazlasını gör: simple rest service java, simple rest java, simple java rest service, rest project java, rest java project, java simple rest service, rest service java, simple java project rest service, java rest project, java simple rest server, simple java rest, what is oracle package, what is new in java 1.5, what is data entry test, what is database technology, what is a data entry test like, what are integers used for, tomcat rest, string source code java, put in production, pdf services, pdf for oracle, oracle pdf files, oracle package examples, oracle framework

İşveren Hakkında:
( 1 değerlendirme ) Aarhus, Denmark

Proje NO: #4387001



Full Working Demo is ready. Please check your private message for the URL.

1 gün içinde %selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% USD
(1 Yorum)

Bu iş için 26 freelancer ortalamada $167 teklif veriyor


JAVA EXPERT ! Love to develop these REST services

in %bids___i_period_sub_35% gün içinde199%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(441 Değerlendirme)

Hello Sir, I am Bing from China,I am a senior Java developer with 8 years experience, I also have experience on Jersey .I can do the 3 RESET webservice for you in 2 days please consider my serious bid Than Daha Fazla

in %bids___i_period_sub_35% gün içinde225%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(109 Değerlendirme)

Hi, I am JAVA and Web Services expert and can surely help you here, Thank You

in %bids___i_period_sub_35% gün içinde175%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(376 Değerlendirme)

I have 6 years experience in JAVA, Restful services and Jersy framework. I am ready to start your work.

in %bids___i_period_sub_35% gün içinde148%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(95 Değerlendirme)

I have exp working with jersey, plz check your PM and then let's me help you to do it :)

in %bids___i_period_sub_35% gün içinde88%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(264 Değerlendirme)

I am an experienced java and web service developer, the job can be beautifully done.

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(80 Değerlendirme)

Hi let me help you, please check your pm, thanks.

in %bids___i_period_sub_35% gün içinde210%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(56 Değerlendirme)

Hello, I'm java developer with over 10 years experience. I'd like to work on your project.Thanks.

in %bids___i_period_sub_35% gün içinde240%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(20 Değerlendirme)

I'm ready to do, pl check your inbox

in %bids___i_period_sub_35% gün içinde143%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(53 Değerlendirme)

Hello, Please view PMB. Ashwin

in %bids___i_period_sub_35% gün içinde220%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(41 Değerlendirme)

I have 4 years experience in Java/ J2EE application development. I can help you.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(72 Değerlendirme)

Hi i am experienced java professional, recently completed project on rest web service, you can check my past projects. You can check my profile and past projects done on freelancer. Thanks

in %bids___i_period_sub_35% gün içinde240%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(5 Değerlendirme)

Hi, I'm an experienced java developer.

in %bids___i_period_sub_35% gün içinde150%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(50 Değerlendirme)

Greetings, I have a Master's degree in Software technologies and many years of professional experience in Java on complex projects. I'm sure I can finish the listed project requirements properly within a maximum of two Daha Fazla

in %bids___i_period_sub_35% gün içinde150%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(2 Değerlendirme)

Hello, I have an experience of over 4.8 Years in J2EE, where I have worked in JSP, Servlet, Spring, Hibernate, RESTful Web Service using JSON and XML mode if data exchange with [url removed, login to view] of Bean Objects to prepa Daha Fazla

in %bids___i_period_sub_35% gün içinde115%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(6 Değerlendirme)

I know very well Tomcat and Java. I also know REST services principles. Please contact me if you want high quality and on time delivery.

in %bids___i_period_sub_35% gün içinde350%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(1 Yorum)

Hi. I work with Jersey and webservices as part of my every day work. I can do this with ease in a matter of a few hours (today). I can also provide you samples of work previous done. I can assure you that I can deliver Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(1 Yorum)

Hi, I can help you in this project. tks,Marius

in %bids___i_period_sub_35% gün içinde137%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(1 Yorum)

I have experience in Rest web service. Take a look at the last project I finish. I am a professor at University too, so I can get you very good explanations of the service. If you are interesting just contact me. I can Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(1 Yorum)

Hi. I have a lot of experience about webservice (Rest, SOAP). I can do it. Please check your PM. Thanks

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(1 Yorum)