Rahul Goyanka

Greenhorn
+ Follow
since Aug 03, 2005
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 Rahul Goyanka

Hi

Thanks guys for you help in answering my questions and helping me cruise out smoothly.
Some of my observations about this exam are...

1. HF is a nice book and covers topics very nicely. Having said that it has numerous mistakes and some of them are critical that are still not being updated on the errata available on the Oreilly website. I have not read any other book, but I would suggest to first update your book with the errata from the website and then start reading it.

2. There are many practice questions available on the web and doing all of them is unnecessary. Most of the time there is repetition. If you cover well the ejbCertificate question properly and then the JDiscuss questions then and you are scoring about 80% there then you are in good shape.

3. Most of the time when you attempt a question it is not about one concept but two or more concepts put together. So a thorough understanding of all the basic concepts would make your life better.

4. Some of the questions are not about EJB but your java skills in general like interface �
�Extends� an interface rather than �implement� it.

5. I found the Marco Tedone's scbcd reminder.txt (http://www.jemos.co.uk/certifications/SCBCD/Reminder.txt helpful to explain when a transaction is rolled back and when it is just marked for roll back. He has explained it very nicely. Also these are good notes for revision.

6. And one more thing, I took EJB-QL a bit lightly. I think one should try writing ample of those queries. Expect to have some tough ones out there in paper.

When I started the test I was put forward a survey of 15 mins and 15 questions asking me how good I think I am in various sub fields of EJB. It was unexpected for me but it helped put off some anxiety and get prepared for what was next to come.

There is ample time to solve questions so you don't have to rush it. I finished good 30 minutes before the actual time.

My best wishes to all of you who are preparing for this test. I my opinion it is way simple from the foundation SCJP but very demanding of remember and retaining the concepts.

Best,
Rahul
18 years ago
Hi

Thanks guys for you help in answering my questions and helping me cruise out smoothly.
Some of my observations about this exam are...

1. HF is a nice book and covers topics very nicely. Having said that it has numerous mistakes and some of them are critical that are still not being updated on the errata available on the Oreilly website. I have not read any other book, but I would suggest to first update your book with the errata from the website and then start reading it.

2. There are many practice questions available on the web and doing all of them is unnecessary. Most of the time there is repetition. If you cover well the ejbCertificate question properly and then the JDiscuss questions then and you are scoring about 80% there then you are in good shape.

3. Most of the time when you attempt a question it is not about one concept but two or more concepts put together. So a thorough understanding of all the basic concepts would make your life better.

4. Some of the questions are not about EJB but your java skills in general like interface �
�Extends� an interface rather than �implement� it.

5. I found the Marco Tedone's scbcd reminder.txt (http://www.jemos.co.uk/certifications/SCBCD/Reminder.txt helpful to explain when a transaction is rolled back and when it is just marked for roll back. He has explained it very nicely. Also these are good notes for revision.

6. And one more thing, I took EJB-QL a bit lightly. I think one should try writing ample of those queries. Expect to have some tough ones out there in paper.

When I started the test I was put forward a survey of 15 mins and 15 questions asking me how good I think I am in various sub fields of EJB. It was unexpected for me but it helped put off some anxiety and get prepared for what was next to come.

There is ample time to solve questions so you don't have to rush it. I finished good 30 minutes before the actual time.

My best wishes to all of you who are preparing for this test. I my opinion it is way simple from the foundation SCJP but very demanding of remember and retaining the concepts.

Best,
Rahul
18 years ago
And one more thing, I took EJB-QL a bit lightly. I think one should try ample writing ample of those queries. Expect to have some tough ones out there in paper.

-RG
18 years ago
Hi

Thanks guys for you help in answering my questions and helping me cruise out smoothly.
Some of my observations about this exam are...

1. HF is a nice book and covers topics very nicely. Having said that it has numerous mistakes and some of them are critical that are still not being updated on the errata available on the Oreilly website. I have not read any other book, but I would suggest to first update your book with the errata from the website and then start reading it.

