• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in spec(reg Session bean's Business interface)

 
Senthil Kumar
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
* A reference to a session bean�s business interface may be passed as a parameter or return value of a business interface method.

This is ok for me.

And the next is what i get confused,
If the reference is to a session bean�s local business interface, the reference may only be passed as a parameter or return value of a local business interface method.

Does it implies that the reference of a local business interface cannot be passed as a parameter and return value at the same time.

please clarify..

regards,
S.S.Senthil
 
Shivani Chandna
Ranch Hand
Posts: 380
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or
If the reference is to a session bean�s local business interface, the reference may only be passed as a parameter or return value of a local business interface method.

Does it implies that the reference of a local business interface cannot be passed as a parameter and return value at the same time.



I understood that :
(a) It can be passed as a parameter and return value at the same time for a Local business interface method.

(b) But reference of local business cannot be passed as a parameter to remote business interface method. Or cannot be returned from remote business interface method...

Need to test this with code though....
 
Senthil Kumar
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it wise to take to take exam just by reading the spec and not practicing it.
Because of the time i have left with ,it is highly improbable to test all i read.

And should we have knowledge in webservices for this exam. Because there is a webservice part in stateless session beans.
[ June 13, 2007: Message edited by: Senthil Kumar SS ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic