jax-rs
install and use jersey on Eclipse
In my Web service I use eclipse, java 1.5, spring. now I want to use jersey for REST and downloaded the jersey as a bundle jar from this address:[详细]
2023-03-06 02:17 分类:问答JAX-RS failed to inject @EJB or @Inject
I\'m trying to test a minimal JAX-RS + EJB/CDI injection mechanism and currently hitting a road-block due to GlassFish unable to inject for whatever reason.[详细]
2023-03-06 00:32 分类:问答How do I get a CXF client to understand a List?
I\'m using Apache CXF for my restful web services. I have a service defined by an interface that returns a list of my bean.[详细]
2023-03-05 23:15 分类:问答JAX-RS with Jersey: Passing form parameters to PUT method for updating a Resource
I have to update a Person record having firstName and lastName. User should be able to change it from html form and on submit it should be updated.[详细]
2023-03-05 07:09 分类:问答Rollback transactions in JAX-RS
I have a simple resource class that implements some POST method. How to rollback transaction if there开发者_如何学编程 was exceptions in my methods, and commit - if all is ok?[详细]
2023-03-05 00:47 分类:问答REST URI Design : Optional and multivalue information passing
I have one search widget where people search for car dealers by zip code. There are also some optional checkboxes to refin开发者_JAVA百科e search in that widget.[详细]
2023-03-04 13:31 分类:问答HttpServletResponseWrapper Status Code = 0
I am using HttpServletResponseWrapper to capture the status c开发者_如何学运维ode in a servlet filter. It seems to work fine.[详细]
2023-03-03 12:10 分类:问答Staying DRY with JAX-RS
I\'m trying to minimize repeated code for a number of JAX-RS resource handlers, all of which require a few of the same path and query parameters. The basic url template for each resource looks like th[详细]
2023-03-02 07:38 分类:问答Create JAX-RS provider to create a Java Image from InputStream
I\'m trying to create an image/jpeg jax-rs provider class that creates an Image for my post rest based web service. I\'m unable to formulate the request in order to test the below, what is easiest way[详细]
2023-03-01 16:12 分类:问答How to submit JSON data as request body in Apache CXF jax-rs (REST)
I am using Apache-CXF for creating REST web services and trying to submit a form. Server: This is my method, which is expected to get json data.[详细]
2023-03-01 14:58 分类:问答