sh yh

Greenhorn
+ Follow
since Aug 14, 2002
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 sh yh

Originally posted by Evelyn Cartagena:
All,
Prometric is sending out the vouchers directly to the candidate. I have urged them to respond to your emails the same day. I am trying my best to get them to be more responsive.
Please let me know if you have any questions or need any help.
Sorry for any inconvinience!
Evelyn



Thanks Evelyn.
I got the new voucher. But when I re-registered the exam, the Prometric center said the voucher cannot be used for the 311-310 exam.

Originally posted by Weishe Zhao:
Runtime


Thanks
Objective 2.5 (CLDC) - Write code that effectively manages memory / garbage collection.
The only thing that I know of related to this objective is System.gc().
Are there any other classes/methods that we can use to effectively manage memory?
Thanks.

Originally posted by Yadav Madhu M:
Both are same


many thanks
Hi,
What are the differences between Custom Actions and Custom Tags?
Thanks.

Originally posted by Kathy Sierra:
Howdy all,
I would say that many of the most difficult questions on the exam are related to custom tags. EL questions are fairly straightforward, because EL is simple, but there are some real *gotchas* in places where EL looks like Java, but behaves differently (especially with the [ ] operator!). Be very certain that you can access properties of an object, multiple levels deep, using any combination of the [ ] and the "." operator, including array access. Be sure you REALLY know the implications of accessing the implicit objects, and the ramifications of scope and thread safety, etc.
Kathy


What does "thread safety" mean?
Does it mean the thread safety of EL or implicit objects or scopes?
Thanks
Hi Alain,
One question for your: Did you show any Entity EJBs in your Component Diagram(s)?
TIA.
Hi Alain,
I have one question which would happen in a real-world application. Assume there is a LoginProcessor for processing clients' logins through different kinds of UIs. Will you present this LoginProcessor as a Session Bean or just a Plain Old Java Object? Thank you.
I like you articles and in particular your "Topic".

Originally posted by Vishy Raman:
ejbPassivate would be more appropriate, as ejbRemove method may not be called to remove the bean, if it is already in the passivated state.


The original question is ambiguous.
If it is not going into the passivated state, then ejbPassivate is not a choice.
[ June 25, 2003: Message edited by: sh yh ]
I assume that you are talking about session beans.
ejbPassivate() is the primary answer; and calling ejbPassivate() from within ejbRemove() is the secondary answer. Just my 2 cents.
I'm pretty sure you've learned a lot in your preparation process. Also thanks for your study materials. Excellent jobs!

Originally posted by Bert Bates:
Answers to EJB Mock fodder questions:
11.3 When a session bean has container-managed demarcation value of 'Supports', which << three >> methods run in an unspecified transaction context? (Choose << three >>.)
a). ejbActivate
b). getRollbackOnly
c). getUserTransaction
d). ejbRemove
e). afterBegin
f). afterCompletion
Answers: a, d, f
revision: changed 'two' to 'three'

===============================================


I would suggest to reword the question by replacing "...run..." as "...will always run..." in order to eliminate confusions such as, for example, afterBegin() COULD also run in an unspecified transaction context.

Originally posted by Kalpesh Soni:
correction
3.6
answers
1 - b was fine
2 - d was fine
3 - c
4 - a


I think both 3c/4a and 3a/4c are ok.

Originally posted by Dennis Shi:
a, c, g


I have the same answers with yours.
Hopefully yours are right.