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 to perm a batch of operations on a set of attributes.
Explain how to search object by their attributes.
Write the syntax of search filter.
What is the full form of JMS?(a) Java Media Service(b) Java Message Service(c) Java Message Server(d) Java Media Server
Which of the following objects does JMS message support?(a) dynamic(b) nonserialized(c) serialized(d) All of the above
Which of the following packages are JMS APIs contained in?(a) java.lang.jms(b) java.jms(c) java.ext.jms(d) javax.jms
Which of the following is not a JMS component?(a) JMS provider(b) JMS client(c) JMS administered objects(d) JMS cookie
Which of the following provided Java Message Service (JMS) specification?(a) Sun Microsystems(b) Javaloft(c) Microsoft(d) Apache
Which of the following is not a valid JMS message?(a) ByteMessage(b) ObjectMessage(c) CharMessage(d) TextMessage
Which of the following is FALSE?(a) The JMS provider notifies asynchronous consumer when new messages arrive.(b) The synchronous consumer collects messages from destination using receive()
Which of the following is true about synchronous and asynchronous communications?(a) The requester of a service must wait for a response from the service in asynchronous communication.(b) In
Which of the following is not a valid acknowledgement mode?(a) AUTO_ACKNOWLEDGE(b) CLIENT_ACKNOWLEDGE(c) DUPS_OK_ACKNOWLEDGE(d) RECEIVER_ACKNOWLEDGE
Which JMS component is obtained via JNDI lookups?(a) Connection(b) ConnectionFactory(c) Session(d) MessageProducer
Which of the following statements is false about synchronous and asynchronous message consumption JMS?(a) receive() method is used to consume a message synchronously.(b) A message listener is used
Which of the following is not a role of a JMS Destination component?(a) Clients use the destination component as target of messages that it produces.(b) Clients use the destination component as
Which of the following protocols is an example of an asynchronous protocol?(a) Java TCP socket(b) Remote Method Invocation (RMI)(c) File Transfer Protocol(d) Java Messaging Service (JMS)
What type of data does a StreamMessage contain?(a) Stream of bytes(b) Serializable Java object(c) Stream of Java primitive types(d) Name-value pairs
What is TRUE about Message Producers in JMS?(a) A message producer is used for sending messages to a destination.(b) It uses send() method for pub/sub model.(c) It uses publish() method for
Which of the following is a preconfigured JMS object?(a) Message(b) Destination(c) Connection(d) Session
Which of the following methods is used to receive messages synchronously in JMS?(a) receive()(b) receiveMessage()(c) receiveNoWait()(d) syncReceive()
Which of the following is true?(a) RMI supports only loosely-coupled communication.(b) RMI supports only tightly-coupled communication.(c) RMI supports both loosely-coupled and tightly-coupled
What is the priority range in JMS?(a) 0–9(b) 1–10(c) 0–6(d) 1–7
Which of the following requires timing dependencies between the sender(s) and receiver(s)?(a) P2P Messaging(b) pub/sub Messaging(c) Both a) and b)(d) None of the above
The destination in P2P model is called(a) Queue(b) Topic(c) Source(d) Target
The destination in pub/sub model is called(a) Queue(b) Topic(c) Source(d) Target
The message producer in P2P model is called(a) Publisher(b) Subscriber(c) Sender(d) Receiver
The message consumer in pub/sub model is called(a) Publisher(b) Subscriber(c) Sender(d) Receiver
Which of the following is not a JMS interface/class?(a) ConnectionFactory(b) Connection(c) Session(d) Provider
Which of the following is not a JMS provider?(a) Sun’s Open Message Queue(b) Apache’s Active MQ(c) IBM’s Websphere MQ(d) Apache Ant
Which of the following is not true in P2P model?(a) Any number of senders can put messages to a queue.(b) Any number of receivers can consume messages from the queue.(c) Each message is consumed
Which of the following is not true in pub/sub model?(a) Any number of publishers can put messages to a queue.(b) Any number of subscribers can consume messages from the queue.(c) Each message is
Which of the following is used to send a message?(a) MessageProducer(b) Destination(c) Session(d) Connection
Which of the methods must a message listener implement?(a) getMessage()(b) onMessage()(c) receiverMessage()(d) message()
What is a messaging framework?
What is JMS?
Are there other Java-based messaging frameworks?
What are the benefits of JMS?
Identify the different components of JMS.
What are administered objects?
What is the role of the JMS server?
What can a JMS provider do except send and receive messages?
What are the differences between P2P and pub/sub messaging models?
Give suitable examples where these models may be used.
What are the core interfaces and/or classes required for a JMS application?
What is the advantage of persistent message delivery compared to non-persistent delivery?
What is the difference between the Mailing and Messaging?
What are the various message types supported by JMS?
What is the role of the JMS Provider?
Write the basic steps required to develop a JMS client.
What are the differences between loose-coupled and tightly-coupled systems?
Discuss the various messaging models supported by JMS. Write some application areas of each of these models.
Distinguish between synchronous and asynchronous consumption of messages.
Write interfaces and classes specific to P2P and pub/sub model.
Discuss the different types of messages supported by JMS.
Write the names of some JMS provider.
What is the difference between a durable and a non-durable subscriber?
What do you mean by browsing a queue?
Discuss the different message acknowledgement mechanisms.
Distinguish between persistent and non-persistent messages.
What is the significance of message priority?
Explain the concept of message expiration.
What is the usefulness of temporary destinations?
Explain the concept of transacted and nontransacted session.
How do you make an instance variable into a JavaBean property?(a) Drop the Bean into the BeanBox property sheet(b) Specify get and set methods for the variable(c) Declare the instance variable
JavaBean methods are all(a) Properties(b) Event listeners(c) Identical to methods of other Java classes(d) Events
Which of the following aspects do properties control?(a) How a JavaBean is compiled and dropped into the BeanBox (or other tool)(b) The tools you can use to customize a JavaBean(c) The
Which of the following is done using BeanBox’s property tool?(a) Change the value of a Bean’s property(b) Add new properties to a Bean(c) Delete a Bean’s property(d) None of the above
Bound properties are associated with(a) PropertyBound event(b) ValueChanged event(c) ValueBound event(d) PropertyChange event
A property defined in a JavaBean typically(a) Is declared as a private type(b) Has a corresponding get method and set method(c) Can be saved and retrieved at a later time(d) All of the above
A bean that receives events generated by a source bean is called(a) EventHandler Bean(b) Receiver Bean(c) Acceptor Bean(d) Listener Bean
The properties of a Bean(a) Are defined by the Bean itself(b) May be inherited from Bean’s super class(c) Are analogous to instance variables(d) All of the above
Which of the following mechanisms is used to discover the bean’s properties, methods, and events?(a) Persistence(b) Introspection(c) Customization(d) Event deleg
JavaBeans with constrained properties(a) Instantiate an ActionListener object.(b) Use methods of the VetoableChangeSupport class.(c) Instantiate a ConstraintChangeSupport object.(d) None of the above
Which of the following executes EJB components?(a) A web server(b) An EJB container(c) A web browser(d) A database server
Which of the following interfaces is used to find and remove enterprise beans?(a) java.rmi.Home(b) javax.ejb.EJBObject(c) javax.ejb.EJBHome(d) javax.ejb.Object
Which of the following is used to create business objects?(a) javax.ejb.EntityBean(b) javax.ejb.Object(c) javax.ejb.SessionBean(d) javax.ejb.Business
What type of bean is used to embody application processing state information?(a) javax.ejb.StateBean(b) javax.ejb.Object(c) javax.ejb.EntityBean(d) javax.ejb.SessionBean
Which of the following interfaces must the enterprise bean implement so that an application can invoke its
Which of the following is true about a Messagedriven bean?(a) It has a remote interface.(b) It does not feature a component interface.(c) It has a local interface.(d) It has a client view.
What does the EJB architecture specify?(a) Distributed object components(b) Transactional components(c) Server-side components(d) All of the above
What happens when a reference to a remote method is passed?(a) A local copy of the remote object is passed.(b) The remote object reference is passed.(c) The remote object’s stub is
Each struts action element is uniquely identified by its(a) Path attribute(c) Page attribute(b) Name attribute(d) Input attribute
What is the full form of MVC(a) Multiple–View–Controller(b) Model–View–Cache(c) Multiple–View–Cache(d) Model–View–Controller
What are JavaBeans?
Mention the types of bean properties.
How do you create a bound property?
Explain with example bean design patterns.
How do you create a constrained property?
What do you mean by bean customization?
Explain the importance of bean persistence. How do you make a bean persistent?
What is Deployment Descriptor?
Mention the advantages of EJB over other component architectures.
What is the difference between JavaBean and Enterprise JavaBean?
What is a bean managed transaction?
What are the differences between stateless and stateful session beans?
How does a stateful session bean remember its client state?
What is the life cycle of an Entity Bean?
What is the full form of CORBA?(a) Client Object Request Broker Architecture(b) Common Object Request Broker Architecture(c) Common Object Response Broker Architecture(d) Common Object Request
What is the full form of IDL?(a) Interface Dynamic Language(b) Intermediate Definition Language(c) Interface Declaration Language(d) Interface Definition Language
What is the full form of IOR?(a) International Object Reference(b) Inter-operable Open Reference(c) Inter-operable Object Reference(d) International Open Reference
Showing 600 - 700
of 1226
1
2
3
4
5
6
7
8
9
10
11
12
13