I have some doubts -

1. My EJB client is doing,
Person person = getHome().findByPrimaryKey(new
PersonPK("1")); where Person is the remote interface.
And, in my bean class, ejbFindByPrimaryKey method is
returning PersonPK. This is working fine but i don,t
understand why, because return types in the client and
the bean class are different. In books and sample code
its written like this.

2. I am writing a EJB using BMP with one of the
business methods as setName(String). In my client when
I do
Person person = getHome().findByPrimaryKey(new
PersonPK("1"));
person.setName("somename"); I cannot see the database
getting updated. My ejbStore method has the code to
update the database. I don,t know why this is not
working.

Regards
-mukul

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to