test
I'm pretty sure you need to deploy a .ear not a .war to deploy a MDB. As for a "guide", why not download an example?