Devam Ediyor

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)

PUT:

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.

PUT:

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).

PUT

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ün: simple rest service java, simple rest java, simple java rest service, rest project java, rest java project, java simple rest service, rest service java, java rest project, java simple rest server, simple java rest, oracle package, data entry test like, tomcat rest, string source code java, put production, pdf services, pdf oracle, oracle pdf files, oracle package examples, oracle framework, oracle source, java get used memory, integers used, get oracle java, framework soap

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

Proje NO: #4387001

Seçilen:

lkh007

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

1 gün içinde 100$ USD
(0 Değerlendirme)
0.0

27 freelancer bu iş için ortalamada 168$ teklif veriyor

eperfections

JAVA EXPERT ! Love to develop these REST services

in 3 gün içinde199$ USD
(272 Değerlendirme)
7.0
IMSeriousBidder

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 fazlası

in 2 gün içinde225$ USD
(60 Değerlendirme)
6.7
dobreiiita

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

in 2 gün içinde175$ USD
(163 Değerlendirme)
6.4
AshwinSen

Hello, Please view PMB. Ashwin

in 3 gün içinde220$ USD
(39 Değerlendirme)
5.7
buzzcoder

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

in 3 gün içinde210$ USD
(41 Değerlendirme)
5.5
ankit0803

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 4 gün içinde240$ USD
(3 Değerlendirme)
5.2
poornachand

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

in 3 gün içinde148$ USD
(26 Değerlendirme)
5.1
sergioes

Hi, I'm an experienced java developer.

in 2 gün içinde150$ USD
(48 Değerlendirme)
4.9
aoefmpes

I'm ready to do, pl check your inbox

in 3 gün içinde143$ USD
(24 Değerlendirme)
4.6
fahien

Please check you inbox for my detailed message and expertise on my bid

in 4 gün içinde180$ USD
(12 Değerlendirme)
4.1
Creativitus

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 fazlası

in 2 gün içinde150$ USD
(1 Değerlendirme)
4.0
baptistepernet

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 5 gün içinde350$ USD
(1 Değerlendirme)
2.8
abhijitcaps

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 UI.Conversion of Bean Objects to prepa Daha fazlası

in 5 gün içinde115$ USD
(1 Değerlendirme)
2.2
scopert

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

in 7 gün içinde137$ USD
(1 Değerlendirme)
2.0
nmlemus

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 fazlası

1 gün içinde 99$ USD
(1 Değerlendirme)
1.4
dipakjadhav08

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

1 gün içinde 140$ USD
(2 Değerlendirme)
1.2
nickocean

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

in 2 gün içinde100$ USD
(1 Değerlendirme)
1.0
shenchilang

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

in 2 gün içinde100$ USD
(0 Değerlendirme)
0.0
ulltrass

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 fazlası

1 gün içinde 110$ USD
(0 Değerlendirme)
0.0
Suadeo

Greetings. Java experienced programmer here. Seems to be an easy task, willing to do it for you. Let's get in touch!

in 3 gün içinde200$ USD
(0 Değerlendirme)
0.0