The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes WHEN TO USE EL? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "WHEN TO USE EL? " Watch "WHEN TO USE EL? " New topic



Joined: Apr 12, 2005
Posts: 23

Would someone help me be clarified on when to use EL? Why should I use it?

Buhay Estudyante
John Wolf
Ranch Hand

Joined: Feb 18, 2002
Posts: 64

Top 10 reason why you should use EL:-

1) Everyone's doing it.
2) It separates the business logic from the JSP.
3) You have to type less.
4) Its fun and powerful.
5) Web designers can learn it too.
6) Its on the exam.
7) You will know more than your peers.
8) Your JSP code will be clean and easier to read.
9) Your boss will make you his "go to" guy.
10) You might even get a raise.

As for when to use it? You should use it when you have J2EE 1.4 implemented, since you need JSP 2.0. But you don't have to use EL. Its another way of doing things, its all upto you...
Narendra Dhande
Ranch Hand

Joined: Dec 04, 2004
Posts: 951

It is also useful when the scripting elements are not allowed. Such as Tag files.


Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
jQuery in Action, 3rd edition
subject: WHEN TO USE EL?
It's not a secret anymore!