5 Replies Latest reply on Mar 30, 2005 10:12 AM by bmargulies

    What sort of a bean, if any sort of bean, for a custom data

    bmargulies Newbie

      I'm trying to determine what the least awful J2EE/EJB pattern is for the following:

      I have a large, read-only resource. There should be one in a server. It provides a common service. There is JNI under it, so it has to be in one, common, classloader.

      I've successfully deployed it in plain old Tomcat by putting the implementation in the shared classloader and setting up a JNDI name for it via Tomcat's global resource declarations.

      In J2EE-land, should this be JCA, or can it be a singleton EJB of some kind?