This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Scwcd topics - EL Operators and EL Functions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Scwcd topics - EL Operators and EL Functions" Watch "Scwcd topics - EL Operators and EL Functions" New topic
Author

Scwcd topics - EL Operators and EL Functions

subir rastogi
Greenhorn

Joined: Apr 11, 2006
Posts: 18
Hi,
I am preparing for Scwcd 5 exam and reading HFSJ book (August 2009 Reprint). I am finding a mismatch between the official exam objectives on Oracle site and the one mentioned in HFSJ chapter 8. HFSJ mentions objectives - 7.3 (EL Operators) and 7.4 (EL Functions) which are not mentioned in official exam objectives.

I am thinking of leaving these objectives as they are not in the official exam objectives and there should be any questions on these objectives but would like to check with you again.
Please help.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Mmmhh... strange. I thought there was no objective differences between 1.4 and 5.0, so these two objectives should still be there. I'd study them if I were you.


[My Blog]
All roads lead to JavaRanch
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

The funny thing is that in the sample questions available at Oracle's home page, one of the questions is :

SECTION: 7: 7: Building JSP Pages Using the Expression Language (EL)
OBJECTIVE: 7.4: Given a scenario, write EL code that uses a function, write code for an EL
8) You are building an image processing web site that allows users to upload personal photographs. When presenting a photo on the display page, a colored border is generated around the image. The border color is determined from the predominate color around the edge of the photograph to provide maximum contrast. A Java function, getBorderColor(Photograph):String, has been created to perform this calculation and return an RGB color index. You have declared an EL function, calcColor, assigned to this Java function in the namespace p.

Which EL code snippet will return the border color for a Photograph object stored in the photo request-scoped attribute?
a) ${calcColor(photo)}
b) ${p:calcColor(photo)} (*)
c) ${getBorderColor(photo)}
d) ${p:getBorderColor(photo)}

subir rastogi
Greenhorn

Joined: Apr 11, 2006
Posts: 18
Hi Christophe,
Can you please provide the link where you can see this question on oracle site?

Thanks.
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1731
    
  25

Hi Subir,

For sure it is on the exam. I did it recently and there was at least one question about it.

Regards,
Frits
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

subir rastogi wrote:Hi Christophe,
Can you please provide the link where you can see this question on oracle site?

Thanks.


Here
subir rastogi
Greenhorn

Joined: Apr 11, 2006
Posts: 18
Hi Frits and Christophe,
thanks, I will prepare those topics also.

regards,
Subir
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1731
    
  25

You can also have a look at my summary (see SCWCD links, rancher notes) Chapter 8.4. If you read that it is enough to answer all the questions about EL functions
subir rastogi
Greenhorn

Joined: Apr 11, 2006
Posts: 18
Hi Frits,
Your notes looks really good..can you tell me when have you given the exam and your score? I am curious to know.

regards,
Subir
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1731
    
  25

Hi Subir,

Thanks, it took me a while to compose them, but they are quite handy as a reference also.
The only topic I did not add to my notes is covered in JSP.1.3.6 (from the JSP2.0 specs). Make sure you have read that (I got a question about it)

Furthermore: buy the Enthuware mock exams: if you pass all of them you will pass the real exam! Absolutely worth their money.
I took the exam on the 19th of April 2010 and passed with a 91% score (63/69). My weakest area was the J2EE patterns which I thought I knew well....

Good luck, I am at the starting point of SCBCD.

Frits
 
Consider Paul's rocket mass heater.
 
subject: Scwcd topics - EL Operators and EL Functions