Hi

I have a couple of questions about the RW/RO pattern.

1. Is it valid to use the Clustered CMP 2.x EntityBean container configuration with 
commit B for the RW deployment? Or should I use commit C?

2. This is definitely a newbie question but I can't see how to differentiate in my 
session bean deployment ejb-ref between a RO and RW deployment of the same EJB.

I have my EJB deployed like this

  | <jboss>
  |     <enterprise-beans>
  |         <entity>
  |             <ejb-name>BBClientEJB-RO</ejb-name>
  |             <jndi-name>BBClientHome-RO</jndi-name>
  |             ..etc.
  |         </entity>
  |         <entity>
  |             <ejb-name>BBClientEJB-RW</ejb-name>
  |             <jndi-name>BBClientHome-RW</jndi-name>
  |             ..etc.
  |         </entity>
  | </jboss>
  | 

And my SLSB like this

  | <ejb-ref>
  |     <ejb-ref-name>ejb/BBClientHome</ejb-ref-name>
  |     <ejb-ref-type>Entity</ejb-ref-type>
  |     <home>com.brokerbox.bbserver.server.BBClientHomeRemote</home>
  |     <remote>com.brokerbox.bbserver.server.BBClientRemote</remote>
  | </ejb-ref>
  | 

As I understand it the ejb-ref-name is the jndi bind name for the EJB references 
within the SLSB instance. Should I be trying to reference one of the -RO or -RW 
deployments? And how would I do that?

Thanks
Glyn 

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

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


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to