• Post Reply Bookmark Topic Watch Topic
  • New Topic

Return value  RSS feed

 
Tmmet Johnson
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am new to EJBs.I have stateless session beans.Can anyone say me whether it is ok to have return value as int in an ejb method ?
Also, can I call a singleton class's method from a bean method ?

Thanks in advance,
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Tmmet Johnson:
Hi,
I am new to EJBs.I have stateless session beans.Can anyone say me whether it is ok to have return value as int in an ejb method ?


Yes, it perfectly fine.

Originally posted by Tmmet Johnson:
Also, can I call a singleton class's method from a bean method ?


Yes, you can.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!