A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Web Component Certification (SCWCD/OCPJWCD)
Joined: Feb 18, 2005
Apr 14, 2006 17:01:00
1- is correct to use the "public static void main (Stringargs)" method as a EL normal function?
2- is it necessary to have a non-args contructor in
class for EL function?
SCJP | SCWCD | SCBCD | SCWSD 5 | SCEA (I) 1.4 | SCEA 5 | IBM SOA 669
Joined: Nov 11, 2005
Apr 15, 2006 01:09:00
1) I don't think it's a problem.
2) I don't think it's necessary, since in EL you are using static functions that don't need any instance of the class, therefore there won't be any consctructor invocation.
I agree. Here's the link:
subject: EL questions
Date and Timestamp comparison
How to escape quote characters (")?
Are EL functions included in SCWCD objectives?
Expression Language Help
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014