Hello,
My environment is:
Using JBoss ver. 4.2.1 and %JAVA_HOME% IS 'C:\Program Files\Java\jdk1.5.0_12', my JRE is 'java version "1.6.0_02" ' which should not cause any harm. Reading Debu Panda's article on DI from 2006 on
ONJava.
Still, having problem using the @EJB.
The example in Pandas article ( page 4 ) is like this:
He never tells where the ProcessManager is coming from, it must be from a ejb-jar.xml ( or another DD ) - but how is the syntax ?
Another example:
From O'Reillys workbook (Enterprise Javabeans 3.0, 5th edition ) there is an example of a Stateless 'TravelagentBean' that is using 'ProcessPaymentBean' which implements both a Local and a Remote interface ( ch. 11_5 ).
The 'TravelAgentBean' is using 'ProcessPaymentBean', and the code within the 'TravelAgentBean' is like this:
and the ejb-jar.xml is like this:
But the syntax is not correct.
I am getting the following error:
And finally:
is there an obvious answer here or am I totally missing the point ?
regards, i
ps.
My ejb-jar.xml starts with these lines:
Is this the correct information to my JBoss ?
ds.
[ October 12, 2007: Message edited by: ing erl ]
[ October 12, 2007: Message edited by: ing erl ]
[ October 12, 2007: Message edited by: ing erl ]
[ October 12, 2007: Message edited by: ing erl ]
[ October 12, 2007: Message edited by: ing erl ]