Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lightweight & Fast REST Server library for java?

I'm looking for a lightweight REST library.

It must be small (in kb size) an Fast (in total execution time). The optimal solution is a single jar without any dependencies what so ever.

The application is designed to run on the AppEngine so the library should work on GAE/J platform.

like image 866
Maxim Veksler Avatar asked Oct 07 '10 11:10

Maxim Veksler


People also ask

What does it mean if someone is a lightweight?

informal. a person who is of little influence, importance, or effect.

What does lightweight drunk mean?

​informalsomeone who becomes drunk very easily. Synonyms and related words. People who drink a lot of alcohol. sot.

Is lightweight a single word?

lightweight adjective (NOT HEAVY) weighing only a little or less than average: I need a lightweight jacket for the summer evenings.

What's a synonym for lightweight?

adjectivedainty, delicate; sheer. diaphanous. ethereal. exquisite. filmy.


2 Answers

Take a look at http://www.restlet.org/ I have no idea if it will run on the Google App Engine.

like image 115
Darrel Miller Avatar answered Sep 27 '22 19:09

Darrel Miller


Try Jersey

https://jersey.dev.java.net/

http://wikis.sun.com/display/Jersey/Overview+of+JAX-RS+1.0+Features

https://jersey.dev.java.net/nonav/documentation/latest/user-guide.html

http://dlc.sun.com/pdf/820-4867/820-4867.pdf

Its extensive use of Java annotations massively reduces the amount of boilerplate needed.

like image 32
ggg Avatar answered Sep 27 '22 20:09

ggg