[wildfly-dev] Transaction subsystem dependencies

Michael Musgrove mmusgrov at redhat.com
Fri May 29 09:14:56 EDT 2015


On 29/05/15 13:22, Tristan Tarrant wrote:
> Hi all,
>
> I'm reworking the Infinispan Server package so that it is built around
> WildFly Core as I want to keep it as lean as possible.
> I need to pull in a couple of additional subsystems from WildFly proper
> and one of them is causing some head-scratching: the transactions
> subsystem. It has a bunch of hard dependencies on a ton of modules which
> really sound optional. Examples:
>
> - the IIOP stuff
> - Narayana compensations (JAX-WS, JAX-RS, Servlet API, Weld)
> - HornetQ

We need IIOP for JTS support (we use the same jars for JTA and JTS so we 
need it regardless of whether you enable JTS) .

We need  hornetq to leverage their fast journal (for our transaction logs).

I agree that Naryana compensations should not be required by the 
subsystem and this seems to be bringing in the bulk of the extra 
dependencies. I will look into why we need to include it in the subsystem.

Do you have more examples or do you agree that if we addressed the need 
for compensations in the subsystem then that would be good enough.

Mike

>
> None of the above are really needed by Infinispan Server. I guess I
> could apply manual surgery to the module.xml file to remove stuff I
> think is unnecessary and let my testsuite verify if I'm being too
> aggressive, but I was wondering whether it would be better for the
> upstream project to be a bit more careful with the dependencies.
>
> Thanks for any suggestions
>
> Tristan


-- 
Michael Musgrove
Red Hat UK Ltd, Transactions Team
e: mmusgrov at redhat.com
t: +44 191 243 0870

Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham (US), Charles Peters (US), Matt Parson (US), Michael O'Neill(Ireland)



More information about the wildfly-dev mailing list