Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL questions

 
Steven Colley
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 java class for EL function?

Tks
 
Aleksander Zielinski
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic