Deck 4: RMI and JSP : Layers, Directives, and Functionality

ملء الشاشة (f)
exit full mode
سؤال
What temporarily redirects response to the browser?

A)<jsp:forward>
B)<%@directive%>
C)response.sendRedirect(URL)
D)response.setRedirect(URL)
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Which tag is used to set a value of a JavaBean?

A)<c:set>
B)<c:param>
C)<c:choose>
D)<c:forward>
سؤال
Can <!-comment-> and <%-comment-%> be used alternatively in JSP?

A)True
B)False
C)none
D)all
سؤال
Java code is embedded under which tag in JSP?

A)Declaration
B)Scriptlet
C)Expression
D)Comment
سؤال
Which of the following is not a directive in JSP?

A)page directive
B)include directive
C)taglib directive
D)command directive
سؤال
In RMI Architecture which layer Intercepts method calls made by the client/redirects these calls to a remote RMI service?

A)Stub & Skeleton Layer
B)Application Layer
C)Remote Reference Layer
D)Transport Layer
سؤال
Which is an object, acts as a gateway for the client side, all the outgoing requests are routed through it and it resides at the client side and represents the remote object?

A)Stub
B)Skeleton
C)Both A & B
D)None of the above
سؤال
Java supports RMI, RMI Stands for?

A)Random Method Invocation
B)Remote Memory Interface
C)Remote Method Invocation
D)Random Method Invocation.
سؤال
An RMI Server is responsible for _______

A)Creating an instance of the remote object
B)Exporting the remote object
C)Binding the instance of the remote object to the RMI registry
D)All mentioned above
سؤال
Abbreviate the term DGC?

A)Digital Garbage Collection
B)Distributed Garbage Collection
C)Distributed Garbage Connection
D)None of the above
سؤال
RMI and EJB, provides services to access an object running in another JVM (known as remote object).

A)True
B)False
C)none
D)all
سؤال
In RMI, the objects are passed by _____.

A)Value
B)Reference
C)Value and Reference
D)None of the above
سؤال
RMI uses a layered architecture; each of the layers could be enhanced or replaced without affecting the rest of the system.

A)True
B)False
C)none
D)all
سؤال
What are the exceptions which have to be handled in a RMI client program?

A)RemoteException
B)NotBoundException
C)MalFormedURLException
D)All mentioned above
سؤال
RMI is a server-side component; It is not required to be deployed on the server.

A)True
B)False
C)none
D)all
سؤال
Which package is used for Remote Method Invocation (RMI)?

A)java.lang.rmi
B)java.lang.reflect
C)java.applet
D)java.rmi
سؤال
Which program obtains a remote reference to one or more remote objects on a server and then invokes methods on them in an RMI application?

A)Server
B)Client
C)Both A & B
D)None of the above
سؤال
Which objects are used by RMI for communicating with the remote object?

A)Stub
B)Skeleton
C)Both A & B
D)None of the above
سؤال
RMI Architecture consists of how many layers?

A)5
B)3
C)4
D)2
سؤال
Which method in naming class specifies a name to the remote object?

A)bind(string name)
B)rebind(string name)
C)Both A & B
D)None of the above
سؤال
1099 is the default port used by RMI Registry.

A)True
B)False
C)none
D)all
سؤال
RMI uses which protocol on top of TCP/IP (an analogy is HTTP over TCP/IP)?

A)Java Remote Method Protocol (JRMP)
B)Internet Inter-ORB Protocol (IIOP)
C)Jinni Extensible Remote Invocation (JERI)
D)All mentioned above
سؤال
Which method of the Naming class (found in java.rmi) is used to update the RMI registry on the server machine?

A)rebind ()
B)lookup()
C)Both A & B
D)None of the above
سؤال
What is the built on top of the socket programming?

A)EJB
B)RMI
C)Both A & B
D)None of the above
سؤال
In RMI which layer defines and supports the invocation semantics of the RMI connection and this layer maintains the session during the method call?

A)The Stub & Skeleton Layer
B)The Application Layer
C)The Remote Reference Layer
D)The Transport Layer
سؤال
In RMI Distributed object applications need to

