Sunday, March 22, 2009

JAVA code in JAVA Server Pages

Using (more than a few lines of) code in JSPs is bad practice. For one reason, you mix logic with presentation. This is the reason you should use a Model 2 framework. But here's another one: you cannot debug JSP code. Of course you can insert prints to figure it out what's happening but if there's pretty complex code there you will surely miss a debugger.

A new beginning

Yes, i finished school ... actually it's more like: I finished school, yupiiii !!! Theoretically I could post more often now, since I do not have to go to school in the week-ends but stay home surfing the net endlessly (to read: searching and learning from technical articles). To sum up, I have learned a bit about security, met real teachers and not really teachers. Now that it is over, I can focus on the thing I'm trying to learn for a while now. That is building web apps the right way.