how to write unit test case for rest WS [closed] - java

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am new for writing unit testcases, i want to know how to write a unit test case for restful web service resource class, which contains GET and POST methods. It will be great if anybody can help me

It will help you
JUnit Testing REST Services Krishna Prasad's Article

Related

Getting an approach to develop enterprise-level applications using Spring Web MVC [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 21 hours ago.
Improve this question
what is ambiguous mapping and how to resolve ambiguous mapping?
You should be knowledgeable in the following areas.

Calling sql function in api.. How to call in spring boot [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 days ago.
Improve this question
I hve function which have 1 parameter in request and gives multiple parameters in response from different tables.. I want to call that function and show response im spring boot.. Anyone help pls
Controller service repository layer

Calling 2 api at a time with springboot [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 days ago.
Improve this question
I have fetch button and i want to call 2 api when i clicked on that button and give response. Anyone know how to call multiple api at a time. I have tried using rest templet.anyone help please with code

Completely change the response of spring project from rendering jsp to json object [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I have developed a spring application and now I required to develop an android application with the same functionality. Now what i want is to use the same web controller part for sending json object in response with those url mappings.
#james i think you could use ContentNegotiationViewResolver for the type of requirement you have. The proper implementation you can get from this link

Simple example to understand Websockets in java [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am new to java development, can anybody help me with web sockets basic example.
I searched the net but all the examples are very complex. Please help me out guys.
Refer :
https://gist.github.com/chitan/3063774
There is example program inside the tomcats examples folder, Try it out.

Categories

Resources