Kejal Shah

Ranch Hand
+ Follow
since Jun 27, 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 Kejal Shah

Hi,
How heavy is the reflection API in terms of speed and resources?

Tx
Kejal
18 years ago
Ok sir!
will do

tx
kejal
Hi all!
how abt these 2 books?

1. Enterprise J2ME : developing mobile Java applications
Author: Michael Yuan
2. Teach yourself wireless Java with J2ME in 21 days
Author: Michael Morrison

Tx in adv
Kejal
Thanks guys for your advise.

One more intriguing thing is if this knowledge will be at all useful in the practical world. I ask this cos most of the mobiles these days carry Symbian OS and not Java OS.

tx again in adv
SaneDevil
Hi guys,
How shd one proceed with this cert? Also, does this cert relate to J2Me?

tx in adv
Given an XML and an XML Schema, what's the best technique to validate the XML using Java?

Tx in adv
Kejal
Guys! thanks for all your wishes. It more than compensates for my -ve feelings of the score.

keep rocking
thanks guys,
yep i have an ex with jsp and servlets.

contrary to the general view, i believe HFSJ is not enough for the exam. For some of the ques, i was left wondering

Got screwed in j2ee patterns. Some ques i found ambiguous.

Anyways, to the guys preparing, all the best
Honestly, I wanted a bit more than this. But, will have to go wit it.
Thanks Ranchers, for all your help.
Cool! so tat means, the exam's a crap. I had problems with other questions too.
Phew! finally, i manged to try this out on jsp-examples provided with Tomcat5 installation.

http-method auth-constraint result
---------------------------------------------------------------------
none none OK. no login asked
none blank 403 forbidden
none role-name tomcat valid login allowed
invalid login not allowed

GET none OK. no login asked
GET blank 403 forbidden
GET role-name tomcat valid login allowed
invalid login not allowed

Verdict:
no http-method specified, ALL allowed, and it really depends on the auth-constraint.
Yep, tat's wat my query was. If you mix the errata and page 636, we end up all confused. Here's the errata

{634} hand written comment at the bottom;
"If there were NO <http-method> elements in the <web-resource-collection>, it would mean that NO HTTP Methods are allowed, by ANYONE in any role."
should be:
"If there are NO <http-method> elements, in the <web-resource-collection>, it would mean that ALL HTTP Methods are allowed."

and here's teh link for quick ref. http://www.oreilly.com/catalog/headservletsjsp/errata/headservletsjsp.confirmed

I think:
if NO http-method specified -> ALL ALLOWED. If we think, this makes sense. The security-constraint element mentions the http-methods to be "constrained". Also, if you mention only GET in http-method, its constrained, but others, POST, PUT... are allowed. Goin by the same logic, NO http-method would mean, ALLOW ALL methods.

I think i'll try and let you guys know.
Hi all!
Does any one of you have the servlet class diagram, or a link which hosts it?

tx in adv