[jboss-dev] JBoss Messaging - to scope or not to scope

Kabir Khan kabir.khan at jboss.com
Wed Apr 11 13:33:44 EDT 2007


Which version of AOP do you want to use? Let me know and I can *try* to 
see if I can release a 1.5.6 that is compatible with that, if that is 
what you mean.

As mentioned elsewhere, compatibility of the woven code is a new 
requirement that has only appeared relatively recently.

Tim Fox wrote:
> 
> A major issue that is currently providing a barrier to adoption for
> JBoss Messaging and generally becoming a usability nightmare, is that
> JBoss Messaging depends on versions of JBoss Remoting and JBoss AOP that
> are more recent than those available in JBoss AS.
> 
> This means when deploying JBM in the AS, the deployment has to be done
> as a scoped deployment in its own classloading domain. This also means
> that in some situations the entire MDB container needs to be scoped too.
> 
> There is also a related problem that EJB3 (Carlo - may have fixed this
> recently) was using a different version of remoting to JBM causing them
> not to be able to work in the same client at the same time, - and of
> course scoping is not available on the client side.
> 
> In short, scoping is a massive PITA for us. It contributes a huge number
> of support cases and forum queries since average Joe has great diffculty
> in working out how to do it.
> 
> I would really love to get rid of the requirement to scope JBM
> altogether - this would give a massive boost to the project IMHO.
> 
> How can we do this though?
> 
> If we can ensure that the latest versions of AOP and Remoting are
> backward compatible with early versions then surely we can just
> overwrite the earlier versions in the AS when JBM is installed.
> 
> Tom, Kabir can you comment on whether this is possible or desirable?
> 
> If the versions are not compatible, how difficult would it be to make a
> few changes to remoting and aop to make them backward compatible?
> 
> It's my understanding, that in AS 4.x it's only JBM, EJB3 and WS that
> use remoting, and only JBM that uses AOP - please correct me if I am wrong.
> 
> (BTW scoping is not an issue in JBAS5 since we will align dependencies)
> 
> What are people's views on this?
> 
> Are there any issues I have not considered?
> 
> Can anyone think of any other solution?
> 
> 
> 

-- 
Kabir Khan
JBoss AOP Lead
JBoss, a division of Red Hat

Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod 
Street, Windsor, Berkshire, SI4 1TE, United Kingdom.
Registered in UK and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA) and David 
Owens (Ireland)




More information about the jboss-development mailing list