• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

primitive data types in RMI / EJB

 
Suresh Kumar
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In RMI/EJB, generally, any object that implements Serializable interface be used as arguments / return types in a method.

Can the primitive data types(int,short,float,etc) be used as arguments / return types in a method in RMI as well as in business methods of EJB ?

Thanks in Advance.

Thanks

Suresh
 
suekar meredilko
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
YES.
 
Rafael Tabosa
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
primitive types are serializable, then may be used.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic