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
Which of the following is language independent?(a) RMI(b) Applet(c) Servlet(d) CORBA
Which of the following is used in Java programming for objects interacting on different platforms across a network?(a) Java IDL(b) Java Reflection(c) Java Generic programming(d) Java ORB
OMG stands for(a) Open Management Group(b) Object Manager Group(c) Object Manager General(d) Object Management Group
ORB stands for(a) Open Request Book(b) Object Request Broker(c) Object Response Broker(d) Open Response Book
Which of the following is not a part of CORBA core architecture?(a) ORB(b) CORBAFacilities(c) CORBAServices(d) GUI
The name of IDL compiler in Java is(a) idlc(b) idlj(c) jidlc(d) jidlj
Which of the following is not a task of ORB?(a) Register and look up objects(b) Marshal and un-marshal parameters from one programming language to another language(c) Contact database
IIOP stands for(a) Internet Inter-ORB Policy(b) Internet Inter-ORB Protocol(c) International Inter-ORB Protocol(d) International Inter-ORB Policy
Which of the CORBA parameter passing mechanism does Java support?(a) In(b) Out(c) Inout(d) All of the above
POA stands for(a) Pure Object Adapter(b) Portable Open Adapter(c) Portable Object Adapter(d) Portable Object Anomaly
Which of the following methods is used to initialize an ORB?(a) initialize()(b) init()(c) getORB()(d) openORB()
Which of the following methods is used to bind an object?(a) upload()(b) register()(c) put()(d) bind()
Which of the following methods is used for typecasting in CORBA?(a) typeCast()(b) convert()(c) narrow()(d) change()
Which of the following is CORBA name server?(a) Nameserver(b) Orbd(c) Nameserv(d) NamingServer
Which of the following Java properties is used to specify the IP address of the host where CORBA naming service is
A CORBA URL starts with(a) Corbaloc(b) Corbaname(c) Both a) and b)(d) None of the above
Which of the following is a servant implementation model?(a) Tie model(b) Inheritance model(c) Both a) and b)(d) None of the above
Which of the following types of object does CORBA support?(a) Transient objects(b) Persistent objects(c) Both a) and b)(d) None of the above
Which of the following classes is used for typecasting?(a) Holder class(b) Helper class(c) Stub(d) Skeleton
What is the default port used by orbd?(a) 800(b) 900(c) 1099(d) 8080
DII stands for(a) Dynamic Invocation Implementation(b) Dynamic Invocation Interface(c) Dual Invocation Interface(d) Dual Internal Interface
DSI stands for(a) Dual Skeleton Interface(b) Dynamic Server Interface(c) Dynamic Server Implementation(d) Dynamic Skeleton Interface
Which of the following protocols is used between two ORBs?(a) HTTP(b) JRMP(c) SSL(d) IIOP
A module in IDL corresponds to Java(a) Interface(b) Package(c) Class(d) Method
Which of the following classes represents an Object Request Broker?(a) Broker(b) ORB(c) ObjectRequestBroker(d) ObjReqBroker
Which of the following methods is used to get a reference to the root POA?(a) resolve()(b) getReference()(c) resolveReference()(d) resolve_initial_references()
Which of the following methods is used to convert a servant to a CORBA IOR?(a) servant2reference()(b) servant_to_reference()(c) servant_to_IOR()(d) servant2CORBA()
What is the purpose of CORBA?
Write the functions of different components of CORBA architecture.
Illustrate the steps required to develop a simple client–server application using CORBA.
What is Dynamic Invocation Interface (DII)?
What is Dynamic Skeleton Interface (DSI)?
Illustrate the steps required to develop a simple CORBA client using DII.
Describe the steps required to develop a simple CORBA server using DSI.
What are holder and helper classes? What are their usefulness?
What is a servant?
Write the functionality of POA.
What is initial naming context?
What is the function of Object Request Broker(ORB)?
What is the purpose of Interface Definition Language (IDL)?
What do you mean by activating a POA?
What do you mean by Inter-Operable Object Reference?
What is the function of an object adapter?
What is the difference between transient objects and persistent objects?
How will you make an object persistent?
What do you mean by callback? How will you implement callback mechanism in CORBA?
Write the basic steps required to develop an RMIIIOP-based application.
What is the use of the tag?(a) Tag provides a row into dataTable(b) Tag provides a column into dataTable.(c) Tag provides a cell into dataTable.(d) None of the above
What is the full form of JSF?(a) Java Server Finding(b) Java Service Facility(c) Java Server Faces(d) Java Simple Facility
The name of servlet capable of processing JSF requests is(a) JSFServlet(b) JSFServiceServlet(c) JavaServerFacesServlet(d) FacesServlet
What is the name of the default faces configuration file?(a) faces-config.xml(b) config.xml(c) config-faces.xml(d) jsf-config.xml
What is namespace for JSF tags to render HTML tags?(a) http://www.w3.org/1999/xhtml(b) http://java.sun.com/jsf/html(c) http://java.sun.com/jsf/facelets(d) http://java.sun.com/jsf/composite
Which of the following is not a phase in JSF request processing life-cycle?(a) Restore View(b) Apply Request Values(c) Process Validations(d) Prepare Response
What is namespace for JSF tags to facelet tags?(a) http://www.w3.org/1999/xhtml(b) http://java.sun.com/jsf/html(c) http://java.sun.com/jsf/facelets(d) http://java.sun.com/jsf/composite
How many phases are there in JSF request processing life-cycle?(a) 5(b) 6(c) 7(d) 8
Which of the following phases is responsible to update model objects?(a) Restore View(b) Apply Request Values(c) Process Validations(d) None of the above
Which of the following phases is invoked for the first request?(a) Process Validations(b) Render Response(c) Invoke Application(d) Update Model Values
Which of these listeners can be registered for any phase?(a) Phase listener(b) Action listener(c) Value change listener(d) None of the above
What is the first phase called in JSF request processing life-cycle?(a) Render Response(b) Invoke Application(c) Update Model Values(d) Restore View
Which of the following annotations used to register a bean as managed bean?(a) @CreateManagedBean(b) @RegisterManagedBean(c) @ManagedBean(d) @RegisterAsManagedBean
Which of the following tags is used in the faces configuration file to register a bean as managed bean?(a) (b) (c) (d)
Which of the following scope annotations is assumed if none is specified?(a) @NoneScoped(b) @RequestScoped(c) @SessionScoped(d) @ApplicationScoped
Which of the following annotations is used for property injection?(a) @InjectProperty(b) @InjectManagedProperty(c) @UpdateProperty(d) @ManagedProperty
What is the full form of EL?(a) Expression Literal(b) Example Language(c) Expression Language(d) Efficient Language
Which of the following tags is used to render HTML anchor tag? (a) (b) (c) (d) All of the above
Which of the following characters is used to indicate immediate evaluation of EL expression?(a) $(b) #(c) &(d) *
Which of the following characters is used to indicate deferred evaluation of EL expression?(a) $(b) #(c) &(d) *
What are the advantages of JSF?
How do you configure the configuration file?Is it possible to have more than one Faces Configuration file?
Explain briefly the life-cycle phases of JSF.
How are the components of JSF rendered?
How do you declare the page navigation(navigation rules) in faces-config.xml file?
What are the differences between a Backing Bean and Managed Bean?
How do you pass a parameter to the JSF application using the URL string?
Describe briefly JavaServer Faces event and listener model.
What is the use of immediate attribute?
How do you print out html markup with h:outputText?
What is the differences between action and actionlistener in JSF components ?
Briefly describe the concept of Validators and Converters in JSF.
How do you show confirmation dialog when a user clicks a button?
How do you access web.xml init parameters from Java code?
How do you pass parameters to methods using El expressions?
A dynamic proxy is an instance of(a) Java.lang.reflect.DynamicProxy(b) Java.reflect.Proxy(c) Java.lang.reflect.Proxy(d) Java.Proxy
Which of the following is a method to load shared library?(a) loadLibrary()(b) load()(c) Both a) and b)(d) None of the above
Which of the following has a valid nodeValue attribute?(a) Element(b) Attr(c) Entity(d) Document
Describe the procedure for validating XML documents against a schema.
Which of the following has childNodes attributes?(a) Attr(b) Text(c) Entity(d) Elem
Discuss the difference between the nextSibling and previousSibling properties with examples.
Nodes having a common parent are called(a) Child(b) Parent(c) Sibling(d) Desce
Discuss the difference between the firstChild and lastChild properties with examples.
Which of the following refers to the root element of an XML document?(a) Document(b) documentElement(c) Root(d) rootElement
Which of the following methods is used to create an Element type node?(a) newElement()(b) getElement()(c) createElement()(d) element()
Which of the following methods is used to create a Text type node?(a) createText()(b) newTextNode()(c) newText()(d) createTextNode()
Which of the following methods is used to create an Attr type node?(a) createAttribute()(b) createAttr()(c) newAttribute()(d) newAttr()
Which of the following is used to add an attribute to an Element node?(a) setAttr()(b) setAttribute()(c) addAttribute()(d) addAttr()
Which of the following methods is used to get a particular element?(a) getElementsByTagName()(b) returnElementById()(c) getElementById()(d) getElement()
Which of the following attributes returns the name of an element?(a) elementName(b) name(c) tagName(d) getName
Which of the following methods is used to instruct the parser to validate an XML document against a DTD?(a) setValidating()(b) validate()(c) doValidate()(d) getValidating()
Which of the following methods is used to parse an XML document?(a) doParse()(b) parse()(c) parseXML()(d) parseXMLDoc()
Which of the following methods is used to clone a node?(a) doClone()(b) cloneNode()(c) clone()(d) doCloneNode()
Showing 700 - 800
of 1226
1
2
3
4
5
6
7
8
9
10
11
12
13