• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Friends help you move. Good friends help you move bodies. This tiny ad will help:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic