"Pay no attention to that man behind the curtain."

~ Wizard of Oz ~

newsblog

2006-03-03

Java Server Pages

I got offered a job today using JSP. I havent touched this language at all so I was quite intrigued to see what it looked like. After a bit of reading it seems pretty easy to write although some areas appear much more bloated than C# i.e. theres alot of repeating code blocks. C# is still my 2nd favorite language after ActionScript but I reckon JSP could easily be my third!

...

The repeating code blocks arent that bad once you wrap them into their own utility classes as they can then be summed up with a single line of code. There are some really interesting features of JSP that C# doesnt offer, the first to catch my eye was "Container Managed Persistance". The idea is that you write an entity bean, thats a class which is mainly used for storing and accessing properties and that then gets automatically linked to a database. Each time you update or view a property of the class the bean container will automatically read and write the value to and from the database. Pretty neat stuff although in alot of cases you would use "Bean Managed Persistance" which entails writing your own database functions. This then makes it more like its C# counterparts. I think this is the model that I will be using.

These are some links that I found really useful:

No feedback yet

search