Hello,

In my application, there is one session bean which use several jms resource adapters 
to connect to different servers (because I would like to use the pooling functions of 
resource adapter. )

However, when the system is running, it is required to add new connection to new 
installed server. So, it is needed to configure this session bean with new jms 
resource (This is the problem) like modifying ejb-jar.xml file and jboss.xml file. 


My Questioins are:


(1)Is it possible to add new JMS Resource adapters by only adding new ....xml files?

(2)If i can add new jms adapter, Is it possible to code the session bean to access the 
jndi directly to get the QueueConnectionFactory(E.g., java:/JmsXA instead of using 
UIL2ConnectionFactory) to get the newly deployed MANAGED connection factory?

I know it is possible to add connection to new server if i use plain connection by 
employing UIL2ConnectionFactory. But then i cannot use the pooling feature. 
Especially, if there are 100 instances of this session bean in server A, each of then 
create an connection, then there are 100 plain connections. I think it is too 
expensive. (am i right?)


Any Idea?

Regards
yang








View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841322#3841322

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841322


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to