To learn the basics I would recommend Mastering Enterprise Java beans by Ed Roman. It is available as a free download For the advanced concepts you could use Enterprise Java beans - Richard Monson Haefel. There is a Head First book available in case you find their style appealing.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com