In my previous post I explaind that with the new EJB you can use an embedded EJB container to test your EJB. But there is also another way and that is to use embedded glassfish that is started from inside an junit. The nice thing here is that it you can start an embedded glassfish with the container you need, with EJB or with WEB or both if you need. Continue reading
Tag Archives: embedded
How to test EJB3.1 with embedded container?
This is how you can test your EJB3.1 or the one I made here using an new embedded container provided in the new EJB. You can download the full package to test this here Continue reading