Mined Opinions For API: jetty

This tab contains all the opinions collected from Stack Overflow about the API. The other tabs present summaries of the opinions using different algorithms.
  • Thanks for the answer,Ron, but I am really looking for a Java solution since my code is in Java.. details
  • Thanks, Just what I was looking for !.. details
  • Infact jetty or netty can support higher load, high number of connections etc.. details
  • I would look into any of the following frameworks or libraries to create REST APIs with java and/or scala: URL_http://www.playframework.com/ [Play-Framework] URL_http://vertx.io/ [Vert.x] URL_http://spray.io/ [Spray] URL_http://dropwizard.codahale.com/ [Dropwizard] (which uses Jetty, Jersey, and Jackson) .. details
  • I would look into any of the following frameworks or libraries to create REST APIs with java and/or scala: URL_http://www.playframework.com/ [Play-Framework] URL_http://vertx.io/ [Vert.x] URL_http://spray.io/ [Spray] URL_http://dropwizard.codahale.com/ [Dropwizard] (which uses Jetty, Jersey, and Jackson) .. details
  • Server URL_http://www.eclipse.org/jetty/ [Jetty] or URL_http://tomcat.apache.org/ [Tomcat] supporting Servlet 3.0.. details
  • Also it seems some IDEs/Plugins have better support for some technologies than others.. details
  • So I would like to hear what IDE/Plugins + J2EE Technology stack + Server(If that matters) is a good combination for my usecase and why.. details
  • I would like to stick to open source software.. details
  • Thanks in advance !. details
  • @LarryHector No that's not it, it worked perfectly without authentication on a plain Jetty.. details
  • Ok thanks!. details
  • use a modern version of jetty, either jetty7 for servlet 2.5 support or jetty8 for servlet 3.0 support.. details
  • For some type safety when working with JSON, you should learn about URL_http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/util/ajax/JSON.Convertor.html [ URL_http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/util/ajax/JSON.Convertor.html ] URL_http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/util/ajax/JSON.Convertible.html [ URL_http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/util/ajax/JSON.Convertible.html ] URL_http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/util/ajax/JSON.Generator.html [ URL_http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/util/ajax/JSON.Generator.html ] Those classes allow you to read JSON directly into Java classes .. details
  • Although it works, it shows the "generic" Jetty Browser error codes.. details
  • Although it works, it shows the "generic" Jetty Browser error codes.. details
  • I'm using jax-rs and adding entity for being marshalled in Jetty by JAXRSOutInterceptor,but JSON output is being modified with additional empty property which looks like this: "$": "" The JSONProvider is created and configured as here: CODESNIPPET_JAVA1 .. details
  • Any performance tip or special configuration for Jetty?. details
  • An added benefit is that it can act as a pseudo-classloader and avoids jar-hell.. details
  • (A side effect is that mvn clean test works against it also) If any one is interested, ping me and I can see if the company will allow me to OpenSource it and get it up on GitHub.Or perhaps even document it via my own site URL_http://www.randomactsofsentience.com [ URL_http://www.randomactsofsentience.com ] .. details
  • Since we have not the time to test both of the technologies I would be happy about some suggestions based on personal experience or on technical aspects.. details
  • It would be important if the processing of the messages (parsing and creating) would be easy and fast on both server and client side since the application should feature real time speed.. details
  • Thanks in advance.. details
  • It would be important if the processing of the messages (parsing and creating) would be easy and fast on both server and client side since the application should feature real time speed.. details
  • I recommend using the URL_https://addons.mozilla.org/en-US/firefox/addon/poster/ [Poster-addon] for Firefox (not compatible with Firefox 4 though), so install this and we can use it to do PUT and GET requests on the CODETERM32 web-app.. details
  • Compilation and Execution This is where you should cross your fingers as you should be able to use CODETERM29 to compile the classes and then if successful CODETERM30 to run the web server with the application war file.. details
  • If I replace the last line in the first code snippet with the following line, everything works fine and dandy.. details
  • Here's the code I use in my wink client action: CODESNIPPET_JAVA1 .. details
  • I've got two applications: one runs wink-server on jetty and seems to be providing some JSON data just fine; one runs wink-client on jetty and receives the JSON data just fine.. details
  • (This would probably have to recurse through the response) I am looking for something easy that doesn't include a lot of libraries.. details
  • You can catch the exception, but not sure if that helps a lot -- parser probably won't read the whole thing.. details
  • You can catch the exception, but not sure if that helps a lot -- parser probably won't read the whole thing.. details
  • Tangent answer, but I've found python + gunicorn to be really speedy for making quick REST mockups when I'm integrating with a 3rd party service.. details
  • I get this regardless of what CODETERM1 and CODETERM2 annotations I add to my methods though they should both be CODETERM3 .. details
  • My ajax requests keep getting the "Unsupported Media Type" error and status.. details
  • @JuanMendes, okay, I see it is not a trivial task to make it with [Jetty JSON] ( URL_http://download.eclipse.org/jetty/stable-8/apidocs/org/eclipse/jetty/util/aja x/JSON.Output.html) then.. details
  • type-checking before type-casting might get rid of the warning.. details
  • that tells me you need to re-evaluate your load testing, see this: URL_http://webtide.intalio.com/2012/05/truth-in-benchmarking / and URL_http://webtide.intalio.com/2010/06/lies-damned-lies-and-benchmarks-2/ .. details
  • I tried returning a Class-type error but the exception shows in the browser.. details
  • I have a complete solution by which 1 jar file is added as a dependency and several tiny files (app.properties, classpath.sh, log4j.properties and run.sh) that completely configure a Jetty8 instance for numerous contexts, Handlers, Servlets, JerseyServlets, StaticFiles and ExplodedWebApps.. details
  • I use Jetty and also tried adding jackson- all-1.6.2.jar with the same error.. details
  • I use Jetty and also tried adding jackson- all-1.6.2.jar with the same error.. details
  • Caused by: org.codehaus.jackson.JsonParseException: Unexpected character ('$' (code 36)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: org.mortbay.jetty.HttpParser$Input@470edb99; line: 2, column: 16] at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:943) at org.codehaus.jackson.impl.JsonParserBase._reportError(JsonParserBase.java:632) at org.codehaus.jackson.impl.JsonParserBase._reportUnexpectedChar(JsonParserBa se.java:565) at org.codehaus.jackson.impl.Utf8StreamParser._handleUnexpectedVa lue(Utf8StreamParser.java:1077) at org.codehaus.jackson.impl.Utf8StreamParser.. details
