• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

SF session bean ejbPassivation nuance

 
Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Container guarantees saving of the following field types during passivation even though they are non-serializable fields as long as they are not transient.
1.Local / remote component and home interfaces (even if the objects / stubs are not serializable)
2.A SessionContext object
3.A bean�s special JNDI context or any of its subcontexts
4.The UserTransaction interface which can be got from the SessionContext
5. A resource manager connection factory like a instance of javax.sql.DataSource

QA) (Does 5 include all resource manager connection factories- [javax.sql.DataSource / javax.jms.QueueConnectionFactory /javax.jms.TopicConnectionFactory / javax.mail.Session / javax.net.URL].

QB) What of Administered objects (resource environment references) or JMS destinations). Are they excluded like java.sql Connection?
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The answer is Yes for question A. I am not 100% sure on the JMS destinations NOT being passivated on question 2.
 
It is an experimental device that will make my mind that most powerful force on earth! More powerful than this tiny ad!
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic