Alrighty! I got it working
Loaded the root context at boot time of the servlet context with
Code:
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<servlet>
<servlet-name>context</servlet-name>
<servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
Now ya don't need both, it'll actually give you an error when it boots. I haven't decided which is the better one to get rid of b/c now i have other servlets that are #2 in the load-on-startup queue.
Then, I have an EJB in that spring container, the delegate object that calls it:
Code:
<jee:local-slsb id="mySuperSearchWorker" jndi-name="ejb/com/cgi/psh/fid/fidentrysearch/SuperSearchWorkerHome"
business-interface="com.cgi.psh.fid.fidentrysearch.ISuperSearchFieldRetriever"/>
<bean id="mySuperSearchDelegate" class="com.cgi.psh.fid.fidentrysearch.SuperSearchDelegate">
<property name="mySuperSearchWorker" ref="mySuperSearchWorker"/>
</bean>
I followed their instructions with the EJB and I got the errors about "is not a local SLSB"... I read online about lots of people having the same problem. It was having problems in LocalSlsbInvokerInterceptor and that thing's abstract parent because the EJB spec says return EJBObject from the home interface when create method called, NOT EJBLocalObject!!! Silly spring guys. Anyhow, I patched those files and made it work now =). Here's my version of those files, got it to work in RAD with websphere 6.1... Not sure how but I will try to figure out a way to submit to the bug database or requests for change or whatnot. It is DEFINITELY BROKEN!