Can someone throw some light on best-practices/guidelines while writing Unit Tests for Stateless Session EJBs.
Any guidelines such as testing Session EJBs ..
1) which interact with DAOs
2) which interact with EnityBeans
3) which interact with other session beans
Are there any examples/samples on the web for the same ?
Any help is greatly appreciated.
Thanks
-
Unit Testing Session EJBs (4 messages)
- Posted by: Kiran Kumar
- Posted on: May 11 2003 17:17 EDT
Threaded Messages (4)
- Unit Testing Session EJBs by Bhaskar Yallala on May 13 2003 10:12 EDT
- Unit Testing Session EJBs by Kiran Kumar on May 13 2003 13:55 EDT
-
Unit Testing Session EJBs by Aaron Robinson on May 13 2003 02:38 EDT
- Unit Testing Session EJBs by Kiran Kumar on May 15 2003 03:36 EDT
-
Unit Testing Session EJBs by Aaron Robinson on May 13 2003 02:38 EDT
- Unit Testing Session EJBs by Kiran Kumar on May 13 2003 13:55 EDT
-
Unit Testing Session EJBs[ Go to top ]
- Posted by: Bhaskar Yallala
- Posted on: May 13 2003 10:12 EDT
- in response to Kiran Kumar
Use Cactus.
It can test servlets, ejbs etc -
Unit Testing Session EJBs[ Go to top ]
- Posted by: Kiran Kumar
- Posted on: May 13 2003 13:55 EDT
- in response to Bhaskar Yallala
Thanks for your reply.
I am not looking for the framework to be used for testing (like cactus,junitEE etc). What I am looking for is design guidelines while testing session beans.
Thanks -
Unit Testing Session EJBs[ Go to top ]
- Posted by: Aaron Robinson
- Posted on: May 13 2003 14:38 EDT
- in response to Kiran Kumar
Floyd has a good section in his EJB patterns book about testing strategies -
Unit Testing Session EJBs[ Go to top ]
- Posted by: Kiran Kumar
- Posted on: May 15 2003 03:36 EDT
- in response to Aaron Robinson
Thanks,
Chapter 7 in that books covers quite a lot of detail about Unit Testing. It gave me more clarity on my earlier questions and helped me decide my next steps.