Servis-Rhino 4211B Guia do Utilizador Página 78

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 298
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 77
This shows a dialog in which the procedure name and parameters may be supplied.
Clicking the Run button shows us the results of invoking the adapter on the Worklight Server:
JMS Adapter
The JMS adapter allows a Worklight client to send or receive messages from a Java Message
Service (JMS) queening provider. The JMS adapter encapsulates all access to the JMS system so
that the client developer need only invoke the adapter without having to have knowledge of the
underlying mechanics of JMS access.
Before we dive deeper into the adapter, let us first review our understanding of JMS. JMS provides
an abstraction to Java programmers who wish to access queuing systems. A variety of vendors
provide queuing systems each of which are different. This would mean that a Java programmer
wishing to use one would be bound to that JMS provider. The JMS specification describes a vendor
neutral set of interfaces that a Java programmer can use. In order for a Java application to be able
to access the JMS provider, it needs two pieces of information. The first is called the JMS
Connection Factory definition. This is a JNDI entry that points to a JMS provider supplied
configuration for accessing that JMS provider. The second definition is the identity of a JMS queue
to which messages will be read or written. This is again defined through a JNDI definition.
Page 78
Vista de página 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 297 298

Comentários a estes Manuais

Sem comentários