Agility eLetter July,
2003
|
In this issue... In this issue, we have a
detailed article on Part II of "Servlets, JSP, Struts and MVC." Abstract: In Part I, we discussed the Model I and Model II architecture.
In this article, we show how the example presented in Part I may be
implemented, more effectively, using the Struts framework. This article
assume you have read Part I. The complete article can be found at the Agile
Developer download page http://www.agiledeveloper.com/download.aspx.
|
|
Message from us If
you would like any question to be addressed or topic to be discussed, please send
us an email at agility@agiledeveloper.com. At the end of the year, one person
will be randomly selected from the list of respondents for a special prize.
We would like to hear from you. Please send
suggestions, corrections and comments to agility@agiledeveloper.com. |
|
Your Comments! Our sincere thanks to those who take time from their busy schedule to express their valuable comments, constructive criticism, corrections and some compliments! “BTW, Thanks for the great newsletter. It's nice having a resource that
treats Java and .NET equally, without all the religious hype.” - David on “I have read several articles on Struts. But with a simple example you
have opened the eyes to see the Universe. As always it’s an excellent
article.” – Deepak on |
|
Quiz corner What’s the reason
that, in Struts 1.1, the perform method of Action class was deprecated and a
new method named execute was introduced? Send your response to agility@agiledeveloper.com, and you may become the winner of this year's Agility special prize. The more quizzes you answer, the better your chances are to be a winner! Quiz from the past issue Let’s
say a C# class A has the following: public class A { private static int[]
vals; } I want to initialize the
elements of the vals array to some arbitrary values. (Say that I may want to
read the values from a configuration file or may be fetch the data from a
database, etc.) How would I go about doing that, so that the vals will be
ready and available before any method of A would need to use it? Answer! Thanks to those who wrote to us with a response to this quiz. Your names have been entered for the year end drawing! The first correct response came from David. public class A { private static int[] vals;// Java uses static initializer. //Oddly though, C# uses a static constructor to do the job. static A() { // Initialize vals here to what ever it should be. }} |
|
Subscription Information To subscribe or unsubscribe to the free issues of Agility eLetter, please visit http://www.agiledeveloper.com/eLetter.aspx. |
|
Thus spake... Continuous effort - not strength or intelligence - is the key to unlocking our potential. –Winston Churchill. |