Professional Documents
Culture Documents
E1 Tecnologia Web
E1 Tecnologia Web
E1 Tecnologia Web
WHICH OF THE FOLLOWING ANNOTATION OF JAX RS API BINDS THE PARAMETER PASSED TO
METHOD TO A VALUE IN PATH?
HeaderParam+
QueryParam
MatrixParam
PathParam
2. WHICH OF THE FOLLOWING ANNOTATION OF JAX RS API BINDS THE PARAMETER PASSED
TO METHOD TO A VALUE IN PATH?
@QueryParam
@MatrixParam
@PathParam
@HeaderParam+
A web services takes the help of WSDL to describe the availability of service.
A web services takes the help of WSDL to tag the data, format the data.
Request Body+
URI
HTTP Version
Request Header
Restlet
Apache CFX+
Jersey
RestEasy
6. WHICH OF THE FOLLOWING ERROR CODE IS THROM BY AN APPLICATION WHICH DOES NOT
SUPPORT TEXT/XML IF A VALUE TEXT/XML IS SENT TO AN APPLICATION IN ACCEPT HEADER
500
404
401
400+
7. JAX-RS LEts YOU SPECIFY YOUR OWN REGULAR EXPRESSION FOR THE PATH VARIABLES
False
True+
Sending requests
Sending responses
Spring-boot
Spring-devtols
-Web services allow clients to invoke procedures, functions, and methods on remote objets
using an XML based protocol
-A web service supports RPC by providing services of its own equivalent to those of a
traditional component or by translating incoming invocad component
-Remote procedures expose input and output parameters that a web service must support.
11. BY DEFAULT THE JAX-RS RUNTIME ENSURES THAT ALL THE URI VARIABLES MATCH THE
FOLLOWING REGULAR EXPRESSION
-Component
-Configuration
-EnableAutoConfiguration
-ComponentScan
14. WHICH OF THE FOLLOWING ANNOTATION OF JAX RS API BINDS THE PARAMETER PASSED
TO METHOD TO A FORM VALUE?
@CookieParam
@FormParam+
@Context
@DefaultValue
15. WEBSERVICES PLATFORM IS COMBINATION OF
Css+http
Xml+http+
Css+java
Xml+html
16.IN WHICH FILE DO WE SPECIFY VARIOUS PROPERTIES FOR A SPRING BOOT APPLICATION?
Config.properties
Springboot.properties
Application.properties+
Boot properties
It also provides supports for creating clients for Restful web services
JAX-RS makes heavy use of annotations avaliable from Java SE to simplify development of JAVA
based web services
18. WHICH OF THESE ARE THE POSSIBLE INTERNET MEDIA TYPES THAT A REST API CAN
PRODUCE
-application/atom+xml+
-aaplication/json+
-application/jar
409+
204
304
401