I don't understand what you mean by
anonymous wrote : 
  | specialises the multiple deployment version with just one MBean deployed
  | 

By "one MBean deployed" are you refering to the deployer MBean?  Or the MBean 
deployed by the deployer? ;)  I assume you mean that we create a SARDeployment 
and HARDeployment similiar to the RARDeployment used in the RARDeployer to plug 
into the getDeploymentClass()?  

But the getDeploymentClass() piece is a bit limiting here I think, when you 
look at it from the perspective of SAR/HAR (unless I am missing something, 
which is always a possibility ;)  The reason is that the JCA deployment is 
failry close-ended, whereas the SAR/HAR is open-ended.  What I mean by this is 
that a JCA adapter is always going to have the same fixed number of 
"subordinate" collaboration MBeans (i.e., MCF-MBean, CM, etc).  Fixed both in 
terms of the number as well as the type of each.  That's not the case for the 
SAR/HAR stuff though.  So from what I saw in the RARDeployment class, it takes 
on the "configuration face" for the JCA deployment for the end-user; they 
interact with it, and then it interacts with the various back-end pieces.  That 
would be pretty difficult to acheive with SAR/HAR deployments.


Essentially, all the code I want is already defined in SARDeployer.  The reason 
is that a HAR is really just a simple service archive except that the 
HibernateMBean additionally needs to know about the deployment url (so that it 
can locate the hibernate mappings).

If y'all want that I take that SARDeployer code and move it into another base 
class intended for the SAR/HAR use-cases, then I'm fine with that.  The other 
option is that SARDeployer could just take on that role.  Either way...

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to