Sample Questions Best site for GRE, LSAT, SAT, GMAT, TOEFL, CCNA, CCSA and interview sample questions  

Technical Sample Questions : C |  C++ |  Oracle |  Java | Unix |  Operating Systems |  Data Structure

Java Sample Questions ›› Java Messaging Service Sample Questions

Technical Java Sample Questions : Java Messaging Service Sample Questions

  1. Who was involved with Sun in the creation of the specification of Java Message Service 1.0.2?

    Answer: A number of important industry players initially collaborated with Sun to define the first draft of the Java Message Service specification.In addition, many comments were received from other companies, government and educational organizations, and others during the three-month public review period.

  2. What is compelling about the Java Message Service?

    Answer: The Java Message Service is compelling for these reasons:

    • It is the first enterprise messaging API that has achieved wide industry support.
    • It simplifies the development of enterprise applications by providing standard messaging concepts and conventions that apply across a wide range of enterprise messaging systems.
    • It leverages existing, enterprise-proven messaging systems.

  3. Why should developers use the Java Message Service?

    Answer: The Java Message Service makes it easy to do the following:

    • Write portable, message-based business applications
    • Extend existing message-based applications by adding new JMS clients that interoperate fully with their existing non-JMS clients

  4. What does a programmer need to learn to use the Java Message Service?

    Answer: Message-based applications are fundamentally different from remote procedure call based applications.Once a developer understands how best to employ both technologies, the JMS API makes writing message-based applications as easy as learning a few additional interfaces.

  5. What is the relationship between the Java Message Service and Enterprise JavaBeans components?

    Answer: Since J2EE version 1.2 was released, Enterprise JavaBeans components have been able to use the JMS API to send enterprise messages and receive them synchronously.The Java 2 SDK, Enterprise Edition, version 1.3, now available, provides a new kind of enterprise bean, the message-driven bean, that allows an enterprise application to receive messages asynchronously.

  6. What is the relationship between the Java Message Service and the Java Naming and Directory Interface (JNDI) API?

    Answer: The JMS API, like the other Java Enterprise APIs, uses the JNDI API for administration.The JMS API defines ConnectionFactories and Destinations as administered objects that are configured and placed in a JNDI naming context.JMS clients then look up and use these preconfigured objects.This insures that JMS applications are easy to deploy and administer.

  7. What is the relationship between the Java Message Service and the Java DataBase Connectivity (JDBC) API?

    Answer: JMS clients may also use the JDBC API.They may use both the JMS API and the JDBC API in the same transaction.In most cases, they will achieve this automatically by implementing these clients as enterprise beans.They may also use the Java Transaction API.

  8. What is the relationship between the Java Message Service, the Java Transaction API, and the Java Transaction Service?

    Answer: The Java Transaction API (JTA) provides a client API for delimiting distributed transactions and an API for accessing a resource's ability to participate in a distributed transaction.A JMS client may use JTA to delimit distributed transactions.A JMS provider can optionally support distributed transactions via JTA.

    The Java Transaction Service (JTS) can be used with the JMS API to form distributed transactions that combine message sends and receives with database updates and other JTS aware services.These services should be handled automatically when a JMS client is run from within an application server such as a J2EE server; however, it is also possible for JMS clients to program them explicitly.

  9. Where can I find a JMS API discussion group?

    Answer: You can find a JMS API discussion forum at must be a member of the Java Developer Connection to join this forum.

  10. What JDK release does the JMS API need?

    Answer: The JMS API requires JDK/JRE release 1.1.x or higher.

« Previous || Next »

Java Messaging Service Sample Question Number : 1-10| 11-20| 21-30| 31-40| 41-50| 51-53
Sample Test Questions
GRE Sample Questions
CAT Sample Questions
GMAT Sample Questions
TOEFL Sample Questions
ACT Sample Questions
SAT Sample Questions
LSAT Sample Questions
PSAT Sample Questions
MCAT Sample Questions
PMP Sample Questions
GED Sample Questions
ECDL Sample Questions
DMV Sample Questions
CCNA Sample Questions
MCSE Sample Questions
Network+ Sample Questions
A+ Sample Questions
Technical Sample Questions
WASL Sample Questions
CISA Sample Questions

Other Sample Questions
Sample Interview Questions
Sample Teacher Interview Questions
Sample Citizenship Questions
Accuplacer Sample Questions
Science Bowl sample Questions
Driving Test Sample Questions
Sample Survey Questions Sample Essay Questions
Sample Behavioral Interview Questions

Copyright © 2004-2013, Best BSQ. All Rights Reserved.