Hello mates,

I send this email to start a discussion for a change on TomEE Arquillian
Adapter.

The other day, because of the book (Arquillian In Action), I checked the
protocol used by different adapters. I noticed that only Weld adapter and
TomEE embedded adapter are using the local protocol,all other ones are
using the Servlet 3.0 protocol. And maybe you are asking why this is
important? Well the problem is that a lot of extensions requires this
protocol to work, for example Arquillian Persistence extension or Arquillan
Warp extension. In case a user wants to use  embedded TomEE and one
extension that requires servlet protocol, it would get a cryptic exception.
Of course there is a workaround and it is overriding the default protocol
by using protocol special tag in arquillian.xml and adding the
servlet-protocol dependency.

I think that it would be easier for everyone if all adapters works in the
same way. With the release of TomEE 7 I think it could be a good
opportunity to make this change in the Arquillian embedded adapter as well
and align with the rest of the containers.

The change to be done is very simple in terms of code (Adding one
dependency and change one String of the adapter).

What do you think? From the point of view of Arquillian community it would
be the logic step.

Alex.

Reply via email to