2. There are many practice questions available on the web and doing all of them is unnecessary. Most of the time there is repetition. If you cover well the ejbCertificate question properly and then the JDiscuss questions then and you are scoring about 80% there then you are in good shape.

3. Most of the time when you attempt a question it is not about one concept but two or more concepts put together. So a thorough understanding of all the basic concepts would make your life better.

4. Some of the questions are not about EJB but your java skills in general like interface �
�Extends� an interface rather than �implement� it.

5. I found the Marco Tedone's scbcd reminder.txt (http://www.jemos.co.uk/certifications/SCBCD/Reminder.txt helpful to explain when a transaction is rolled back and when it is just marked for roll back. He has explained it very nicely. Also these are good notes for revision.

When I started the test I was put forward a survey of 15 mins and 15 questions asking me how good I think I am in various sub fields of EJB. It was unexpected for me but it helped put off some anxiety and get prepared for what was next to come.

There is ample time to solve questions so you don't have to rush it. I finished good 30 minutes before the actual time.

My best wishes to all of you who are preparing for this test. I my opinion it is way simple from the foundation SCJP but very demanding of remember and retaining the concepts.

Best,
Rahul
18 years ago
Howdy,

Please comment on the truth ness of the following comments...

1. Container is not responsible for committing or rolling back transactions that have been initiated by the client.
2. The container is only responsible for rolling back a system exception for an message-driven bean with container-managed transaction demarcation and when the bean method runs in the context of a transaction started by the container. A transaction is not rolled backed by the container as a result of a system exception thrown when the transaction runs with an unspecified transaction context and also when a bean is declared with bean-managed transaction demarcation.

And what should be the correct answer for the following question...
Question:
What will the container do when a bean managed message driven bean throws a system exception? [Check all correct answers]
1. Log the system exception.
2. Mark the transaction for rollback.
3. The container will discard the message driven bean instance and will not invoke any business methods or container callbacks on the instance.
4. The container will commit the transaction unless the deployment descriptor specifies otherwise.
5. The client will receive a RemoteException.

As per the given answer... option 1, 2, and 3. I am confused as MDB is a BMT bean so option 2 should not be true.

Thanks
-Rahul

:roll:
Seemapanth,

There are two things that I am not clear here.

1.What are the scenarios where there can be multiple clients that can arrive in a single transaction? I can only imagine of a bean calling other bean for some services in a same transaction. (Let me know if there are others too). If that is the case usually the security context passed by the initial client may be retained until the transaction is over.
2.In context to above, a bean can change its security context by using the <run-as> element in DD and becoming a different principal than the calling client�s principal. This means that that in the same transaction it is possible to change the security context by different calling clients.

In options C:
�Transactional requests within a single transaction cannot arrive from multiple clients.�

It is not mentioned that the multiple clients have same security context or different. If the option C was

�Transactional requests within a single transaction cannot arrive from multiple clients having different security context�

Then the option C should be false as per the specification stated above by you. And if C was

�Transactional requests within a single transaction cannot arrive from multiple clients having same security context�

Then C is true.

But as in point 1, beans can change there security context within a single transaction, so either the specs is wrong or the <run-as> element has something more to it that I am missing.

Thanks,
Rahul
Hi


For the question ...

What's true about the client's view of security? (Choose all those that apply)
Options A and B are correct. But For ...

Option C: Transactional requests within a single transaction cannot arrive from multiple clients.

I am not sure why it is not true as well. Since this question is not for any specific bean type My take on it is ...

a. For Message Driven Beans since there is no client view, this option is not applicable
b. For Stateless session beans transaction has to either rollback or commit before function returns so multiple clients coming calling into single transaction is not possible. so ture again
c. For Stateful session beans only serve one specific client. Even though they are allowed to span transactions beyond one method, calls are always made by only single client, So c option is again true.
d. For Entity beans even though single enity bean can serve multiple clients internally since entity beans are container managed, their transactions either rollback or commit before function returns so multiple clients can't again arrive within a single transaction. so C is true again.


Please let me know where am i going wrong here?

Best,
Rahul