-
How to unit test EJB (4 messages)
- Posted by: Kamal Mettananda
- Posted on: July 19 2006 01:52 EDT
Hi all, I need to find a way to unit test EJBs. What I found so far... 1. JUnit - suitable for testing on client machine, not on the server. 2. Cactus - not having a EJB redirector yet. Any idea on this? Thanks in advance. Kamal MettanandaThreaded Messages (4)
- Re: How to unit test EJB by Sander Nieuwenhuizen on July 19 2006 06:56 EDT
- Re: How to unit test EJB by Kamal Mettananda on July 20 2006 01:44 EDT
-
Re: How to unit test EJB by Sander Nieuwenhuizen on July 20 2006 04:39 EDT
- Re: How to unit test EJB by Kamal Mettananda on July 21 2006 12:35 EDT
-
Re: How to unit test EJB by Sander Nieuwenhuizen on July 20 2006 04:39 EDT
- Re: How to unit test EJB by Kamal Mettananda on July 20 2006 01:44 EDT
-
Re: How to unit test EJB[ Go to top ]
- Posted by: Sander Nieuwenhuizen
- Posted on: July 19 2006 06:56 EDT
- in response to Kamal Mettananda
Kamal, Take a look at mockejb (http://www.mockejb.org). The site contains various examples how to test your EJB (Session, Entity or MDB). Good luck, Sander -
Re: How to unit test EJB[ Go to top ]
- Posted by: Kamal Mettananda
- Posted on: July 20 2006 01:44 EDT
- in response to Sander Nieuwenhuizen
Thanks Sander. But it seems that they have stopped development of that mockejb project from 2004 with 2 beta releases. I tried the mailing list but a auto reply came saying that he is out of office. Any ideas... Have you used it? How about these beta releases? How about the support from them? Regards, Kamal Mettananda -
Re: How to unit test EJB[ Go to top ]
- Posted by: Sander Nieuwenhuizen
- Posted on: July 20 2006 16:39 EDT
- in response to Kamal Mettananda
I've tried it, would not recommend you to use it if I were not familiar with it ;) I did some MDB unit testing with the project and that worked really well. As said, check out the examples on the website. They will probably be of great help. -
Re: How to unit test EJB[ Go to top ]
- Posted by: Kamal Mettananda
- Posted on: July 21 2006 00:35 EDT
- in response to Sander Nieuwenhuizen
Ok Sander, thanks. I'll try it.