Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

return type of ejbSelect method

 
Ramakrishnan Ponmudi
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
select methods can return remote/local component interface, primitive, collection/set of either one. if i return a single Remote/Local component interface from a select method, the syntax that i used is correct or not?

public abstract Order ejbSelectOrderByValue(String value) throws FinderException;
public abstract OrderLocal ejbSelectOrderByValue(String value) throws FinderException;
 
Muthaiah Ramanathan
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes - correct.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic