• Post Reply Bookmark Topic Watch Topic
  • New Topic

Testing EJB general suggestions  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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?

Regards
 
author & internet detective
Marshal
Posts: 37898
595
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kevin,
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.
 
She still doesn't approve of my superhero lifestyle. Or this shameless plug:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!