• 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 ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

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

 
Greenhorn
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.

Thanks,
Ashwani
 
Sheriff
Posts: 21745
102
Chrome Eclipse IDE Java Spring Ubuntu VI Editor 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.
 
This. Exactly this. This is what my therapist has been talking about. And now with a tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!