Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

Galder Zamarre�o

Greenhorn
+ Follow
since Apr 16, 2004
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 Galder Zamarre�o

I just wanted to ask, is the JMX API (J2EE Management API) part of the EJB 2.1 specification? is it supported?
Thanks to Valentin for the cheat sheets. They're very useful!
15 years ago
Thanks very much for the quick response!!
If you have a finder method that returns a remote component interface, does the result needs to be narrowed?
i understand it now. that's a very shuttle difference isn't it? that can really confuse you.
I have been looking into the cheat sheets available through JavaRanch and i have a question about them:

They seem to indicate that in BMT Stateless Session beans or Message Driven Beans, Transaction details (via getUserTransaction) are available through ejbCreate() and ejbRemove()

I think that this is wrong, can anyone confirm or deny this?

The reason why i think this is wrong is that bean creation and removal is not dependant on any of the user's action and therefore, does not make sense to be able to delimitate a transaction when you do not even know when it happens.

Thanks for your help
try typing this:
javac -classpath "{$CLASSPATH};AdviceAppClient.jar" AdviceClient.java
i think the main problem with your compilation is that you use a : instead ;
even though the book uses the : symbol, i have never seen it before as a path separator.
good luck
Found the bug that is related to this error and fixed it!!! Anyone looking for more infor can find it in:
https://coderanch.com/t/312836/EJB-JEE/java/Head-First-EJB-st-tut
Thanks for the answer Kathy!
I have done the Advice Bean tutorial and have no problem deploying the AdviceApp bean (it has been verified and it was successfull). However, when i run the Advice Client i get the following exception:
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(Class.java:232)
at com.sun.corba.ee.internal.iiop.messages.ReplyMessage_1_2.getSystemException(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(GenericPOAClientSC.java:132)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:454)
at headfirst._Advice_Stub.getAdvice(Unknown Source)
at AdviceClient.go(AdviceClient.java:17)
at AdviceClient.main(AdviceClient.java:24)
I am a bit confused, because i don't understand what it the problem and why this exception is kicking and what exactly it means.
Thanks for your help
Thanks very much Joyce. Help and clarification much appreciated
I was reading the 'Head First EJB' book and it says that the SCBCD exam is based in J2EE 1.3. My question is whether it refers specifically to J2EE 1.3 or is it 1.3.1 better to look into? What's the difference between them? Apparently both are based on EJB 2.0.
Which one is recommeded? 1.3 or 1.3.1?
Thanks!
Yesterday i passed SCJP 1.4 exam with 95%. I just missed 3 questions: 1 relqated to threads, another one related to Laguage fundatmentals and one related to Collections. I am pretty happy for that and moreover i think i have beaten the highest score in the company i work!! :-DD
Same to Svitlana Dukhovna, i bought and read Kathy and Bert's book which is fantastic(i am now sitting in the sun drinking a margaritha!! ;-))> Thank you very much for writing a very usefull book.
Something that i would like to mention is that the MasterExam questions are too similar to the ones at the end of the chapters(sometimes the questions are identical but using different names or values). I was expecting that the master exam would have different questions. In any case, they where very helpfulll.
Also, same to Svitlana Dukhovna, i did Marcus Green's exam and the javacetificate.com one, and from my point of view this ones were the best ones on the net.
Next: SCBCD
16 years ago