• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Testing EJB general suggestions

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic