Correct me if i'm wrong but afaik beans (with bean-name) are defined via
@stateless and @statefull and @entity
@EJB (in servelett context) does the injection for me.
and this doesnt work with struts.
based on the code from the plugin i thought i would have take care of
the instances. but maybe this code was only inserted to save some
lookups (otherwise i would do the lookup everytime).
If thats the case it begs the question if the lookup is that slow.
Greetings
Alex
Lukasz Lenart schrieb:
make my own Annotation type i wanted to use the javax.ejb.ejb anotation. But
Maybe it will be better to use @Inject from xwork or something? The
javax.ejb.ejb annotation are used to define EJBs itself not to be used
for injecting them.
Regards
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]