Archive

Posts Tagged ‘ejb3.1’

How to use embedded glassfish from junit?

March 9th, 2010 No comments

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. Read more…

Share

How to test EJB3.1 with embedded container?

March 8th, 2010 6 comments

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 Read more…

Share
Categories: Java Tags: , , ,

How to create EJB 3.1

March 7th, 2010 No comments

This post describes how to create an simple Entity and Session bean with EJB3.1. As some of you know EJB 3.1 is ready to use and makes the world much easier for the developers. Read more…

Share
Categories: Java Tags: , ,