• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts and JSTL

 
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It seems chap 4 of Allen's book spends about three pages on struts and JSTL.
This seems like a lot of emphasis.
I'm struggle with struts -- is it just a fancy implementation of XSLT?
I believe I understand MVC quite well from my experiences with Swing TreeControls and Tables.
Should I take the time to learn struts and JSTL for the exam? OR would it be sufficient to know that struts implements MVC for us?
I think I could undertand Allen's discussion of struts better if I took the time to get a book on struts and work thru an example --- but I'm pretty busy and would rather not if that is not necessary.
What do you think?
Thanks,
Siegfried
 
Ranch Hand
Posts: 314
2
Android VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
> I'm struggle with struts -- is it just a fancy
> implementation of XSLT?
Struts is a pretty robust presentation framework for developing Java web applications with. It incorporates a lot of different design patterns and technologies and is not directly related to XSLT. Search for relevant documentation in Javaranch's 'Java Frameworks' forum.

> I believe I understand MVC quite well from my
> experiences with Swing TreeControls and Tables.
I thought I did too after completing the SCJD exam but after starting the architect exam, I see that there are a variety of MVC implementations that are different in important respects. For example, in Swing, the user interacts with a system through the View, which relies on the Control to access the Model. With Struts, however, the user interacts with a system via the Controller which then obtains information from the Model before dispatching requests to the View. I remember wondering when first starting Struts why they called it an MVC architecture when it didn't seem to be organized like Swing MVC was. And it took me a while to see that design patterns like Front Controller which Struts is built on are types of MVC patterns, even though it doesn't immediately carry over to Swing applications.

> Should I take the time to learn struts and JSTL
> for the exam? OR would it be sufficient to know
> that struts implements MVC for us?
I am not sure why you view JSTL as important for the SCEA exam. It's an important technology that you can use to implement JSP pages but it's only tangential to the purpose of the SCEA certification -- which is to learn how to architect J2EE applications.
As for learning Struts, I don't think you need to learn it for the exam. The design patterns on which it is based, however, are crucial to completing PArt II of the certification (i.e. Front Controller, etc.)
My thoughts on the matter,
Darryl
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
DO I need to show internal details of custom jsp tags in my sequence diagram.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic