aspose file tools
The moose likes Cattle Drive and the fly likes Cattle Drive + Servlets: Preferred Practice Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Reply Bookmark "Cattle Drive + Servlets: Preferred Practice" Watch "Cattle Drive + Servlets: Preferred Practice" New topic
Author

Cattle Drive + Servlets: Preferred Practice

Richard Broersma
Ranch Hand

Joined: Apr 28, 2009
Posts: 63

Since I was having a hard time understanding the MVC2 model behind servlets and JSP, I decided it'd be helpful to read a book on the subject.

Examples in the cattle drive demonstrate JSP with use of scriptlets. However, the book advocates that scriptlets are "bad" and EL + JSTL are "good."

What is the preferred practice to use in the cattle drive?
Carol Murphy
village idiot
Bartender

Joined: Mar 15, 2001
Posts: 1172
Great book! If I remember correctly, the problem with scriptlets is that web designers might not be java programmers, and they would prefer something easy to understand and maintain in their html code. For the drive assignments, I'd just go with scriptlets, as your nitpickers are java programmers, and the MCV2 architecture is the focus, not placating web designers!
Richard Broersma
Ranch Hand

Joined: Apr 28, 2009
Posts: 63

Thanks Carol.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Cattle Drive + Servlets: Preferred Practice
 
Similar Threads
CastMap getTrimmedString() error?
My First step towards SCWCD
JSP & Servlets thru Online
A easy question
Beginner Needs Advice