| Author |
Please point out mistake while deploying EJB3.1 - No-Interface, 2.1 and 3.1 views together ??
|
Anirudh Gupta
Greenhorn
Joined: Dec 08, 2010
Posts: 20
|
|
Can an EJB expose a 3.1 Business Component Interface(Remote+Local), a 2.1 Interface(Remote+Local) and a No-Interface view together?
I am having trouble deploying an EJB which exposes all 3 views in Weblogic 12.1.1.
The server keeps throwing an Exception.
My deployed EJB is simple and is as below. The gotToDoOld() method is declared in the 2.1 remote component interface.
The declaration of the Remote interface has been been made in the ejb-jar.xml. The Home interface has been declared
in the bean class also as can be observed in the code below.
Can some one point out the mistake I am making
Exception,
EJB,
|
 |
James Boswell
Ranch Hand
Joined: Nov 09, 2011
Posts: 657
|
|
Remove the throws clause here. A RemoteException should only be thrown in a remote interface, not the implementing class.
|
 |
 |
|
|
subject: Please point out mistake while deploying EJB3.1 - No-Interface, 2.1 and 3.1 views together ??
|
|
|