© Jonathan Wetherbee, Massimo Nardone, Chirag Rathod, and Raghu Kodali 2018
Jonathan Wetherbee, Massimo Nardone, Chirag Rathod and Raghu KodaliBeginning EJB in Java EE 8https://doi.org/10.1007/978-1-4842-3573-7_13

13. Testing in an Embeddable EJB Container

Jonathan Wetherbee1 , Massimo Nardone2, Chirag Rathod3 and Raghu Kodali4
(1)
San Mateo, California, USA
(2)
Helsinki, Finland
(3)
Jayanagar I Blk, India
(4)
Cupertino, California, USA
 

As with all mission-critical software, EJB components must be well tested before they are deployed into a production environment. The finest level of granularity in an EJB is its method; so proper unit tests must test each method of each EJB in isolation. For stateless Session beans, this is typically sufficient. Because ...

Get Beginning EJB in Java EE 8: Building Applications with Enterprise JavaBeans now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.