Java Training Overview
This course will teach you the basic concepts of messaging, familiarize you with the JMS API and provide several examples of its use. Our goal is to enable you to apply these concepts to your own applications.
Java Training Background
Messaging systems have long been recognized as flexible and reliable; as such they have found wide acceptance in many industries. Until the advent of the Java Message Service (JMS), however, the multitude of products offering messaging capabilities suffered from the lack of a standardized API. That lack made porting applications developed with one vendor's product to another's very difficult. Skill transfer was also hampered since a developer who knew a particular vendor's API would have to learn a new but similar API when working with another product. Today, JMS provides a uniform, vendor-independent API for accessing messaging systems using the Java language. The recent inclusion of Message Driven Beans to the J2EE framework should only increase the use of messaging applications in the future.
Java Training Prerequisites
Students are expected to be comfortable with the basics of the Java language. For the last topic of this course, Message Driven Beans, some knowledge of Enterprise JavaBeans is helpful. Message Driven Beans is an optional topic that is relevant only to those using or planning to use EJB.
Java Training Course duration
3 Days
Java Training Learning Objectives
- Introduce messaging concepts and the use of messaging in building applications
- Contrast synchronous and asynchronous modes of communication
- Describe and illustrate point-to-point and publish-subscribe systems
- Explore the JMS API in detail
- Apply the theory in several lab exercises
Java Training Course outline
- Introduction to JMS
- What is JMS?
- What is a Messaging System?
- Advantages of Messaging Systems
- Further advantages
- Messaging domains
- PTP features
- Pub/Sub features
- Administered objects
- Point-To-Point Basics
- PTP basics
- Connection and ConnectionFactory
- Connection
- Sessions
- Sessions Example
- Creating Queues
- Messages
- Senders and Receivers
- Cleaning up
- JMSException
- Transactions
- Acknowledgement modes
- Transactions Summary
- Message Headers
- Message Header Fields
- JMSMessageID and JMSCorrelationID
- JMSDeliveryMode
- Setting JMSDeliveryMode
- JMSRedelivered
- JMSDestination
- JMSExpiration
- JMSPriority
- Setting JMSPriority
- JMSReplyTo
- JMSTimestamp
- JMSType
- Message Properties
- JMS and Vendor Defined Properties
- Processing Property Values
- Message Selectors
- Other Features
- Temporary queues
- QueueBrowser
- Queue Properties
- Dead message queue
- Message Types
- Publish-Subscribe
- Topics
- TopicConnection and TopicConnectionFactory
- Connection
- Sessions
- Creating topics
- Publishers and Subscribers
- Message Listeners
- Durable Subscribers
- Getting queues/topics from JNDI
- Message Driven Beans
- Writing Message Driven Beans
Hardware/Software Requirements
- Hardware Requirements
- Intel-based PC Workstation
- Windows NT 4.0 or 2000 Professional
- Minimum Pentium 500Mhz Processor
- Minimum of 128 MB memory
OR
- Software Requirements
- Java 2 Standard Edition version 1.3 software and documentation*
- Java 2 Enterprise Edition version 1.3 software and documentation*
- A Web browser
- Adobe Acrobat Reader*
- Student files
- Text editor*
|