Stan Silvert wrote:
Bill Burke wrote:
>
>
> David M. Lloyd wrote:
>> Guys, modularization is one thing but it's critical that we think
>> about the API that the end-user will actually end up using. If it's
>> not easy to use, nobody will use it, period. That equals failure in
>> my book. I for one would rather use an API like Emmanuel suggested
>> than all the dozens of different metadata classes and the ugly MC
>> deployer API.
>>
>
> I think following these steps would do well in figuring out hwo you
> want the API to look:
>
> * How hard is it to use within Eclipse?
> * How hard is it to use within Intellij?
> * How hard is it to use with a unit test for, EJB + JPA + JCA?
>
It needs to be easier than using Cargo. Right now I can use Cargo to
start/deploy/test/stop. I do that every day from both Maven and Ant. I
don't need to use any API at all.
The problem is that Cargo is slow because it has to copy a new
configuration. Embedded should be faster. If it's not faster and
easier to configure than Cargo then you've lost. Note that this might
just mean having JBoss Embedded as a Cargo-supported container.
Again, I want to be able to right click on a test directory and run all
the tests in there without having any special IDE plugin. Having an
embeddable servlet container to do RESTEasy unit testing has been a huge
productivity boost for me. The days of manually starting some process
(and waiting) are over for me. I refuse to use any tech that doesn't
allow me to be this productive.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com