Summaries the opinions about jetty using topic modeling.
  • 0. wink plugins technology create follow usecase play spray stack jersey: 6
    • I would look into any of the following frameworks or libraries to create REST APIs with java and/or scala: Play-Framework Vert.x Spray Dropwizard (which uses Jetty, Jersey, and Jackson) .. details
    • So I would like to hear what IDE/Plugins + J2EE Technology stack + Server(If that matters) is a good combination for my usecase and why.. details
    • I would like to stick to open source software.. details
    • Although it works, it shows the "generic" Jetty Browser error codes.. details
    • I've got two applications: one runs wink-server on jetty and seems to be providing some JSON data just fine; one runs wink-client on jetty and receives the JSON data just fine.. details
    • Here's the code I use in my wink client action: CODESNIPPET .. details
  • 1. firefox install infact request project1 poster netty addon load connection: 3
    • Infact jetty or netty can support higher load, high number of connections etc.. details
    • For some type safety when working with JSON, you should learn about Those classes allow you to read JSON directly into Java classes .. details
    • I recommend using the Poster-addon for Firefox (not compatible with Firefox 4 though), so install this and we can use it to do PUT and GET requests on the project1 web-app.. details
  • 2. create side add jaxrsoutinterceptor modify marshal empty output jax additional: 8
    • Thanks, Just what I was looking for !.. details
    • Server Jetty or Tomcat supporting Servlet 3.0.. details
    • Also it seems some IDEs/Plugins have better support for some technologies than others.. details
    • Ok thanks!. details
    • I'm using jax-rs and adding entity for being marshalled in Jetty by JAXRSOutInterceptor,but JSON output is being modified with additional empty property which looks like this: "$": "" The JSONProvider is created and configured as here: CODESNIPPET .. details
    • (A side effect is that mvn clean test works against it also) If any one is interested, ping me and I can see if the company will allow me to OpenSource it and get it up on GitHub.Or perhaps even document it via my own site .. details
    • It would be important if the processing of the messages (parsing and creating) would be easy and fast on both server and client side since the application should feature real time speed.. details
    • If I replace the last line in the first code snippet with the following line, everything works fine and dandy.. details
  • 3. servlet avoids pseudo jetty8 jetty7 add classloader solution tip plain: 5
    • Thanks for the answer,Ron, but I am really looking for a Java solution since my code is in Java.. details
    • @LarryHector No that's not it, it worked perfectly without authentication on a plain Jetty.. details
    • use a modern version of jetty, either jetty7 for servlet 2.5 support or jetty8 for servlet 3.0 support.. details
    • Any performance tip or special configuration for Jetty?. details
    • An added benefit is that it can act as a pseudo-classloader and avoids jar-hell.. details
  • 4. mvn war compile advance technology time execution finger aspect base: 5
    • Thanks in advance !. details
    • Thanks in advance.. details
    • Since we have not the time to test both of the technologies I would be happy about some suggestions based on personal experience or on technical aspects.. details
    • Compilation and Execution This is where you should cross your fingers as you should be able to use mvn compile to compile the classes and then if successful mvn jetty:run-war to run the web server with the application war file.. details
    • (This would probably have to recurse through the response) I am looking for something easy that doesn't include a lot of libraries.. details
  • 0. add handler explodedwebapps context tiny log4j solution staticfiles servlets classpath: 6
    • Tangent answer, but I've found python + gunicorn to be really speedy for making quick REST mockups when I'm integrating with a 3rd party service.. details
    • My ajax requests keep getting the "Unsupported Media Type" error and status.. details
    • @JuanMendes, okay, I see it is not a trivial task to make it with [Jetty JSON] ( x/JSON.Output.html) then.. details
    • that tells me you need to re-evaluate your load testing, see this: / and .. details
    • I tried returning a Class-type error but the exception shows in the browser.. details
    • I have a complete solution by which 1 jar file is added as a dependency and several tiny files (app.properties, classpath.sh, log4j.properties and run.sh) that completely configure a Jetty8 instance for numerous contexts, Handlers, Servlets, JerseyServlets, StaticFiles and ExplodedWebApps.. details
  • 1. jackson codehaus impl utf8streamparser jsonparserbase jsonparser add exception mortbay lue: 5
    • You can catch the exception, but not sure if that helps a lot -- parser probably won't read the whole thing.. details
    • I get this regardless of what @Produces and @Consumes annotations I add to my methods though they should both be MediaType.APPLICATION_JSON .. details
    • type-checking before type-casting might get rid of the warning.. details
    • I use Jetty and also tried adding jackson- all-1.6.2.jar with the same error.. details
    • Caused by: org.codehaus.jackson.JsonParseException: Unexpected character ('$' (code 36)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: org.mortbay.jetty.HttpParser$Input@470edb99; line: 2, column: 16] at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:943) at org.codehaus.jackson.impl.JsonParserBase._reportError(JsonParserBase.java:632) at org.codehaus.jackson.impl.JsonParserBase._reportUnexpectedChar(JsonParserBa se.java:565) at org.codehaus.jackson.impl.Utf8StreamParser._handleUnexpectedVa lue(Utf8StreamParser.java:1077) at org.codehaus.jackson.impl.Utf8StreamParser.. details
