Kosala W.Abayagunawardene

Ranch Hand
+ Follow
since Dec 15, 2007
Kosala likes ...
Netbeans IDE Firefox Browser Java
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 Kosala W.Abayagunawardene

Congratulations !!! Great score
12 years ago
ScwcdLinks contains all one need to pass SCWCD 5 with good marks...Think it would help..

Lucas Smith wrote:How can I get HFSJ final exam from 2nd edition? I have 1st edition. Do I need to buy a book?



Yes Buying the book will be good investment..
Yes You can use HF 1st ed but you might feel more confident if use 2nd ed. I had 1st ed but bought 2nd ed also and the end result was good.This is my thinking.Good luck with the exam.
Yes You can use HF 1st ed but you might feel more confident if use 2nd ed. I had 1st ed but bought 2nd ed also and the end result was good.This is my thinking.Good luck with the exam.

Lucas Smith wrote:I do not understand it to the end. Why <security-role-ref> is not a child of <web-app...>?



because Its used for mapping a Specific servlets (developed buy a developer that is not from your company which has given different role name or same role names with different meaning ) role to your web app's roles.
Congratulations ! I did SCWCD 27th and I am also hoping to do SCBCD. As I heard there is no Head First for SCBCD 5 yet and best to buy EJB 3 in Action which I did yesterday. It is like HF but it is not aimed for SCBCD so no questions. Study hard.Good Luck.
12 years ago
Yes You might get one or two. I got one on the exam which I did on 27 th

Lucas Smith wrote:I would like to ask why this tag is a child of <servlet> but not of <web-app...>.
Is there any deeper reason?



We use a <security-role-ref> where roles of a servlet may appear the same as web app's (Admin is in both) but they may be having different meaning.

eg. servlet - admin - administrative role
web-app - admin - lesser access role
- administrator - administrative role --> this must be mapped to admin in <security-role-ref> so the web app understands what servlet means.


this way you dont have to recode that other developer created servlet every time you use it in your web app