test « ejb « Java Enterprise Q&A





1. Any good open-source load / stress tools to test EJBs?    stackoverflow.com

There are a number of commercial offerings that I've come across but nothing open-source. I realise that you could do something simiilar with JUnit / JMeter but I'm looking for something a ...

2. Testing EJB 3.0 components    stackoverflow.com

I've got a couple of questions concerning the integrated testing EJB 3.0 components using JUnit. In your JUnit tests you can inject to session beans resource-local entity managers and therefore "simulate" ...

3. Testing EJB2.1 to EJB3 migration    stackoverflow.com

We would like to migrate an application written using EJB2.1 beans (both Entity and Sessions beans) to EJB3 to improve on maintanance and use new features in the EJB3 spec. How would ...

4. How to easily test a EJB using JUnit    stackoverflow.com

I want to test an enterprise java bean (that should later be deployed to a JBoss server) using JUnit. But I don't exactly know how tools I can use for this. ...

5. When and why to use Mocking when testing EJBs    stackoverflow.com

as appears in my question, I am confused about when and why to use mock objects when testing ejbs. I am using plain JUnit and I find it works find with me, ...

6. Best Mock object framework for EJB junit tests    stackoverflow.com

Which mocking framework is preferred for testing EJB's (specifically Message Driven Beans), I'm looking at MockObjects, easyMock, MockEJB and mockito but open all. I've ...

7. EJB request/response proxies    stackoverflow.com

Is there a known product/project serving as an intercepting proxy for ejb requests? My requirement is to intercept EJB requests and write request/response data in a cache. Whenever the requested EJB ...

8. Mocking EJB injection in tests    stackoverflow.com

Whenever I want to test a class which uses resource injection I end up including a constructor that will only be used within the test:

public class A {

    ...

9. Problems running integration test EJB    stackoverflow.com

Code from Enterprise JavaBeans 3.1 chapter 4. If you need more code or information just ask!

public class SimpleCalculatorIntegrationTest {

    private static SimpleCalculatorBean calc;
    private static ...





10. Testing EJBs    forums.netbeans.org

Posted: Mon Jul 13, 2009 1:43 pm Post subject: Testing EJBs I'm looking for a way to unit test EJBs in NB. If you create an EJB project, ...

11. how can i test an EJB using netbeans?    forums.netbeans.org

I have been struggling trying to test a super simple EJB project in netbeans. i have tried several examples form my java book, and an even simpler example i found online (http://javadude.wordpress.com/2010/02/22/tutorial-most-simple-test-application-for-embedded-glassfish-netbeans-hudson/). this is a super basic EJB that only just adds two numbers.. that's it!! it runs fine, but no matter how i try to test it, nothing works. even ...

12. test ejb from Main    forums.netbeans.org