• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
  • Tim Holloway
  • Carey Brown
  • salvin francis

What is the replacement for org.springframework.ejb.support package in Spring 5.1.3

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are migrating our project from Spring 3.1.0 to Spring 5.1.3 But we observerd that pacakge org.springframework.ejb.support has been discontinued in 5.1.3 There are classes like org.springframework.ejb.support.AbstractStatelessSessionBean that we are using. I tried searching for its replacement in Spring 5.1.3 but couldn't find any good article on to tackle this issue. Can anyone provide some guidance on what is the replacement for this package, especially org.springframework.ejb.support.AbstractStatelessSessionBean.java in Spring 5.1.3?

Thanks, Ashwani

I tried looking at the documentation available online. But couldn't find any helpful article.

Posts: 21784
Eclipse IDE Spring VI Editor Chrome Java Ubuntu Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!

It seems there is no replacement, and that makes sense to be honest. I found https://docs.spring.io/spring/docs/3.2.4.RELEASE_to_4.0.0.M3/Spring%20Framework%203.2.4.RELEASE/org/springframework/ejb/support/AbstractStatelessSessionBean.html which mentions that the class is to support EJB 2.x beans. Those should no longer be used anywhere that is not ancient legacy code, and even in Spring 3.2 this class and all other classes / interfaces in the same package were deprecated; see https://docs.spring.io/spring/docs/3.2.4.RELEASE_to_4.0.0.M3/Spring%20Framework%203.2.4.RELEASE/org/springframework/ejb/support/package-summary.html.

You probably have to rewrite some code this time. Since you're going up two major versions, that shouldn't come as a surprise though.
Die Fledermaus does not fear such a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!