Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Args for stateless session bean?  RSS feed

 
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!