Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transcation attribute in BMP

 
Sachin Dimble
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Morning Ranchers!!!

I have BMP of three methods deposit,withdraw,transfer having trans attr as-

deposits--->Supports
withdraw--->Never
transfer---->Supports

I am not maintaining any client transcation. Client will simply make call to desosits & withdraw. But when i try to run client code for above secenario my server gets shut down, throwing huge exceptions. If i change attr of deposite to Never it works fine.....My q is why trans attr are not working according to their specification???

Thanx.
Sachin!!!
 
Greg Charles
Sheriff
Posts: 3002
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your server shuts down? At worst, it should throw an exception back to the client. I think we need more information.

What server is it?
When does it shutdown? When you deploy the bean or when you call the method?
Are you saying tranfer is OK with the "supports" attribute, but deposit is not?
How can an entity bean do a transfer anyway?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic