Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lew Newsgroups: comp.lang.java.help Subject: Re: Validating form inputs? Date: Tue, 20 Mar 2012 13:58:02 -0700 (PDT) Organization: http://groups.google.com Lines: 43 Message-ID: <3875149.2356.1332277082260.JavaMail.geo-discussion-forums@pbcum13> References: NNTP-Posting-Host: 69.28.149.29 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1332279802 24969 127.0.0.1 (20 Mar 2012 21:43:22 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 20 Mar 2012 21:43:22 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.29; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T User-Agent: G2/1.0 Xref: csiph.com comp.lang.java.help:1641 Davej wrote: > This brings up an issue I would be interested in hearing comments on. > In the curriculum I am pursuing we get an overview of Java and then an > overview of JSP and servelets [sic] and then finally in the 3rd semester = we > get to frameworks such as Struts. Is this the normal progression? Does Do a survey of curricula to find out.=20 I would be surprised if anyone here has that information at hand, unless it= 's amenable to a search such as=20 http://lmgtfy.com/?q=3Dnormal+progression+to+teach+Java%2C+servlets+and+fra= meworks (Unfortunately that particular search is not especially successful. You're = on your own for crafting a better query.) > this sequence encourage bad practices or lots of things that need to > be unlearned? On the contrary, it seems the best way to teach what you need to know so th= at you don't fall victim to Programming by Superstition. Struts makes the best sense if you've implemented some Model 2 architecture= s yourself. (Look it up.) Then you can appreciate the advantages and limita= tions of the approach. I've worked with people who could cite chapter and verse from the Struts Ja= vadocs but had no sense of what it did. why it did it, or how to creatively= make it do what they wanted. They could only follow dimly-understood lore = from manuscripts illuminated by non-technical monks under candlelight. Had = their curriculum followed your pattern, they might (!) have had deeper unde= rstanding. Similarly. I learned JPA (Java Persistence API) best when I implemented my = own ORM (Object-Relational Mapping) layer, in a couple of different ways us= ing JDBC, then did it again in JPA. You should understand the turtles all the way down. --=20 Lew From the famous saying, "It's turtles all the way down."