A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Joined: Jul 24, 2003
Jul 27, 2005 20:54:00
I have a MDB that listens to a topic. Now I want two MDB to read the same topic. What do I need to add in my ejb-jar.xml? Can I put both in the same xml file? Or in different jar files?
Here is my ejb-jar.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
Joined: Sep 29, 2002
Jul 28, 2005 01:34:00
All your bean types are declared in the same ejb-jar.xml file. It is only at deployment time that the two MDB types are bound to a specific Topic configured as a resource in the
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: MDB Topic
No location set for Topic resource
No javax.jms.Destination found at the specified destination-location
Persistent Messages, What heppens if a system is started!
Message Driven Bean (Topic)
jms Null or empty subscription
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015