Frank Malaga

Greenhorn
+ Follow
since Apr 18, 2003
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 Frank Malaga

Though I know only oreillys book in excerpts, as what I have read was really good. But as you dont have any experience in EJB as you said, I would recommend you HFEJB because it covers the concepts well focussing primary on the topics needed for certification.
[ January 05, 2006: Message edited by: Frank Malaga ]
18 years ago
This morning I passed the SCBCD with 97%, a result which I am very satisfied of.

I wanted to finish this exam already like two years ago, but always pushed it forward up until the day that my voucher would expire. Which would have been in some days. So I knew what to do on christmas holidays

Anyway, prior to the exam I had some (practical) knowledge on EJB, but mainy session beans. For exam preparation I used the following resources:

- HFEJB - which is, all in all, a good book for grasping all concepts, but it also leaves some room for improvement. I hope a second edition will be published in the future as the errata is quite long by now. What also should be incorporated into a possible next edition are the answers to the "Sharpen your pencil" questions...yes, I know that they can be downloaded but as far as I remember the PDFs that can be downloaded do not contain all the questions that are present in the book. What could also be improved are the mock exams for the single chapters as there often are questions touching topics that are first introduced in the chapters that will follow - which is quiet annoying when you read the book for the first time and read it chapter by chapter

- the tutorial from developerworks, which is a good summary of all objectives, even though there are some minor errors in it

- Milkalai Zalkin notes, which are very good. As somebody already said, this is what you might want to read if you want a very deep level of details without wanting to go through the spec. Yet, if you do not have any previous knowledge of EJB, this tutorial might not be a good point to start. Read HFEJB first before jumping into this one

- I had some readings in the specification as well, but just on some selected chapters

In all the mock exams I did I never scored as high as on the final one - but this might be due to the fact that you are not as concentrated at home compared to when you do "the real thing". On SCJP I also had a score I never reached in the mocks.

To sum it up - the real certification is not easy, you will have to be very familiar with EJB concepts in detail, but there are resources which will help you getting that level of knowledge.

Now that I have SCJP, SCJD and SCBCD I am thinking about moving to OMG�s UML certification or some IBM certfication...we�ll see.

As I don�t remember from SCJP - how long will it approximately take for Sun to post the result in the certification database?
18 years ago
How come (according to HFEJB) the bean can get a reference to it�s EJBObject through the SessionContext in the ejbCreate method when an EJBObject is first associated with the bean upon the first business method call...

pages involved:224-228
So, why do we already have a WebComponent Developer for J2EE 1.4?
Does anybody know when an updated SCBCD covering EJB 2.1 will be launched? Seeing SCWCD 1.4 already on the streets, I don�t think it will take too long...

Thanx for any information.
After having tried to get the AdviceApp running on the new J2EE 1.4 for some time, I gave up frustrated. Making the application run on 1.3.1 was then really no problem, just a matter of some minutes if you follow the steps in the book...and if you know how to fix the corba bad operation exception.
Just out of curiosity: has anybody successfully deployed and run the application on J2EE 1.4??? I always got a javax.naming.CommunicationException: Can't find SerialContextProvider and couldn�t find anything on the net that helped solving the problem.
---------------------------------------------------------------------------
SCJP (96%)
SCJD (154/156)
Ok, after reading some previous posting I recognized appserv-rt.jar(including jndi.properties) not being in classpath caused the error.
Now, when trying to start the app I get the following expception. Does this sound familiar to anybody?
29.11.2003 20:55:23 com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl <init>
WARNUNG: ORBUTIL.connectFailure
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:1739)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:1757)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<init>(SocketFactoryConnectionImpl.java:74)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.createConnection(SocketFactoryContactInfoImpl.java:88)
at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:146)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:121)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:212)
at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:58)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at AdviceClient.go(AdviceClient.java:19)
at AdviceClient.main(AdviceClient.java:34)
Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:390)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<init>(SocketFactoryConnectionImpl.java:58)
... 11 more
Caused by: java.net.ConnectException: Connection refused: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:381)
... 12 more
javax.naming.CommunicationException: Can't find SerialContextProvider [Root exception is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No]
at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:66)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at AdviceClient.go(AdviceClient.java:19)
at AdviceClient.main(AdviceClient.java:34)
Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:1739)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:1757)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<init>(SocketFactoryConnectionImpl.java:74)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.createConnection(SocketFactoryContactInfoImpl.java:88)
at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:146)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:121)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:212)
at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:58)
... 4 more
Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:390)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<init>(SocketFactoryConnectionImpl.java:58)
... 11 more
Caused by: java.net.ConnectException: Connection refused: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:381)
... 12 more
Ok, after reading some previous posting I recognized appserv-rt.jar(including jndi.properties) not being in classpath caused the error.
Now, when trying to start the app I get the following expception. Does this sound familiar to anybody?
29.11.2003 20:55:23 com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl <init>
WARNUNG: ORBUTIL.connectFailure
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:1739)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:1757)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<init>(SocketFactoryConnectionImpl.java:74)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.createConnection(SocketFactoryContactInfoImpl.java:88)
at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:146)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:121)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:212)
at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:58)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at AdviceClient.go(AdviceClient.java:19)
at AdviceClient.main(AdviceClient.java:34)
Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:390)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<init>(SocketFactoryConnectionImpl.java:58)
... 11 more
Caused by: java.net.ConnectException: Connection refused: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:381)
... 12 more
javax.naming.CommunicationException: Can't find SerialContextProvider [Root exception is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No]
at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:66)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at AdviceClient.go(AdviceClient.java:19)
at AdviceClient.main(AdviceClient.java:34)
Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:1739)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:1757)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<init>(SocketFactoryConnectionImpl.java:74)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.createConnection(SocketFactoryContactInfoImpl.java:88)
at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:146)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:121)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:212)
at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:58)
... 4 more
Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:390)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<init>(SocketFactoryConnectionImpl.java:58)
... 11 more
Caused by: java.net.ConnectException: Connection refused: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:381)
... 12 more
Going through Head First EJB�s chapters...the first example already stuck me (the one with AdviceBean) after deployment and everything I wanted to start the client which gave me following exception:
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.getNameInNamespace(InitialContext.java:485)
at AdviceClient.go(AdviceClient.java:18)
at AdviceClient.main(AdviceClient.java:33)
I should mention that I�m trying to run it on the new J2EE 1.4 - has the way to retrieve the IntialContext changed?
Don�t worry. Even I was asked only four questions, I this week received my results which stated a score of 153/155 - so it�s possible to pass even with only 4 questions asked.
Congrats! How long did it take until your results were posted???
20 years ago
Congratulations! How many questions have you been asked on the written exam and how long did it take them to post your results?
20 years ago
Yesterday I was taking the written exam and strangely I got only 4 questions asked. As far as I remember, on Sun�s official certification site it states that you are being asked 5 questions on the written examn, so I�m confused a little. Has there been anybody else who was also asked just 4 questions?