I want to use Topic-Subscriber Funda.
I had written ""sun-ejb-jar.xml"" which is working well for single Connection/Destination. Which worked fine.

<sun-ejb-jar>
<enterprise-beans>
<ejb>
<ejb-name>DemoMessageDrivenBean</ejb-name>
<jndi-name>jms/topic</jndi-name>
<mdb-connection-factory>
<jndi-name>jms/tConnectionFactoryTopic</jndi-name>
</mdb-connection-factory>
</ejb>

</enterprise-beans>
</sun-ejb-jar>


Now i am trying to access Multiple Connections and Destinations.
I do not want to make Multiple MDB's in that case.
I am not getting what i have to enter in this .xml file.

Or does anyone have suitable idea to solve this purpose.

I want to access multiple connections and destinations dynimically to database and do not want to make multiple Message Driven Beans.

* in anotation case there is one anotation per bean and could not handle multiple one

Please Help :( :(