Peter Shillan wrote:
> 
> Hi All,
> 
> I downloaded Ken's jBoss stuff for the R M-H examples. I built everything,
> but got a client error so made the simplest client I could make, just to
> create a bean. I got the same error. I try to create a cabin bean, and I get
> the following, server-side and client-side respectively. jBoss looks OK, but
> the client is not!
> 
> I have CVS from about 4hrs ago, so I should be current(-ish!!).
> 
> Peter.
> 

Hi!

I tried it, and ended up with the same result. This comes from
com.titan.cabin.CabinBean.ejbCreate():

    public CabinPK ejbCreate(int id){
        this.id = id;
        return null;
    }

The return type is the type of the bean's primary key (CabinPK, which
only contains an int), but the method returns null.  Is this legal?  (In
testbeans for example, the ejbCreate method for EntityPKBean returns the
bean's PK.)

Sebastien


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to