23.07.2013 Views

O'Reilly - Java Message Service

O'Reilly - Java Message Service

O'Reilly - Java Message Service

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Java</strong> <strong>Message</strong> <strong>Service</strong><br />

JMQ does not support firewall tunneling. JMQ provides a username/password<br />

authentication support, but doesn't provide any authorization (access control) for<br />

administered objects.<br />

9.5.2 Next Version<br />

Version 2.0 of JMQ will be a complete rewrite and will no longer be based on Enron's<br />

InterAgent product. JMQ will be written in <strong>Java</strong>, which will increase the number of<br />

platforms the server can run on. JMQ 2.0 will support the optional JMS Application Server<br />

Facilities, JDBC for persistence, JMS XA interfaces for two-phase commit, server<br />

clustering, HTTP/HTTPS firewall tunneling, authentication, some access control, and<br />

improved Admin GUI console.<br />

9.6 BEA: WebLogic Server<br />

BEA was one of the first (and most important) companies to introduce a full-fledged EJB<br />

container. Their approach to JMS has been to add a JMS server to their existing product,<br />

WebLogic Server.<br />

9.6.1 Version 5.1<br />

WebLogic Server is an application server that includes an EJB container, servlet, and JSP<br />

container and other facilities. In addition, WebLogic includes a JMS service provider that<br />

was introduced in version 4.5.1. In earlier versions, WebLogic provided a proprietary<br />

messaging system called WebLogic Events, which is still supported but is not the basis of<br />

their JMS implementation.<br />

WebLogic's JMS service is compliant with JMS 1.0 and provides support for both the<br />

pub/sub and the p2p JMS messaging models. The server and clients are written in <strong>Java</strong> and<br />

therefore run on any platform with a <strong>Java</strong> Virtual Machine ( JDK 1.1 or higher).<br />

WebLogic uses a centralized architecture based on the hub-and-spoke model. Clustering of<br />

JMS services is not currently supported, so load balancing and scalability are limited to a<br />

single server instance. The WebLogic server provides administrators with a GUI console<br />

that includes support for configuring JMS administered objects.<br />

Persistent messages are supported through any relational database that can be accessed<br />

with JDBC. WebLogic does not support 2PC, but it does support coordinated transactions<br />

between their EJB container and JMS clients, provided that the database used for JMS<br />

persistence is the same database used by the enterprise beans.<br />

WebLogic supports HTTP 1.1 tunneling (as well as HTTPS) which can be used to tunnel<br />

through both client-side and server-side firewalls. Support for tunneling is one of the core<br />

services provided by the WebLogic server. For authentication and access control,<br />

WebLogic supplies a pluggable "realm" <strong>Service</strong>-Provider Interface and a set of default<br />

realms (LDAP, NT, Unix, and a simple file-based realm). WebLogic supports SSL,<br />

including client-side certificates. WebLogic also supports access control lists on topics and<br />

queues; access lists control who may send or receive messages to a particular destination.<br />

Access control is used on message delivery, and when establishing consumers. It can also<br />

be used in their JNDI naming service to prevent access to administered objects.<br />

139

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!