users
[Top] [All Lists]

EJBObject and EJBLocalIObject interfaces

To: "users@xxxxxxxxxx" <users@xxxxxxxxxx>
Subject: EJBObject and EJBLocalIObject interfaces
From: "Edward Sumerfield" <esumerfd@xxxxxxxxxxxxxx>
Date: Mon, 11 Dec 2006 18:27:30 -0500
Delivered-to: mailing list users@cinjug.org
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=V1DqTRo/ombU+DLQNndslcuD/vTQ1o3SQZDNW9+Urqy8Br0Sws5u7iuchSIVkQvO5YNKNhBwFtzGUPDoyIXRnaBiMczEtT09zTr+iZ0vqKnuSY+B706iK9n2JBJd0PRYjUcR4SbsHHw/kWJQwYR9LbQgYD5x7HO0Vd81ffA1gas=
Mailing-list: contact users-help@cinjug.org; run by ezmlm
Reply-to: esumerfd@xxxxxxxxxxxxxx
Sender: esumerfd@xxxxxxxxx
Anyone have any fancy ways of removing the duplication between these
two interfaces? One needs to throw the RemoteException and the local
does not. Makes sence in theory but it means duping every method in
every bean.

I could go code generation, copy from EJBObject to EJBLocalObject and
filter out the "throws RemoteException" string. Should be a simple ant
task but someone must have solved this inefficiency already?

--
Ed

<Prev in Thread] Current Thread [Next in Thread>