I was just womdering why your servicemix tutorials always use maven?  

Maven might be a neato, keen, whiz-bang tool of the month, bujt using it in
a tutorial really just hides the information someone going through a
tutorial might be interested in.

I noticed in the first tutorial, about the only things being explained are
maven pom files and archetypes - by the end of the tutorial, the user has
yet to see anything that might actually pertain to servicemix - like the
contents of a jbi.xml.

Lastly, I'm thinking it is sort of on the kludgy/overly complicated side to
require 3 projects, 2 zip files, 3 pom.xml files, 2 or more jbi.xml files
and possible other artifacts (maybe xbean.xml) all wrapped up in a .jar file
to simply say something on the order of...

Connect tab a to slot b, then pass whatever comes out of slot b to me and
send my output up the same path.

P.S.  All of the above files are really just re-stating over, and over and
over again approximately 5 different pieces of data - I wrote a cmd script
that copies all of the required files, does a search and replace operation
through all the .xml files, and leaves nothing but a deployable .jar file
left over (all of the other artifacts are deleted, except for the .java
source file).  Maybe you guys should create a packager utility or a
deployment or configuration utility along those lines for servicemix.

Anyhow - please remember to make things easy - it doesn't matter how
powerful a thing is if it isn't easy to use or not documented very well.

Forget the rocket science - just make stuff intuitive (i.e. include a
console/configuration util).  

And lastly, injection of dependency or whatever it is called is ruining the
world - it is not magic, it does not do anything for you automatically, and
it still requires at least as much code as simply doing it in the code would
have, only now, the code is in three or four .xml files in some hideously
complex schema  - and it breaks almost every decent tool we had left (UML
generators/profilers/etc.)

Rodney Barbati

-- 
View this message in context: 
http://www.nabble.com/Why-do-the-tutorials-use-maven...-tp15670023s12049p15670023.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to