• Post Reply Bookmark Topic Watch Topic
  • New Topic

Args for stateless session bean?

 
Mukesh Sehgal
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have little doubt and would appreciate if anyone can clear this one out: Page 125 of HFE says that arguments for stateful session bean must be RMI-IIOP compatible. But what about args for stateless session beans?

Thanks,
Mukesh.
 
Sajid Moinuddin
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If your bean has a remote interface, No matter if it's a stateful/stateless session bean / entity bean , all the arguments / return types of that remote interface must be rmi iiop compatible. Remember, your arguments/return types have to travel over the network...So they better be network portable....

hope it helps.
Sajid
 
Mukesh Sehgal
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thats what I was hoping it should be and thanks for confirming this one.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!