I am looking for a way to test services in an EJB 2 Environment. The application is running on an Bea Weblogic on a remote server cause it depends on some Queues which are only available from that server. At the moment I ain't got no other way to test the application than to deploy it (takes app. 8 minutes) and then test it in Firefox.
I am looking for a way to test these services (which depend on the queues) with a less time consuming approach. One way might be in some way to deploy a test-war which invokes the service methods. Does anybody have some experience or ideas concerning this problem?
Welcome to JavaRanch! Take a look at Cactus - it is a unit testing framework via servlet.
Also, can you isolate simpler parts of it to test locally where there will be a faster deployment? For example, once the message gets off the queues, it presumably calls a session bean that needs testing.