• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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: 38508
653
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!