-
1. Re: What sort of a bean, if any sort of bean, for a custom d
milowe Mar 30, 2005 6:35 AM (in response to bmargulies)Why would you put the read-only resource in a EJB container?
The tomcat setup works just fine. -
2. Re: What sort of a bean, if any sort of bean, for a custom d
bmargulies Mar 30, 2005 7:15 AM (in response to bmargulies)The resource has to be accessible to an application that is built as a pile of stateless session beans. They need to query this thing. Adding an extra protocol hop to another server is undesirable.
-
3. Re: What sort of a bean, if any sort of bean, for a custom d
milowe Mar 30, 2005 9:45 AM (in response to bmargulies)You dont provide that much background info so I give you a genric solution:
Wrap your service in a MBean. -
4. Re: What sort of a bean, if any sort of bean, for a custom d
jamesstrachan Mar 30, 2005 9:50 AM (in response to bmargulies)Also see this discussion on February 14th. in the design patterns area :-
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=60216
James -
5. Re: What sort of a bean, if any sort of bean, for a custom d
bmargulies Mar 30, 2005 10:12 AM (in response to bmargulies)Well, I have three questions about mbeans as an approach:
1) Can an MBean have JNI.
2) Can an MBean register a JNDI resource.
3) Can the results be relatively portable to IBM Websphere.
#2 is also asked in the other thread you referenced.