Does anyone have any pointers for good books/resources on JSP, Servlets and JavaBeans? I'm working my way through Google at the minute but any help from yous lot would be grand.
Notice I'm posting this on Saturday night for maximum geek exposure - all the non-geeks will presumably be out having a social life or something... 😛
Originally posted by Sariph00You can be a non-Geek, a Provisional Geek or a Full Geek. If you reply to a post on a Saturday night, you are a provisional Geek - if you supply me with Java info, you are a Full Geek. Or put in Saturday night terms:
does that mean that anyone replying to this is a geek?😉
class RHPPlayer {
//...
//initialise Geek Status; assume player is non-geek
String GeekStatus = new String();
GeekStatus = "NonGeek";
//Used to determine geek status of player
public void DetermineGeekStatus(bool postOnSaturdayNight, bool supplyInformationOnJSP)
{
if (postOnSaturdayNight)
if (supplyInformationOnJSP)
GeekStatus="FullGeek";
else
GeekStatus="ProvisionalGeek";
}
}
I hope I've made myself clear on that one 😉
Originally posted by EdwardipovYep.........Geek........😞
You can be a non-Geek, a Provisional Geek or a Full Geek. If you reply to a post on a Saturday night, you are a provisional Geek - if you supply me with Java info, you are a Full Geek. Or put in Saturday night terms:
class RHPPlayer {
//...
//initialise Geek Status; assume player is non-geek
String GeekStatus = new String();
GeekStatus = "NonGee ...[text shortened]... GeekStatus="ProvisionalGeek";
}
}
I hope I've made myself clear on that one 😉
Originally posted by EdwardipovStart with Sun - http://java.sun.com/.
Does anyone have any pointers for good books/resources on JSP, Servlets and JavaBeans? I'm working my way through Google at the minute but any help from yous lot would be grand.
Notice I'm posting this on Saturday night for maximum geek exposure - all the non-geeks will presumably be out having a social life or something... 😛
Java is behind all these technologies.
java for professional developers. can't remember who wrote it, and only of much use if you are -well- a professional progammer (it's what my dad used, not I...i attempted to learn thataway, and it didn't work...) although if you wanna be simplistic-try (and i think it's called this) "java in 2 semesters" by someonearuther Wu...
and what if you post on a sunday morning?
Thanks everyone 🙂
I already program in Java, and am looking to get away from front-end stuff and into the much more interesting server side of things. When I get round to buying a book on JSP, I'll let you know how I get on. In the meantime, I've downloaded the API's from the sun site - something I'd hoped I wouldn't have to do on account of the fact they are interminably dull and awful...
And if you post on a sunday morning, that makes you a heathen 😉
Originally posted by EdwardipovA good place to find books in the uk is here
Does anyone have any pointers for good books/resources on JSP, Servlets and JavaBeans? I'm working my way through Google at the minute but any help from yous lot would be grand.
Notice I'm posting this on Saturday night for maximum ...[text shortened]... eks will presumably be out having a social life or something... 😛
http://www.megabytebooks.com/
They have a good collection of JSP and JavaBeans books
Originally posted by Edwardipov
You can be a non-Geek, a Provisional Geek or a Full Geek. If you reply to a post on a Saturday night, you are a provisional Geek - if you supply me with Java info, you are a Full Geek. Or put in Saturday night terms:
class RHPPlayer { ...[text shortened]... ";
}
}
I hope I've made myself clear on that one 😉
if (postOnSaturdayNight)
if (supplyInformationOnJSP)
GeekStatus="FullGeek";
else
GeekStatus="ProvisionalGeek";
I refuse to answer your request due to the lack of lowerCamelCase for all variable names and an unhealthy lack of braces.
I am offended by the above if conditions. The software engineering equivalent of driving the wrong way up a motorway (with your eyes shut). You may last half a mile, if you are lucky, but sooner or later, you are going to crash and burn. 😉 (Yeah, I know, you are going to say 'Calm down Russ, I am only making a humerous forum post...'😉
In all the companies I have worked for, the one thing that always makes (normally) timid software engineers get all aggressive and shouty, it is coding standards. Everyone wants the world to do as they do, and life time habits are hard to compromise on.
And everyone always believes they are right. I am no different – which is why I made this long winded post - so do it MY way, I tell you!!!!
(And opening/closing braces on classes MUST be lined up 🙂 )
-Russ
I guess posting on a sunday afternoon loses me geek points....
Originally posted by RussHehheh - mea culpa - GeekStatus should indeed have been geekStatus - but note all the other variables fully the correctStandard 😉
if (postOnSaturdayNight)
if (supplyInformationOnJSP)
GeekStatus="FullGeek";
else
GeekStatus="ProvisionalGeek";
I refuse to answer your request due to the lack of lowerCamelCase ...[text shortened]...
I guess posting on a sunday afternoon loses me geek points....
As for braces - not *strictly* necessary for single line if statements, surely? I find they clutter things up, rather than make them simpler. And please believe me, my original post was beautifully indented, all braces aligned and everything, but all the leading spaces are trimmed when the message is posted - I think it's happened to yours too?
PS surely i get some points for documenting the code 😀
EDIT: By the way, if I want to get my timid co-workers angry and shouty, I just tell them Halo 2 sucks 😉
Originally posted by EdwardipovNot necessary, but it nearly always pays to be as verbose as possible.
Hehheh - mea culpa - GeekStatus should indeed have been geekStatus - but note all the other variables fully the correctStandard 😉
As for braces - not *strictly* necessary for single line if statements, surely? I find they clutter things up, rather than make them simpler. And please believe me, my original post was beautifully indented, all braces alig ...[text shortened]... the way, if I want to get my timid co-workers angry and shouty, I just tell them Halo 2 sucks 😉
For example, 6 weeks after writing that code, you do a quick fix, you need to to count the Saturday night post
if (postOnSaturdayNight)
numPosts++;
if (supplyInformationOnJSP)
GeekStatus="FullGeek";
else
GeekStatus="ProvisionalGeek";
And there you go, your code is completely broken. When the code is indented, it is even worse, because it hides the problem further. I would seriously consider adding 'superfluous' braces at all time - I am only thinking of your future sanity.
-Russ
(BTW : Yeah, white space is trimmed.)
Originally posted by RussHmmmmmmm. Point taken - to a point 😉 not sure about indentation confusing things, it's never been a problem for me - each to their own though, as you so rightly say...
Not necessary, but it nearly always pays to be as verbose as possible.
For example, 6 weeks after writing that code, you do a quick fix, you need to to count the Saturday night post
if (postOnSaturdayNight)
numPosts++;
if (supplyInformationOnJSP)
GeekStatus="FullGeek";
else
GeekStatus="ProvisionalGeek";
And there you go, your code is compl ...[text shortened]... me - I am only thinking of your future sanity.
-Russ
(BTW : Yeah, white space is trimmed.)
Originally posted by RussNazi...
And everyone always believes they are right. I am no different – which is why I made this long winded post - so do it MY way, I tell you!!!!
And btw. surely the use of an enum would have been better than a String variable for GeekStatus? 😛
No geek points for me, posting on a Monday morning...