Leyong

Greenhorn
+ Follow
since Sep 09, 2002
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 Leyong

Question from JavaCoding.net Mock Exam
QUESTION :
You have been assigned the task of porting an Perl/CGI based
transactional application to Java.
What set of technologies should you use?
POSSIBLE ANSWERS:
* Applets
* JSP/Servlets
* EJBs
* JSP/Servlets + EJBs (CORRECT)
* JSP/Servlets + JavaBeans
SOLUTION:
If transactionality is involved, EJB is the way to go.
I think the second answer is also correct.
Hi, Guys:
Could you have any explanation for following
transaction questions in Web tier?
True or false:
1. Sevlets or JSPs can use JNDI to lookup a UserTransaction
and use it.
2. Sevlets or JSPs can use JTA.
( how to do it?
In CMT beans , we can use setRollbackOnly and
getRollbackOnly() methods of thr EJBContext to interact
with the curent transaction. )
3. Servlets can start transactions in any of its methods.
I cannot find any clues about these questions in EJB 2.0 spec
and Servlet 2.3 spec.

I guess true for 1 and 2. How about Q.3?
Thanks!
Congratulation Seid!

I used the following books:
1. Enterprise JavaBeans (by Richard Monson-Haefel)
2. Applied Java Patterns (by Stephen A. Stelting, Olav Maassen)
3. SCEA for J2EE Study Guide (by Mark Cade)
4. UML Distilled (by Martin Fowler)


Which edition for Monson-Haefel and Martin's book ?
Thanks!
Dear All:
Last week I passed SCWCD with a score of 96%.
Thanks to JavaRanch for providing the valuable information/links/mock exams, and to all the contributors for sharing your notes.
Here's some information about my preparation for your reference:
. read Inside Servlet: very good, accurate.
. read Core Servlet and Server Pages by Marty Hall: good,
some arithmetic coding too complicated, some content outdated.
. read specifications and Servlet/JSP API-DOC
. read More Servlet and Server Pages : good book with good examples
. read Jason Hunter's Servlet book, 2nd Ed: real classic
. review with Deployment Descriptor aid by Ersin Eser: very good architecture
diagram .
. read Advanced JavaServer Pages, 1st ed, by David M. Geary, an authority on
JSP. Nice, however, some content outdated.
. read Miftahkhan's notes, Ken's notes.
. read Core J2ee Patterns: nice
. practice with all mock exams at javaranch and links ,and jdiscuss.
No question is outside the objectives. I had 11 minutes left for review 8
Marked questions, and corrcted 1. I had no more time to review all other questions.
I lost 1 in Servlet Model and 1 in Server-side exception.
I highly recommend jdiscuss. It’s free, valuable, and similar to the real exam. There are 120 questions. If you can pass them above 80% in the first time and have a through grasp of each question, you may probably pass through the exam
with a high score.
Best wishes for everybody.
Thanks again for you all.
21 years ago