All Matches
Solution Library
Expert Answer
Textbooks
Search Textbook questions, tutors and Books
Oops, something went wrong!
Change your search query and then try again
Toggle navigation
FREE Trial
S
Books
FREE
Tutors
Study Help
Expert Questions
Accounting
General Management
Mathematics
Finance
Organizational Behaviour
Law
Physics
Operating System
Management Leadership
Sociology
Programming
Marketing
Database
Computer Network
Economics
Textbooks Solutions
Accounting
Managerial Accounting
Management Leadership
Cost Accounting
Statistics
Business Law
Corporate Finance
Finance
Economics
Auditing
Ask a Question
Search
Search
Sign In
Register
study help
computer science
advanced java programming
Questions and Answers of
Advanced Java Programming
Describe how parameters are retrieved from an applet.
Demonstrate with examples, how applets can communicate with each other.
Can applets on different pages communicate with each other?
How do you determine the width and height of an applet?
Show how URLs are loaded dynamically using applets.
Which classes and interfaces does the Applet class contain?
Which tags are used in HTML to display an applet?
Which methods are available to retrieve information about an applet?
Which method is used to display a string on the applet’s window? Which function is this method included in?
What is the full form of RPC?(a) Redundant Procedure Call(b) Remote Proxy Call(c) Remote Procedure Call(d) Remote Patient Care
What is the full form of XML?(a) eXtra Markup Language(b) X-Markup Language(c) eXpandable Markup Language(d) eXtensible Markup Language
Which of the following protocols is used as transport protocol in XML-RPC?(a) HTTPS(b) SMTP(c) FTP(d) HTTP
Which one of the following types is a valid XMLRPC data type? (a) (b) (c) (d)
Which one of the following types is compound data type in XML-RPC? (a) (b) (c) (d)
Which of the following is a correct date format in XML-RPC?(a) CCYYDDMM(b) MMDDCCYY(c) DDMMCCYY(d) CCYYMMDD
Which of the following tags is used in a request message? (a) (b) (c) (d)
Which of the following tags is used to specify name of the method? (a) (b) (c) (d)
An XML-RPC request message is an HTTP(a) PUT message(b) GET message(c) HEAD message(d) POST message
Which of the following tags is used in a response message? (a) (b) (c) (d)
Which of the following tags is used in a fault message? (a) (b) (c) (d)
Which of the following classes is used to create a minimal web server?(a) HTTPServer(b) XmlRpcWebServer(c) XmlRpcHTTPServer(d) WebServer
Which of the following classes is capable of invoking methods on remote objects?(a) XmlRpcRequest(b) XmlRpcResponse(c) XmlRpcClient(d) XmlRpcServer
Which of the following methods is used to add a handler?(a) putHandler()(b) addHandler()(c) handlerAdd()(d) appendHandler()
Which of the following methods is used to configure an XML-RPC client?(a) configClient()(b) addConfig()(c) configAdd()(d) setConfig()
Which of the following servlet classes can handle XML-RPC requests?(a) XmlRpcServlet(b) ApacheServlet(c) RpcServletRequest(d) XmlRpcServletRequest
Introspection is an ability to(a) Declare a method as public(b) To write method documentation(c) To discover servers(d) Find information about remote methods
Which of the following is an introspection method?(a) system.getMethods(b) system.sendMethods(c) system.retrieveMethods(d) system.listMethods
Which of the following system methods is used to know method signature?(a) system.listSignature(b) system.getHelp(c) system.methodSignature(d) system.getSignature
Which of the following is an extension to XML-RPC?(a) SOAP(b) HTTPS(c) FTP(d) Servlet
An XML-RPC message is an HTTP_____________ message(a) HEAD(b) POST(c) GET(d) DELETE
Whcih of the following types does not require a element?(a) int(b) boolean(c) date and time(d) string
Which of the following is used to represent integers?(a) int4(b) i4(c) B4(d) b32
How many bits are used to represent integers?(a) 8(b) 16(c) 32(d) 64
How many bits are used to represent floating point numbers?(a) 8(b) 16(c) 32(d) 64
Which of the following is a valid date and time?(a) D20141015T15:45:00(b) T15:45:00D20141015(c) 20141015T15:45:00(d) 15:45:00D20141015
Which of the following elements is used to represent elements of a struct? (a) (b) (c) (d)
A fault message is represented as(a) struct(b) array(c) boolean(d) string
Which of the following methods is used to call a remote method?(a) call()(b) invoke()(c) execute()(d) refer()
What is the default name of the file XmlRpcServlet always(a) XmlRpcServlet.properties(b) XmlRpcServlet.xml(c) XmlRpc.properties(d) Servlet.properties
Which of the following methods is used to start a web server?(a) run()(b) init()(c) listen()(d) start()
The facility to dynamically get information about the server methods is called(a) introspection(b) reflection(c) search(d) digging
Explain XML-RPC architecture.
Briefly write the operational principle of XML-RPC.
In XML-RPC, which data types are supported?
Describe with example how arrays are represented in XML-RPC.
How does struct differ from array?
For each of the XML-RPC types, write the corresponding Java types.
Write with examples the format of XML-RPC request and response messages.
What is a fault message? Why is it used?
Write briefly the functionality of WebServer class?
What are the limitations of WebServer class?
Write the relative merits and demerits of WebServer and ServletWebServer
What is meant by dynamic proxy with respect to Apache XML-RPC?
Explain the usefulness of introspection.
Write some of the advantages of XML-RPC.
Write some of the limitations of XML-RPC.
What happens if a client specifies a nonexistent method name?
What are the different ways in which an XML-RPC server can be created?
What is the difference between array and struct?
How do you represent multi-dimensional arrays?
How do you represent raw binary bit-stream?
SOAP stands for(a) Simultaneous Object Access Protocol(b) Simple Object Access Policy(c) Simple Object Access Protocol(d) Standard Object Access Protocol
Which of the following is NOT the purpose of the binding section of a WSDL document?(a) To indicate the transport protocol of a portType operation.(b) To indicate how the body of a SOAP message is
Which of the following is the root element of every SOAP message? (a) (b) (c) (d)
WSDL stands for(a) Web Service Designing Language(b) Web Service Definition Language(c) Web Site Description Language(d) Web Service Description Language
JAX-WS stands for(a) Java API for XML Web Site(b) Java API for XHTML Web Service(c) Java API for XML Wide Service(d) Java API for XML Web Service
Which of the following does SOAP extend?(a) HTTP(b) XML(c) WSDL(d) XML-RPC
Which of the following is a mandatory element in a SOAP message? (a) (b) (c) (d)
Which of the following annotations is used for declaration of a web service?(a) @SOAPBinding(b) @WebMethod(c) @WebService(d) @Style
What is the default encoding style?(a) Document(b) RPC(c) XML(d) None of the above
Which of the following statements is correct if a SOAP message contains the following statement?(a) The SOAP processor will go to http://schemas.xmlsoap.org/soap/envelope/ to find out the meaning of
In WSDL, a refers to(a) TCP/IP or UDP port on the server(b) The operations that can be performed, and the messages that are involved(c) The actual protocol used in the Web Service(d) Only the
Which of the following classes is used to publish a web service?(a) Publisher(b) Endpoint(c) WebService(d) WSPublisher
Which of the following methods is used to publish a web service?(a) export()(b) upload()(c) disclose()(d) publish()
The soap:binding element has two attributes. They are(a) style attribute and transport attribute(b) actor and name(c) encoding and soapAction(d) message and parts
In WSDL a refers to(a) TCP/IP or UDP port on the server(b) Represents the actual service used(c) Exposes a using a specific protocol binding(d) Defines the operation
Which of the following statements is correct for the SOAP message given below?(a) The SOAP processor will follow SOAP 1.1 standard to encode the number 54.99.(b) The service tries to return a
Which of the following is correct about SOAP and XML-RPC?(a) SOAP can do RPC while XML-RPC cannot.(b) SOAP is platform and language independent while XML-RPC is not.(c) SOAP specification has a
What does SOAP define?(a) The overall structure of the XML message(b) The conventions representing the remote procedure call in the XML message(c) A binding to HTTP(d) The conventions to wrap and
Which of the following is true about Simple Object Access Protocol (SOAP) ?(a) SOAP is a protocol used in conjunction with web services technology.(b) SOAP outlines and defines the specifications
Which of the following tools is used to compile WSDL file?(a) Wsgen(b) Wsimport(c) Wscompile(d) Wsc
Which of the following classes represents a web service?(a) Service(b) WebService(c) WS(d) WebServiceClass
Which of the following is used for document style encoding?(a) @SOAPBinding(style = Style.RPC)(b) @SOAPBinding(style = Style.DOCUMENT)(c) @Binding(style = Style.DOCUMENT)(d) @SOAPBinding(style =
The SOAP elements must always belong to the
The name of the tomcat web service servlet is(a) WebServiceServlet(b) TomcatWSServlet(c) TomcatServlet(d) WSServlet
Which of the following tags is used to enable asynchronous method generation?(a) addAsync(b) addAsyn(c) addAsynchronous(d) AsyncAdd
Which of the following interfaces must an asynchronous callback handler implement?(a) AsynchronouscHandler(b) Handler(c) AsynHandler(d) AsyncHandler
What is the return type of asynchronous methods?(a) Future(b) Response(c) void(d) Either a) or b)
If the URL of a web service is http://172.16.5.81:6789/ws/calc, what will the URL of the WSDL file
The JAX-WS element may be written in (a) (b) (c) (d) all of the above
What is the default name of sun’s web service deployment descriptor?(a) sun-jaxws.xml(b) sun-jaxws.properties(c) jaxws.xml(d) jaxws.properties
Which of the following is used to generate schema and WSDL from web service implementation file?(a) Wsimport(b) Wsgen(c) Botha) and b)(d) None of the above
SEI stands for(a) Service Endpoint Implementation(b) Simple Endpoint Interface(c) Service Endpoint Interface(d) Sample Endpoint Interface
What is SOAP and how does it relate to XML?
Write the purpose of Header element in SOAP document.
Describe the structure of SOAP messages. Also write the rules associated with the SOAP message structure.
How are SOAP messages embedded in POST method of HTTP protocol?
Write the use of SoapMethod attribute in HTTP header.
Discuss the various Fault elements associated with SOAP fault.
Write the SOAP request message to call a method“getPhoneNumber” with parameter “name” taking value “John”. Use SOAP encoding. Also write the SOAP response message for the same. Write
Showing 200 - 300
of 1226
1
2
3
4
5
6
7
8
9
10
11
12
13