• Post Reply Bookmark Topic Watch Topic
  • New Topic

Legal RMI types  RSS feed

 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I admit to a bit of sloth... it's just about time to go home, and I am hoping I can come to work tomorrow and have my answer

One of the requirements for the ejbCreate method is that its parameters be "legal types for Java RMI".

Can anyone tell me if a Collection (or a subclass of Collection) is a legal RMI type? I can't find this info, but again, I've only looked for about 10 minutes.
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The answer for anyone reading is : anything that implements serializable. Which is obvious if I had thought of it for a second more.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!