Kinster Roonie

Greenhorn
+ Follow
since Aug 09, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kinster Roonie

Well spotted

So the MovieBean can have BOTH Local and Remote Interfaces?
[ August 26, 2004: Message edited by: Kinster Roonie ]
Hi, on page 397 of the HFEJB Book it shows the following in ejbHomeListAllMovies()

while(ita.hasNext())
{
Movie movie = (Movie) ita.next();
}

Is Movie the remote component or is it a value object? Are remote components allowed to be used in this way within the bean itself?

cheers
Please help

I've looked at previous posts and I still can't fix this. The J2EE server is using it's own JNDI.properties that contain com.sun.enterprise.naming.
SerialInitContextFactory. But I get the exception below:

C:\projects\advice>javac AdviceClient.java

C:\projects\advice>pause
Press any key to continue . . .

C:\projects\advice>java -Djava.naming.factory.initial=com.sun.enterprise.naming.
SerialInitContextFactory AdviceClient
java.rmi.RemoteException: CORBA BAD_OPERATION 0 No; nested exception is:
org.omg.CORBA.BAD_OPERATION: minor code: 0 completed: No
org.omg.CORBA.BAD_OPERATION: minor code: 0 completed: No
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at com.sun.corba.ee.internal.iiop.messages.ReplyMessage_1_2.getSystemExc
eption(ReplyMessage_1_2.java:93)
at com.sun.corba.ee.internal.iiop.ClientResponseImpl.getSystemException(
ClientResponseImpl.java:108)
at com.sun.corba.ee.internal.POA.GenericPOAClientSC.invoke(GenericPOACli
entSC.java:132)
at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
at headfirst._Advice_Stub.getAdvice(Unknown Source)
at AdviceClient.go(AdviceClient.java:30)
at AdviceClient.main(AdviceClient.java:12)
C:\projects\advice>
Are there any other EJB books worth reading?

Regards
I got 73% after reading the orange book for 3 weeks.
19 years ago