I'm not sure I understand enough to even ask the question coherently, but here it goes...
Here at work, we are required to use Spring to "inject" our objects into our Stateless Session Beans. We have a base class in our internal framework that we are supposed to extend for all beans that are "configurable using Spring".
I'm familiar with the configuration xml file, and how you list out all the beans in it... but I'm having trouble connecting the dots.
A "Hello World!" type explanation for this would be perfect.
Well, I would suggest looking at that base class. Does it just hold a reference to the ApplicationContext and you are then required to call getBeans() on it yourself to access your Spring Beans. This is probably the implementation. And it probably would be best in the EJB lifecycle method that gets called when the EJB instance is first created. So most likely ejbCreate.
But know that the way you do this is specific to your company and whoever implemented your companies base class, and this is not a Spring class that you are extending, based on what you posted.
Spring does have an AbstractStatelessSessionBean class that you can extend, but it doesn't sound like you guys decided to go that architect/design route. Let us know if it is otherwise.