>>               InitialContext ic = new InitialContext( new Properties() );
>>               CatalogHome home = ( CatalogHome ) ic.lookup("CatalogJNDI");
>>               remote = home.create();
>>               Item it = remote.getItem("1"); // Place of Error. Commenting
>> this avoids the Error. But this is the basic business method.
>>               remote.remove();

you're missing something. You should have:

CatalogHome home = (CatalogHome)
PortableRemoteObject.narrow(ic.lookup("CatalogJNDI"), CatalogHome.class);



Jasper Fontaine
<[EMAIL PROTECTED]>  (+31621892725)

===========================================================================
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