Re: Java Struts: Book Recommendation?
Steve wrote:
I worked for a company that sort of rolled their own. A dispatcher
servlet, taking requests, reading a database table, then deciding to
send the user to a java [sic] class, JSP or HTML page as a response.
Tom Anderson wrote:
As an aside, Lew, do you think the [sic] is necessary in blocks quoted
using the > convention? Doesn't that already imply literal,
copy-and-paste, quotation? Isn't using both a bit like writing "java
[sic] [sic]", which implies that someone actually wrote "java [sic]"? I
appreciate that if you were quoting inline, the [sic] would be
appropriate, but here it seems not just redundant but erroneous.
OK.
Don't you think that people using the Java language should at the very
freaking least spell the name of the language correctly? I do.
I take such carelessness as symptomatic or emblematic of the crappy code I
often inherit on projects at work.
Lew wrote:
JSF is rather different. Unlike Struts, it doesn't use a single
front-controller model, but uses a multiplicity of controllers -
loosely speaking, one per screen. It also imposes a component model on
the screens, sort of like Swing or other GUI frameworks, but of course
different in order to work on the Web.
Tom Anderson wrote:
I've never used JSF. I knew about the component model stuff, but i [sic]
:-)
hadn't heard about the multiple controllers. Would you say that either
is a bigger part of JSF than the other? Is it possible to use the
"Part"? Ok, in the sense of "aspect", they're as big a part of JSF as the
fact that it uses tags or works in web-based applications.
multiple controllers with plain JSP, should you want to? Would it be
Of course. You can hand-code anything a framework provides.
possible for you to write or direct me to a brief explanation of how the
multiple controllers work?
<http://st-www.cs.illinois.edu/users/smarch/st-docs/mvc.html>
The front-controller pattern is a simplified form of the MVC pattern.
Lew:
I came from the front-controller world of Model 2 and Struts into JSF
myself. It took some getting used to, but now I find it very useful.
tom:
Have you had any contact with Stripes at all? My knowledge of web
Only the movie starring Bill Murray, et al.
[snip]
[1] It's also the Snake Plissken of app frameworks; whenever i mention
Great reference! Good ol' one-eyed Snake!
to people, the response, if they've heard if it, is "I thought that was
dead".
In the sequel Peter Fonda's character prepares to ride the impending tsunami.
You know what it means when you're conversing with a tsunami surfer? It
means they haven't done it yet.
--
Lew
"Psychic medium" is a redundant term.