tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@visi.com>
Subject Re: cannot use home methods in BMP
Date Wed, 01 Nov 2006 18:45:20 GMT

On Nov 1, 2006, at 9:48 AM, Lothar Piepmeyer wrote:

> Hi,
>
> sorry for  the bandwidth. Maybe the following topic has already been
> discussed several times.
>
>
> I have  the following two types
>
> public interface AccountHome extends EJBHome {
>    .
>    public double getTotalBankValue() throws AccountException,
> RemoteException;
> }
>
>
>
> public class AccountBean implements EntityBean {
> 	public double ejbHomeGetTotalBankValue() throws AccountException
> {
> 		.
> 	}
> }
>

[...]

>     [java] Exception in thread "main"
> java.lang.UnsupportedOperationException: Unkown method: public  
> abstract
> double account.AccountHome.getTotalBankValue() throws
> account.AccountException,java.rmi.RemoteException
>      [java] at
> org.openejb.core.ivm.EjbHomeProxyHandler._invoke 
> (EjbHomeProxyHandler.jav
> a:148)

> I tested several findX or getX methods and they all worked fine. I
> checked the jar-File successfully with the validate option.

Home methods are not supported in OpenEJB 1.0.  They really could be  
though, it'd only take a half a day to get them in.  If this is  
something you'd like I could work on it and put up a build for you.

Let me know.

-David


Mime
View raw message