• Post Reply Bookmark Topic Watch Topic
  • New Topic

Session Fascade & security & transaction or is there a overhead using LocalInterfaces

 
Maximilian Trenks
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody tell me what happens with security when using a Session Fascade ? I identify myself to the Session Fascade, does it propagate the security information to e.g. an entity bean that is used within the Fascade ?
What happens when the Session Fascade starts a transaction ? Does the Entity Bean also start a transaction (RequiredNew) ?
I want to identify any possible existing overhead that occurs when using Local interfaces.
Thanx for any replies,
Max
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Maximilian Trenks:
Can anybody tell me what happens with security when using a Session Fascade ? I identify myself to the Session Fascade, does it propagate the security information to e.g. an entity bean that is used within the Fascade ?
What happens when the Session Fascade starts a transaction ? Does the Entity Bean also start a transaction (RequiredNew) ?
I want to identify any possible existing overhead that occurs when using Local interfaces.
Thanx for any replies,
Max

(1) User credentials are flowed from bean to bean with the calls.
(2) The transaction will be flowed as well if the Entity beans use REQUIRED. If you use REQUIRESNEW then they will start their own transactions (probably not what you want).
Kyle
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!