Go back
Geek Request for info on JSP, Servlets, Beans

Geek Request for info on JSP, Servlets, Beans

General

E
mid-table mediocrity

east london hellhole

Joined
05 Mar 04
Moves
10528
Clock
13 Nov 04
1 edit
Vote Up
Vote Down

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... 😛

S

My own private place

Joined
20 Jul 04
Moves
5764
Clock
13 Nov 04
1 edit
Vote Up
Vote Down

does that mean that anyone replying to this is a geek?😉

E
mid-table mediocrity

east london hellhole

Joined
05 Mar 04
Moves
10528
Clock
13 Nov 04
2 edits
Vote Up
Vote Down

Originally posted by Sariph00
does that mean that anyone replying to this is a 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 = "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 😉

Marinkatomb
wotagr8game

tbc

Joined
18 Feb 04
Moves
61941
Clock
14 Nov 04
Vote Up
Vote Down

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 {
//...

//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 😉
Yep.........Geek........😞

s
Red Republican

Auckland

Joined
08 Jun 03
Moves
6680
Clock
14 Nov 04
Vote Up
Vote Down

Originally posted by Edwardipov
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... 😛
Start with Sun - http://java.sun.com/.

Java is behind all these technologies.

g
Wayward Soul

Your Blackened Sky

Joined
12 Mar 02
Moves
15128
Clock
14 Nov 04
Vote Up
Vote Down

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?

mw

UK

Joined
27 Feb 04
Moves
93535
Clock
14 Nov 04
Vote Up
Vote Down

I have a book called "Learn Java in 21 Days".
Just in case you don't have 2 semesters to spare 😛
I don't remember the author and the book is in a box in the attic, so I can't get my hands on it.
There are several editions, so make sure if you buy it you get the most recent one.

E
mid-table mediocrity

east london hellhole

Joined
05 Mar 04
Moves
10528
Clock
14 Nov 04
Vote Up
Vote Down

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 😉

E
mid-table mediocrity

east london hellhole

Joined
05 Mar 04
Moves
10528
Clock
14 Nov 04
Vote Up
Vote Down

Originally posted by marinakatomb
Yep.........Geek........😞
hey don't knock it, it pays the bills 😏

e
Robbo

a Brave new world

Joined
10 Dec 03
Moves
8816
Clock
14 Nov 04
1 edit
Vote Up
Vote Down

Originally posted by Edwardipov
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... 😛
A good place to find books in the uk is here

http://www.megabytebooks.com/

They have a good collection of JSP and JavaBeans books

Russ
RHP Code Monkey

RHP HQ

Joined
21 Feb 01
Moves
2450
Clock
14 Nov 04
2 edits
Vote Up
Vote Down

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....

E
mid-table mediocrity

east london hellhole

Joined
05 Mar 04
Moves
10528
Clock
14 Nov 04
2 edits
Vote Up
Vote Down

Originally posted by Russ

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....
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 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 😉

Russ
RHP Code Monkey

RHP HQ

Joined
21 Feb 01
Moves
2450
Clock
14 Nov 04
Vote Up
Vote Down

Originally posted by Edwardipov
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 😉
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 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.)

E
mid-table mediocrity

east london hellhole

Joined
05 Mar 04
Moves
10528
Clock
14 Nov 04
Vote Up
Vote Down

Originally posted by Russ
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.)
Hmmmmmmm. 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...

C
Not Aleister

Control room

Joined
17 Apr 02
Moves
91813
Clock
15 Nov 04
Vote Up
Vote Down

Originally posted by Russ

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!!!!
Nazi...

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...

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.