It is something useful and something I will consider for 2.1.
The main features of 2.1 will be an internal architectural
refactoring, including:
1) Replacement of hand-wired interceptors with JBoss AOP (removes
boiler plate code that we've written to support an AOP-like
structure). Will also allow proper interception to Nodes rather than
these calls being mapped through the CacheImpl.
2) Inclusion of the microcontainer (allows proper dependency
injection for pluggable subsystems like cache loaders, transaction
managers, etc., and implicit JBoss AOP bindings. Also, the
configuration file can then be based on the MC as well, allowing easy
customisation of subsystems or adding custom aspects)
The above two will get rid of a lot of ancillary support structure
code, leaving the code base a lot leaner and more focused. As a part
of this, I also want to overhaul the test suite - how tests are run,
what is checked, etc. Vlad's parameterisation of JGroups stacks is a
good start, but I'd like to see the following parameterised:
1) JGroups stack (tcp/udp/mux) (only for tests annotated as replicated)
2) Cache loader (only for tests annotated as CL-dependent)
3) TM (only for tests annotated as TM-dependent)
Using the MC's test harness (perhaps with TestNG? Need to research
this) there is a lot of flexibility that can be obtained here, to
give us proper test coverage. Still needs a lot more thought, but
this is an early glimpse into what I have in mind for 2.1.
On 22 Feb 2007, at 18:41, Galder Zamarreno wrote:
Root wiki:
http://wiki.jboss.org/wiki/Wiki.jsp?page=EmbeddedJBoss
Galder Zamarreno wrote:
> I know we had a chat earlier this year on embedding AS into the
> JBC test suite. We had different opinions, but I believe this
> might be something we'll talk again for 2.1.
> This might be something worth keeping in mind, for example if we
> want to run all the testsuite with JBoss TS?
>
http://wiki.jboss.org/wiki/Wiki.jsp?page=EmbeddedAndJUnit
> This email is more of a FYI rather than a continuation of the
> email thread we had in January.
> Cheers,
--
Galder Zamarreño
Sr. Software Maintenance Engineer
JBoss, a division of Red Hat
_______________________________________________
jbosscache-dev mailing list
jbosscache-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosscache-dev
--
Manik Surtani
Lead, JBoss Cache
JBoss, a division of Red Hat
Email: manik(a)jboss.org
Telephone: +44 7786 702 706
MSN: manik(a)surtani.org
Yahoo/AIM/Skype: maniksurtani