I use Seam in Glassfish and I'm getting pretty tired of
<ejb-local-ref>
<ejb-ref-name>ear-name/ExampleBean/local</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local>Example</local>
<ejb-link>ExampleBean</ejb-link>
</ejb-local-ref>
for every session bean in my application. As far as I know this is
necessary. Any ideas about how this could be automated, perhaps
something during deployment or app start up?