wood burning stoves
The moose likes EJB and other Java EE Technologies and the fly likes Mocking JNDI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Mocking JNDI" Watch "Mocking JNDI" New topic

Mocking JNDI

Andy Fisher

Joined: Jan 15, 2003
Posts: 20
I'm trying to use Mockrunner in a container to stub some JMS call, but am running into problems with the JNDI lookups due to the fact that the Mockrunner classes aren't Serializable.

I'm therefore attempting to copy all of the "container-set" bindings into Mockrunner's "mock" InitialContext.

Does anyone know if this is possible?
I agree. Here's the link: http://aspose.com/file-tools
subject: Mocking JNDI
jQuery in Action, 3rd edition