Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Get Spring context from EJB3 ?

843833Jan 30 2007
Is it possible to get hold of the Spring context (for IoC and Hibernate support that is already in the application), while using EJB3 ? I guess I'm asking for a way to get hold of the ServletContext, of the HttpSession object to be able to use Spring's

WebApplicationContextUtils.getWebApplicationContext(ServletContext)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 27 2007
Added on Jan 30 2007
0 comments
158 views