I am currently using my own customized EJB3InjectInterceptor for Websphere application server (It only injects local beans as I do not use remote in my application). Now seeing that Jeromy is working on a new Interceptor, I wonder if all the servers follow the same lookup pattern. I know that in websphere you can look up a local session bean using: ejblocal:<fully qualified class name> If the lookup pattern is the same among all the servers then having an interceptor that does the injection regardless of the server used is a great idea. Jeromy Evans schrieb: > Alexander Baetz wrote: >> Hi, >> >> i'm currently working on a new Interceptor for EJB Injection on >> Actions. I allready extendet it to work on fields and methods. But >> since i dont like to make my own Annotation type i wanted to use the >> javax.ejb.ejb anotation. But there is a small problem with that: >> >> the annotation used by the ejb3-plugin for struts 2 has a field that >> determines if the bean is statefull or stateless. I don't have this >> bean, so how do i determine for the injection if the bean is statefull? >> > > I'm not familiar with the plugin, but why does it need to know whether > the bean is statefull or stateless? I don't think that should affect > the lookup or injection into the action, should it? Only the > Container that instantiates the bean and provides the instance cares, > doesn't it?
__________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at http://ca.toolbar.yahoo.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]