Nagamalini Pampati

Greenhorn
+ Follow
since Oct 04, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Nagamalini Pampati

Hi,

I read that "Hibernate is used for persistence in EJB2 and in EJB3 we have JavaPersistence API for persistence" .. that means we cant use hibernate in ejb3... Is this true?Please help me out in this.

Thanks,
Malini
sorry Nilesh.....
i want to ask...when the attribute is replaced which methods are called?
either attributeAdded() or attributedAdded() and attributeRemoved()?
i mean when the attribute is replaced what methods are called?
arrributeRemoved() and valueUnbound() are called or only valueUnbound() is called?
Thanks,
Malini.
BodyContent values for simpleTag are
1.scriptless(default)
2.tagdependent
3.empty


BodyContent values for customTag are
1.scriptless
2.tagdependent
3.empty
4.JSP(default)

-Malini.
For contextListeners......setAttribute()....... If the name specified is already used for an attribute, this method will REPLACE the attribute with the new value to the new attribute.
so at this time will both attributeAdded() and attributeRemoved() will be called?or only attributeAdded() will be called?
Pls explain me...
Thanks in advance,
Malini.
Congrats Kishore...
and thabks for the tips...
Malini
sorry its EVAL_BODY_BUFFERED instesd of EVAL_BUFFERED in my previous question...
but if instead of having BodyTag.EVAL_BODY_BUFFERED if we have only EVAL_BUFFERED will that result in compilation error?

Thanks in Advance,
malini
<%@ taglib uri="example" prefix="example" %>
<example:aTagWithBody>
<%="Body Content"%>
</example:aTagWithBody>
If the aTagWithBody handler extends from TagSupport and returns BodyTag.EVAL_BODY_BUFFERED from doStartTag(), what will the above page print?

Select 1 correct option.
a The tag handler class would not compile.


b An exception at request time.


c "Body Content" will NOT be printied.


d "Body Content" will be printied.


e None of these.

given answer is "b".i thought it's "a".please explain this.
Thanks in Advnace,
Malini
can anyone tell me how much % do we need to get in JWebPlus V4 mock tests to score well in the final exam?
Thanks in Advance,
Malini
but in HFSJ it is given as calling invalidate() on session object will unbind all session attributes currently stored in the session.doesn't this mean that valueUnbound or attributeRemoved methods are called?
Thanks and Regards,
malini