Presented by Robert Zaremba. Remote messages must be sent to a message queue so that components are...

12
Presented by Robert Zaremba

Transcript of Presented by Robert Zaremba. Remote messages must be sent to a message queue so that components are...

Page 1: Presented by Robert Zaremba.  Remote messages must be sent to a message queue so that components are decoupled  Both sides of a communication must be.

Presented by Robert Zaremba

Page 2: Presented by Robert Zaremba.  Remote messages must be sent to a message queue so that components are decoupled  Both sides of a communication must be.

Remote messages must be sent to a message queue so that components are decoupled

Both sides of a communication must be able to receive messages asynchronously, so both sides must be able to act as servers

Messages may contain confidential information so security is a concern

Page 3: Presented by Robert Zaremba.  Remote messages must be sent to a message queue so that components are decoupled  Both sides of a communication must be.

Application Server• Hosts the Web services as well as other

components Message Service

• Provides the message queues that will be used to hold incoming and outgoing messages

Component Directory• Facilitates loose coupling between

components such as Web services and message queues

Page 4: Presented by Robert Zaremba.  Remote messages must be sent to a message queue so that components are decoupled  Both sides of a communication must be.

Developed by Sun Microsystems and donated to Project Glassfish

Delivers server-side Java applications and Web services

Needs to be installed on the machines of all parties that must receive messages

Page 5: Presented by Robert Zaremba.  Remote messages must be sent to a message queue so that components are decoupled  Both sides of a communication must be.

Provides a queue that can be used to store messages

A connection factory, used to provide access to the service, can be accessed through a component discovery service

An implementation is included in the Java System Application Server

Page 6: Presented by Robert Zaremba.  Remote messages must be sent to a message queue so that components are decoupled  Both sides of a communication must be.

Stores objects or references to objects according to names

Allows for the decoupling of system components

An implementation is included in the Java System Application Server

Page 7: Presented by Robert Zaremba.  Remote messages must be sent to a message queue so that components are decoupled  Both sides of a communication must be.

Java API for creating Web services

Incorporates annotations to abstract away complex details

Replacement for JAX-RPC, the former Java API for Web services.

Page 8: Presented by Robert Zaremba.  Remote messages must be sent to a message queue so that components are decoupled  Both sides of a communication must be.

A simple XML document is transferred to the remote server via the InitializeCommunication Web service

The XML document provides the information needed to add the originator’s RemoteMessageTransfer Web service to the destination’s JDNI for later use

An XML document is returned from the InitializeCommunication Web service invocation which allows for the originator to add the destination’s RemoteMessageTransfer Web service into its own JDNI

A security token as well as an ID and password are included in the initialization document and a security token is included in the return document

Page 9: Presented by Robert Zaremba.  Remote messages must be sent to a message queue so that components are decoupled  Both sides of a communication must be.

ID provided before communication is started

Password provided before communication is started

Security Token for use by the destination server

IP Address of RemoteMessageTransfer Web service

Port of RemoteMessageTransfer Web service

Page 10: Presented by Robert Zaremba.  Remote messages must be sent to a message queue so that components are decoupled  Both sides of a communication must be.

Security Token for use by the originating server

IP Address of RemoteMessageTransfer Web service

Port of RemoteMessageTransfer Web service

Page 11: Presented by Robert Zaremba.  Remote messages must be sent to a message queue so that components are decoupled  Both sides of a communication must be.

If a message must be sent to a remote IC system then the IC manager looks up the RemoteMessageTransfer Web service in the JDNI and then invokes that service

The actual message is passed in XML format as a parameter in the RemoteMessageTransfer Web service invocation

Page 12: Presented by Robert Zaremba.  Remote messages must be sent to a message queue so that components are decoupled  Both sides of a communication must be.

The Web services have been created and deployed to the Java System Application Server

Currently messages that are passed via the RemoteMessageTransfer Web service are sent to standard output

The JMS and JNDI have not been configured properly as of yet

Security has not been implemented