hi, good day all expert here ! can someone kindly please share the experience for the limitation of several technology like EL , JSTL , javabeans, jsp and servlet ? example, we should not use jstl in what situation and why we should not use it ..thank you !!
As Nick said it is hard to classify each technology for their effectiveness and limitations. However, though it may not be rule of thumb, you can look at the design patterns ( GoF ). Depending on the design of each project and what comination of patterns you use, the choice of individual components can be made. However, in a very clean separation of each tier of design, the presentation tier should be very web designer freindly that is instead of writing expressions and scripts EL must be preffered ( But the limitation here might be when produaction standard server implements lastest JSP specs ). This was a simple example but necesarily it dicatates the way the technologies shuould be used at other tiers of the design.
As for as JSTL and Customized tags are concerned, my experience says that most of time programmers need to write their own Tag libraries because of the nature of project and unique demands. Its good to know JSTL but preffered way is to write your own Tag more customized to your needs.
Limitation of Servlets. Well Servlet can do anything and can be fit in every role however it shouldn't be used where JSP can work and niether it must be used where it is appropriate for EJB to be there. Again this depends on the design and size of your project.
JavaBeans are good for short term data retrieval and sorage in an object and best suited as used Value Object.
This is all I can come up in this briefly however this may require a very exhaustive discussion.
Let me know if it somewhat helps your query.
posted 14 years ago
But the limitation here might be when produaction standard server implements lastest JSP specs
This is not necessary, because it just need to support JSTL 1.0, as EL is part of it.