A)Locate remote objects
B)Communicate with remote objects
C)Load class definitions for objects that are passed around
D)All mentioned above
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/26
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 4: RMI and JSP : Layers, Directives, and Functionality
1
What temporarily redirects response to the browser?

A)<jsp:forward>
B)<%@directive%>
C)response.sendRedirect(URL)
D)response.setRedirect(URL)
response.sendRedirect(URL)
2
Which tag is used to set a value of a JavaBean?

A)<c:set>
B)<c:param>
C)<c:choose>
D)<c:forward>
<c:set>
3
Can <!-comment-> and <%-comment-%> be used alternatively in JSP?

A)True
B)False
C)none
D)all
False
4
Java code is embedded under which tag in JSP?

A)Declaration
B)Scriptlet
C)Expression
D)Comment
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
5
Which of the following is not a directive in JSP?

A)page directive
B)include directive
C)taglib directive
D)command directive
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
6
In RMI Architecture which layer Intercepts method calls made by the client/redirects these calls to a remote RMI service?

A)Stub & Skeleton Layer
B)Application Layer
C)Remote Reference Layer
D)Transport Layer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
7
Which is an object, acts as a gateway for the client side, all the outgoing requests are routed through it and it resides at the client side and represents the remote object?

A)Stub
B)Skeleton
C)Both A & B
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
8
Java supports RMI, RMI Stands for?

A)Random Method Invocation
B)Remote Memory Interface
C)Remote Method Invocation
D)Random Method Invocation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
9
An RMI Server is responsible for _______

A)Creating an instance of the remote object
B)Exporting the remote object
C)Binding the instance of the remote object to the RMI registry
D)All mentioned above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
10
Abbreviate the term DGC?

A)Digital Garbage Collection
B)Distributed Garbage Collection
C)Distributed Garbage Connection
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
11
RMI and EJB, provides services to access an object running in another JVM (known as remote object).

A)True
B)False
C)none
D)all
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
12
In RMI, the objects are passed by _____.

A)Value
B)Reference
C)Value and Reference
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
13
RMI uses a layered architecture; each of the layers could be enhanced or replaced without affecting the rest of the system.

A)True
B)False
C)none
D)all
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
14
What are the exceptions which have to be handled in a RMI client program?

A)RemoteException
B)NotBoundException
C)MalFormedURLException
D)All mentioned above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
15
RMI is a server-side component; It is not required to be deployed on the server.

A)True
B)False
C)none
D)all
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
16
Which package is used for Remote Method Invocation (RMI)?

A)java.lang.rmi
B)java.lang.reflect
C)java.applet
D)java.rmi
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
17
Which program obtains a remote reference to one or more remote objects on a server and then invokes methods on them in an RMI application?

A)Server
B)Client
C)Both A & B
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
18
Which objects are used by RMI for communicating with the remote object?

A)Stub
B)Skeleton
C)Both A & B
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
19
RMI Architecture consists of how many layers?

A)5
B)3
C)4
D)2
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
20
Which method in naming class specifies a name to the remote object?

A)bind(string name)
B)rebind(string name)
C)Both A & B
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
21
1099 is the default port used by RMI Registry.

A)True
B)False
C)none
D)all
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
22
RMI uses which protocol on top of TCP/IP (an analogy is HTTP over TCP/IP)?

A)Java Remote Method Protocol (JRMP)
B)Internet Inter-ORB Protocol (IIOP)
C)Jinni Extensible Remote Invocation (JERI)
D)All mentioned above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
23
Which method of the Naming class (found in java.rmi) is used to update the RMI registry on the server machine?

A)rebind ()
B)lookup()
C)Both A & B
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
24
What is the built on top of the socket programming?

A)EJB
B)RMI
C)Both A & B
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
25
In RMI which layer defines and supports the invocation semantics of the RMI connection and this layer maintains the session during the method call?

A)The Stub & Skeleton Layer
B)The Application Layer
C)The Remote Reference Layer
D)The Transport Layer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
26
In RMI Distributed object applications need to

A)Locate remote objects
B)Communicate with remote objects
C)Load class definitions for objects that are passed around
D)All mentioned above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.