Summaries of the opinions about jetty using three algorithms (Textrank, Lexrank and Luhn) adopted from extractive summarization. Each algorithm was used once for the positive opinions and once for the negative opinions.
  • It would be important if the processing of the messages (parsing and creating) would be easy and fast on both server and client side since the application should feature real time speed .
  • Since we have not the time to test both of the technologies I would be happy about some suggestions based on personal experience or on technical aspects .
  • I've got two applications: one runs wink server on jetty and seems to be providing some JSON data just fine; one runs wink client on jetty and receives the JSON data just fine .
  • Here's the code I use in my wink client action: CODESNIPPET JAVA1 .
  • Any performance tip or special configuration for Jetty?.
  • use a modern version of jetty, either jetty7 for servlet 2 5 support or jetty8 for servlet 3 0 support .
  • Compilation and Execution This is where you should cross your fingers as you should be able to use mvn compile to compile the classes and then if successful mvn jetty:run-war to run the web server with the application war file .
  • (A side effect is that mvn clean test works against it also) If any one is interested, ping me and I can see if the company will allow me to OpenSource it and get it up on GitHub Or perhaps even document it via my own site .
  • Thanks for the answer,Ron, but I am really looking for a Java solution since my code is in Java .
  • Thanks, Just what I was looking for !
  • It would be important if the processing of the messages (parsing and creating) would be easy and fast on both server and client side since the application should feature real time speed .
  • Since we have not the time to test both of the technologies I would be happy about some suggestions based on personal experience or on technical aspects .
  • I've got two applications: one runs wink server on jetty and seems to be providing some JSON data just fine; one runs wink client on jetty and receives the JSON data just fine .
  • If I replace the last line in the first code snippet with the following line, everything works fine and dandy .
  • Compilation and Execution This is where you should cross your fingers as you should be able to use mvn compile to compile the classes and then if successful mvn jetty:run-war to run the web server with the application war file .
  • I recommend using the Poster addon for Firefox (not compatible with Firefox 4 though), so install this and we can use it to do PUT and GET requests on the project1 web app .
  • I'm using jax rs and adding entity for being marshalled in Jetty by JAXRSOutInterceptor,but JSON output is being modified with additional empty property which looks like this: "$": "" The JSONProvider is created and configured as here: CODESNIPPET JAVA1 .
  • I would look into any of the following frameworks or libraries to create REST APIs with java and or scala: Play Framework Vert x Spray Dropwizard (which uses Jetty, Jersey, and Jackson) .
  • (A side effect is that mvn clean test works against it also) If any one is interested, ping me and I can see if the company will allow me to OpenSource it and get it up on GitHub Or perhaps even document it via my own site .
  • Thanks for the answer,Ron, but I am really looking for a Java solution since my code is in Java .
  • It would be important if the processing of the messages (parsing and creating) would be easy and fast on both server and client side since the application should feature real time speed .
  • Since we have not the time to test both of the technologies I would be happy about some suggestions based on personal experience or on technical aspects .
  • I've got two applications: one runs wink server on jetty and seems to be providing some JSON data just fine; one runs wink client on jetty and receives the JSON data just fine .
  • If I replace the last line in the first code snippet with the following line, everything works fine and dandy .
  • Compilation and Execution This is where you should cross your fingers as you should be able to use mvn compile to compile the classes and then if successful mvn jetty:run-war to run the web server with the application war file .
  • I recommend using the Poster addon for Firefox (not compatible with Firefox 4 though), so install this and we can use it to do PUT and GET requests on the project1 web app .
  • I'm using jax rs and adding entity for being marshalled in Jetty by JAXRSOutInterceptor,but JSON output is being modified with additional empty property which looks like this: "$": "" The JSONProvider is created and configured as here: CODESNIPPET JAVA1 .
  • I would look into any of the following frameworks or libraries to create REST APIs with java and or scala: Play Framework Vert x Spray Dropwizard (which uses Jetty, Jersey, and Jackson) .
  • (A side effect is that mvn clean test works against it also) If any one is interested, ping me and I can see if the company will allow me to OpenSource it and get it up on GitHub Or perhaps even document it via my own site .
  • Thanks for the answer,Ron, but I am really looking for a Java solution since my code is in Java .
  • I have a complete solution by which 1 jar file is added as a dependency and several tiny files (app properties, classpath sh, log4j properties and run sh) that completely configure a Jetty8 instance for numerous contexts, Handlers, Servlets, JerseyServlets, StaticFiles and ExplodedWebApps .
  • I tried returning a Class type error but the exception shows in the browser .
  • I use Jetty and also tried adding jackson all 1 6 2 jar with the same error .
  • Caused by: org codehaus jackson JsonParseException: Unexpected character ('$' (code 36)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at Source: org mortbay jetty HttpParser$Input@470edb99; line: 2, column: 16 at org codehaus jackson JsonParser constructError(JsonParser java:943) at org codehaus jackson impl JsonParserBase reportError(JsonParserBase java:632) at org codehaus jackson impl JsonParserBase reportUnexpectedChar(JsonParserBa se java:565) at org codehaus jackson impl Utf8StreamParser handleUnexpectedVa lue(Utf8StreamParser java:1077) at org codehaus jackson impl Utf8StreamParser .
  • You can catch the exception, but not sure if that helps a lot parser probably won't read the whole thing .
  • that tells me you need to re evaluate your load testing, see this: and .
  • @JuanMendes, okay, I see it is not a trivial task to make it with Jetty JSON ( x JSON Output html) then .
  • type checking before type casting might get rid of the warning .
  • I get this regardless of what @Produces and @Consumes annotations I add to my methods though they should both be MediaType.APPLICATION_JSON .
  • Tangent answer, but I've found python gunicorn to be really speedy for making quick REST mockups when I'm integrating with a 3rd party service .
  • I have a complete solution by which 1 jar file is added as a dependency and several tiny files (app properties, classpath sh, log4j properties and run sh) that completely configure a Jetty8 instance for numerous contexts, Handlers, Servlets, JerseyServlets, StaticFiles and ExplodedWebApps .
  • I tried returning a Class type error but the exception shows in the browser .
  • I use Jetty and also tried adding jackson all 1 6 2 jar with the same error .
  • You can catch the exception, but not sure if that helps a lot parser probably won't read the whole thing .
  • that tells me you need to re evaluate your load testing, see this: and .
  • @JuanMendes, okay, I see it is not a trivial task to make it with Jetty JSON ( x JSON Output html) then .
  • type checking before type casting might get rid of the warning .
  • My ajax requests keep getting the "Unsupported Media Type" error and status .
  • I get this regardless of what @Produces and @Consumes annotations I add to my methods though they should both be MediaType.APPLICATION_JSON .
  • Tangent answer, but I've found python gunicorn to be really speedy for making quick REST mockups when I'm integrating with a 3rd party service .
  • I have a complete solution by which 1 jar file is added as a dependency and several tiny files (app properties, classpath sh, log4j properties and run sh) that completely configure a Jetty8 instance for numerous contexts, Handlers, Servlets, JerseyServlets, StaticFiles and ExplodedWebApps .
  • I tried returning a Class type error but the exception shows in the browser .
  • I use Jetty and also tried adding jackson all 1 6 2 jar with the same error .
  • Caused by: org codehaus jackson JsonParseException: Unexpected character ('$' (code 36)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at Source: org mortbay jetty HttpParser$Input@470edb99; line: 2, column: 16 at org codehaus jackson JsonParser constructError(JsonParser java:943) at org codehaus jackson impl JsonParserBase reportError(JsonParserBase java:632) at org codehaus jackson impl JsonParserBase reportUnexpectedChar(JsonParserBa se java:565) at org codehaus jackson impl Utf8StreamParser handleUnexpectedVa lue(Utf8StreamParser java:1077) at org codehaus jackson impl Utf8StreamParser .
  • You can catch the exception, but not sure if that helps a lot parser probably won't read the whole thing .
  • that tells me you need to re evaluate your load testing, see this: and .
  • @JuanMendes, okay, I see it is not a trivial task to make it with Jetty JSON ( x JSON Output html) then .
  • type checking before type casting might get rid of the warning .
  • My ajax requests keep getting the "Unsupported Media Type" error and status .
  • I get this regardless of what @Produces and @Consumes annotations I add to my methods though they should both be MediaType.APPLICATION_JSON .
Summaries of the opinions about jetty using Opinosis, an abstractive summarizer of opinions..
Summaries of the opinions about jetty using contrastive viewpoints. Each entry contains a pair of positive and negative sentences that are most likely discussing about similar API features.
Summaries of opinions about based on specific API aspects, such as, performance, usability, etc. The 'Overview' page provides an overview of the aspects detected in the opinions. The 'Trend' page shows the distribution of polarity over time for each aspect. The 'Positive Opinions' page groups positive opinions by the detected aspects. The 'Contrastive By Aspect' page shows paris of contrastive opinions under each aspect (where found).
Features:
  • Server URL_http://www.eclipse.org/jetty/ [Jetty] or URL_http://tomcat.apache.org/ [Tomcat] supporting Servlet 3.0.
  • type-checking before type-casting might get rid of the warning.
Documentation:
  • I would look into any of the following frameworks or libraries to create REST APIs with java and/or scala: URL_http://www.playframework.com/ [Play-Framework] URL_http://vertx.io/ [Vert.x] URL_http://spray.io/ [Spray] URL_http://dropwizard.codahale.com/ [Dropwizard] (which uses Jetty, Jersey, and Jackson) .
  • N/A
Legal:
  • I would like to stick to open source software.
  • N/A
Onlysentiment:
  • Thanks, Just what I was looking for !.
  • N/A
Performance:
  • Infact jetty or netty can support higher load, high number of connections etc.
  • N/A
Security:
  • @LarryHector No that's not it, it worked perfectly without authentication on a plain Jetty.
  • N/A
Bug:
  • Although it works, it shows the "generic" Jetty Browser error codes.
  • You can catch the exception, but not sure if that helps a lot -- parser probably won't read the whole thing.
Usability:
  • Thanks for the answer,Ron, but I am really looking for a Java solution since my code is in Java.
  • You can catch the exception, but not sure if that helps a lot -- parser probably won't read the whole thing.
  • Features: 4
    1. general: 4
      • Server URL_http://www.eclipse.org/jetty/ [Jetty] or URL_http://tomcat.apache.org/ [Tomcat] supporting Servlet 3.0.. details
      • For some type safety when working with JSON, you should learn about URL_http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/util/ajax/JSON.Convertor.html [ URL_http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/util/ajax/JSON.Convertor.html ] URL_http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/util/ajax/JSON.Convertible.html [ URL_http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/util/ajax/JSON.Convertible.html ] URL_http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/util/ajax/JSON.Generator.html [ URL_http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/util/ajax/JSON.Generator.html ] Those classes allow you to read JSON directly into Java classes .. details
      • Since we have not the time to test both of the technologies I would be happy about some suggestions based on personal experience or on technical aspects.. details
      • I've got two applications: one runs wink-server on jetty and seems to be providing some JSON data just fine; one runs wink-client on jetty and receives the JSON data just fine.. details
  • Documentation: 1
    1. general: 1
      • I would look into any of the following frameworks or libraries to create REST APIs with java and/or scala: URL_http://www.playframework.com/ [Play-Framework] URL_http://vertx.io/ [Vert.x] URL_http://spray.io/ [Spray] URL_http://dropwizard.codahale.com/ [Dropwizard] (which uses Jetty, Jersey, and Jackson) .. details
  • Legal: 1
    1. general: 1
      • I would like to stick to open source software.. details
  • Onlysentiment: 4
    1. general: 4
  • Performance: 3
    1. general: 3
      • Infact jetty or netty can support higher load, high number of connections etc.. details
      • Any performance tip or special configuration for Jetty?. details
      • It would be important if the processing of the messages (parsing and creating) would be easy and fast on both server and client side since the application should feature real time speed.. details
  • Security: 1
    1. general: 1
      • @LarryHector No that's not it, it worked perfectly without authentication on a plain Jetty.. details
  • Bug: 1
    1. general: 1
      • Although it works, it shows the "generic" Jetty Browser error codes.. details
  • Usability: 15
    1. json: 1
      • I'm using jax-rs and adding entity for being marshalled in Jetty by JAXRSOutInterceptor,but JSON output is being modified with additional empty property which looks like this: "$": "" The JSONProvider is created and configured as here: CODESNIPPET_JAVA1 .. details
    2. browser: 1
      • Although it works, it shows the "generic" Jetty Browser error codes.. details
    3. client: 2
      • It would be important if the processing of the messages (parsing and creating) would be easy and fast on both server and client side since the application should feature real time speed.. details
      • Here's the code I use in my wink client action: CODESNIPPET_JAVA1 .. details
    4. rest: 1
      • I would look into any of the following frameworks or libraries to create REST APIs with java and/or scala: URL_http://www.playframework.com/ [Play-Framework] URL_http://vertx.io/ [Vert.x] URL_http://spray.io/ [Spray] URL_http://dropwizard.codahale.com/ [Dropwizard] (which uses Jetty, Jersey, and Jackson) .. details
    5. general: 10
      • Thanks for the answer,Ron, but I am really looking for a Java solution since my code is in Java.. details
      • Also it seems some IDEs/Plugins have better support for some technologies than others.. details
      • So I would like to hear what IDE/Plugins + J2EE Technology stack + Server(If that matters) is a good combination for my usecase and why.. details
      • use a modern version of jetty, either jetty7 for servlet 2.5 support or jetty8 for servlet 3.0 support.. details
      • An added benefit is that it can act as a pseudo-classloader and avoids jar-hell.. details
      • (A side effect is that mvn clean test works against it also) If any one is interested, ping me and I can see if the company will allow me to OpenSource it and get it up on GitHub.Or perhaps even document it via my own site URL_http://www.randomactsofsentience.com [ URL_http://www.randomactsofsentience.com ] .. details
      • I recommend using the URL_https://addons.mozilla.org/en-US/firefox/addon/poster/ [Poster-addon] for Firefox (not compatible with Firefox 4 though), so install this and we can use it to do PUT and GET requests on the CODETERM32 web-app.. details
      • Compilation and Execution This is where you should cross your fingers as you should be able to use CODETERM29 to compile the classes and then if successful CODETERM30 to run the web server with the application war file.. details
      • If I replace the last line in the first code snippet with the following line, everything works fine and dandy.. details
      • (This would probably have to recurse through the response) I am looking for something easy that doesn't include a lot of libraries.. details
  • Features: 2
    1. general: 2
      • type-checking before type-casting might get rid of the warning.. details
      • Caused by: org.codehaus.jackson.JsonParseException: Unexpected character ('$' (code 36)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: org.mortbay.jetty.HttpParser$Input@470edb99; line: 2, column: 16] at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:943) at org.codehaus.jackson.impl.JsonParserBase._reportError(JsonParserBase.java:632) at org.codehaus.jackson.impl.JsonParserBase._reportUnexpectedChar(JsonParserBa se.java:565) at org.codehaus.jackson.impl.Utf8StreamParser._handleUnexpectedVa lue(Utf8StreamParser.java:1077) at org.codehaus.jackson.impl.Utf8StreamParser.. details
  • Bug: 4
    1. general: 4
      • You can catch the exception, but not sure if that helps a lot -- parser probably won't read the whole thing.. details
      • My ajax requests keep getting the "Unsupported Media Type" error and status.. details
      • I tried returning a Class-type error but the exception shows in the browser.. details
      • I use Jetty and also tried adding jackson- all-1.6.2.jar with the same error.. details
  • Usability: 7
    1. general: 7
      • You can catch the exception, but not sure if that helps a lot -- parser probably won't read the whole thing.. details
      • Tangent answer, but I've found python + gunicorn to be really speedy for making quick REST mockups when I'm integrating with a 3rd party service.. details
      • I get this regardless of what CODETERM1 and CODETERM2 annotations I add to my methods though they should both be CODETERM3 .. details
      • @JuanMendes, okay, I see it is not a trivial task to make it with [Jetty JSON] ( URL_http://download.eclipse.org/jetty/stable-8/apidocs/org/eclipse/jetty/util/aja x/JSON.Output.html) then.. details
      • that tells me you need to re-evaluate your load testing, see this: URL_http://webtide.intalio.com/2012/05/truth-in-benchmarking / and URL_http://webtide.intalio.com/2010/06/lies-damned-lies-and-benchmarks-2/ .. details
      • I have a complete solution by which 1 jar file is added as a dependency and several tiny files (app.properties, classpath.sh, log4j.properties and run.sh) that completely configure a Jetty8 instance for numerous contexts, Handlers, Servlets, JerseyServlets, StaticFiles and ExplodedWebApps.. details
      • I use Jetty and also tried adding jackson- all-1.6.2.jar with the same error.. details