users
[Top] [All Lists]

Re: [cinjug-users] EJBObject and EJBLocalIObject interfaces

To: esumerfd@xxxxxxxxxxxxxx
Subject: Re: [cinjug-users] EJBObject and EJBLocalIObject interfaces
From: "Keshav Kode" <keshav.kode@xxxxxxxxx>
Date: Wed, 13 Dec 2006 01:51:12 -0500
Cc: "users@xxxxxxxxxx" <users@xxxxxxxxxx>
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:to:subject:cc:in-reply-to:mime-version:content-type:references; b=dW9l+rflD4Y9dFBNJXgoe0EAdiAFj5tmtWCBM/iX0X6Nbbxu5yVGj3cxi/qK0yjBksCu/FBA++6Kcfb03bV7TvRchfAMG8l9kZyX0CxZ5KLYNnoId+BU3At+wd7QGO0Iu2Rl9YUhYdfXRknUMpfjNsoQjOHioFBtDnZNSj3Y0kQ=
In-reply-to: <6a216ba20612111527m4a8d8806j1531d3926cd2b857@mail.gmail.com>
Mailing-list: contact users-help@cinjug.org; run by ezmlm
References: <6a216ba20612111527m4a8d8806j1531d3926cd2b857@mail.gmail.com>
As I see it you have 3 potential options:
 
1) use something like xdoclet to generate interfaces
2) move to EJB3
 
Hope this helps.
Keshav Kode
 


On 12/11/06, Edward Sumerfield <esumerfd@xxxxxxxxxxxxxx> wrote:
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

---------
You may unsubscribe from this mailing list
by sending a blank email addressed to:
users-unsubscribe@xxxxxxxxxx

--
Find additional help by sending a blank email
addressed to:
users-help@xxxxxxxxxx




--
Thank you,
Keshav Kode
Keshav.Kode@xxxxxxxxx
<Prev in Thread] Current Thread [Next in Thread>