• Post Reply Bookmark Topic Watch Topic
  • New Topic

Entity Beans  RSS feed

 
bobby chaurasia
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the details that you need can be obtained by the finder methods, and the select methods, what happens with the remote interface. I mean is it okay if the remote interface contains no methods ?
If its okay, in that case how do you invoke the methods on the bean as we can invoke only business methods on the bean ?
Thanks
[ May 14, 2003: Message edited by: bobby chaurasia ]
 
Naidu Jitta
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If u don't specify the methods in the remote interface U can' access them from the bean. B'cos client does'nt know unless and until it is specfied in the remote interface, what methods are present in the bean.
Is it wht u queried for?
 
Naidu Jitta
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey its me again ....
There was a spelling mistazke in the above reply.
u can't access the methods that are not specified in the remote interface.
Naidu
 
bobby chaurasia
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I found the answer. You could specify findBy....() methods in the home interface and invoke them from the client. So you could do with no methods in the remote interface. Ofcourse you would have to incorporate the code into the ejb-jar file to specify the details of the select statement.
Cheers !
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!