Comment On Yes, It Really is Three Tiers

Several years back, Jack Herrington worked at a Web 1.0 company. Of course, no one called it "Web 1.0" back then; it was simply the "Dot-com Era" or the "Internet Age." Personally, I think the version numbers are okay, but I'd prefer if we all used nonsensical acronyms: "Web QM3200" or "Web ZXT." Come on, you know you want to surf the Web ZXT. [expand full text]
« PrevPage 1 | Page 2 | Page 3Next »

Re: Yes, It Really is Three Tiers

2006-11-06 14:00 • by Jason
dear lord..

Re: Yes, It Really is Three Tiers

2006-11-06 14:02 • by Oranda
What, no comments? So he likes straight, black Java in big gulps, so what ^^? Comments and sweetener are for sissies.

Re: Yes, It Really is Three Tiers

2006-11-06 14:03 • by Fregas

NICE! 

First Post?

Re: Yes, It Really is Three Tiers

2006-11-06 14:06 • by Cody
Well, it wouldn't have been a proper dotcom if it survived the bubble...

Re: Yes, It Really is Three Tiers

2006-11-06 14:11 • by stubborn buffer

MS-Access has a similar three-layer structure: the front-end, the back-end, and the caveman-sloping forehead of the "Access developer/architect" at the keyboard.

Re: Yes, It Really is Three Tiers

2006-11-06 14:15 • by Tei
99641 in reply to 99635

If he not use templates, his code will be horrible. But with templates, that can be a nice thing.

I mean, YES, as most data-centered code on the oracle side. Bussiness logic on java, and templates for display. What is sooo wrong here? 

Re: Yes, It Really is Three Tiers

2006-11-06 14:17 • by Franz Kafka
99642 in reply to 99641
Anonymous:

If he not use templates, his code will be horrible. But with templates, that can be a nice thing.

I mean, YES, as most data-centered code on the oracle side. Bussiness logic on java, and templates for display. What is sooo wrong here? 

 

No templates.

One servlet with one huuge method.

no abstraction of DB access.

Isn't that enough? 

/wtf indeed 

Re: Yes, It Really is Three Tiers

2006-11-06 14:18 • by Greasio
Must update my portfolio count.  Didn't know each page was an "application".

Re: Yes, It Really is Three Tiers

2006-11-06 14:22 • by Me
Alex Papadimoulis:

... the Java Guru explained what an "application" was: a single, JSP page. Jack double checked and confirmed that this is what the Java Guru meant when he referred to his "seventy application" portfolio.

This is awesome!

I am going to embrace this, writing my CV.
 

Re: Yes, It Really is Three Tiers

2006-11-06 14:22 • by Anymoose Jr

Oh and I almost forgot to mention what the Java Guru meant by
"three-tier" architecture: Java in between the "Apache" and "Oracle"
tiers.

 

Well replace that with "Apache-facing Java", "Pure Java" (which buisness logic is), and "Oracle facing Java" and you've got a fair definition. While he could mean what it says, if you give him the benefit of the doubt then he is correct.

 

A poor WTF imho. 

 

Re: Yes, It Really is Three Tiers

2006-11-06 14:24 • by Dale Williams

No, THERE ARE FOUR TIERS!!!

 

Sorry, had to do it.

 

DaleWill 

Re: Yes, It Really is Three Tiers

2006-11-06 14:27 • by It's a Feature

Comments?

We don't need no stinkin' comments.

Re: Yes, It Really is Three Tiers

2006-11-06 14:31 • by biziclop

As a Java developer I can't help but feel ashamed.

 

When I was younger I used to honestly think that one of the advantages of Java is its relative complexity (as opposed to php), so it's almost impossible for a trained Java developer to be stupid. How stupid was I!

Re: Yes, It Really is Three Tiers

2006-11-06 14:31 • by dsfgsddsfgsdfgdsffg
99651 in reply to 99640
Anonymous:

MS-Access has a similar three-layer structure: the front-end, the back-end, and the caveman-sloping forehead of the "Access developer/architect" at the keyboard.

I worked with a guy that said this.  The Access GUI was the front end, the network was the middle tier, and the MDB sitting on a server was the back-end.

Re: Yes, It Really is Three Tiers

2006-11-06 14:36 • by emurphy
99653 in reply to 99650
biziclop:

As a Java developer I can't help but feel ashamed.

 

When I was younger I used to honestly think that one of the advantages of Java is its relative complexity (as opposed to php), so it's almost impossible for a trained Java developer to be stupid. How stupid was I!

 

Some people will manage to fuck up an iron ball if you give them enough time.

 

Re: Yes, It Really is Three Tiers

2006-11-06 14:37 • by E.thermal

ok but I find it hard to believe that their entire development staff "only" knew perl.  How does one only know perl?  To only know perl means you started your development learning with perl and only used perl after that?  And to believe an entire development team was like this? If by team you mean one developer I would understand a little better but a whole team?

shenanigans.   not the whole story just that the entire development team can only understand perl and that the entire applciation and all supporting applications was written in perl and this was suppose to be a viable company/product.

 

 

Re: Yes, It Really is Three Tiers

2006-11-06 14:37 • by Amazed
99655 in reply to 99651
Ahem, three tears, was it?

Re: Yes, It Really is Three Tiers

2006-11-06 14:42 • by Michael
99656 in reply to 99654
ok but I find it hard to believe that their entire development staff "only" knew perl. How does one only know perl? To only know perl means you started your development learning with perl and only used perl after that? And to believe an entire development team was like this? If by team you mean one developer I would understand a little better but a whole team?

shenanigans. not the whole story just that the entire development team can only understand perl and that the entire applciation and all supporting applications was written in perl and this was suppose to be a viable company/product.
This was in the days of web 1.0, I would imagine the process was that anyone who could perform basic arithmetic in Excel was promoted to "web developer", and handed a stack of Perl training manuals.  There was a lot of this going on back then.  Probably the "Java Guru" was the first outsider they ever hired with prior programming experience.

Re: Yes, It Really is Three Tiers

2006-11-06 14:45 • by biziclop
99657 in reply to 99653
emurphy:
biziclop:

As a Java developer I can't help but feel ashamed.

 

When I was younger I used to honestly think that one of the advantages of Java is its relative complexity (as opposed to php), so it's almost impossible for a trained Java developer to be stupid. How stupid was I!

 

Some people will manage to fuck up an iron ball if you give them enough time.

 

It's funny and in a way sad how one turns from Asok into Dilbert and finally into Wally.
 

Re: Yes, It Really is Three Tiers

2006-11-06 14:48 • by WebGTx
99659 in reply to 99654
Anonymous:

shenanigans.   not the whole story just that the entire development team can only understand perl and that the entire applciation and all supporting applications was written in perl and this was suppose to be a viable company/product.

There's a big difference between "understanding" and "knowing." Half of the devs I work with "understand" Assembly, but I don't think you'd want to run any software we would write in asm ...

Re: Yes, It Really is Three Tiers

2006-11-06 14:49 • by EvanED

Alex Papadimoulis:
It didn't help when the Java Guru showed off his code, either: a single Servlet where the code for a single method ran over thirty pages (he liked to print stuff out a lot), used string concatenation to build the HTML, interspersed direct call to JDBC, and didn't contain a single comment. It was a work of art, in a Jackson Pollock sort of way.

 Dude, don't diss Jackson Pollock like that...
 

Re: Yes, It Really is Three Tiers

2006-11-06 14:49 • by Anonymous

This is not a WTF. This is an OMG!

 

Captcha: whiskey - I'll bet the company owners needed lots of this too.

Re: Yes, It Really is Three Tiers

2006-11-06 14:54 • by Brian

It's astonishing that 30 pages of code in a single method worked at all. Beyond the obvious ridiculousness of if such a long-running method, there is the issue that in Java you're allowed a maximum of 64K characters inside of a try/catch block.


 

Re: Yes, It Really is Three Tiers

2006-11-06 14:56 • by Tom
99663 in reply to 99656
Anonymous:
ok but I find it hard to believe that their entire development staff "only" knew perl. How does one only know perl? To only know perl means you started your development learning with perl and only used perl after that? And to believe an entire development team was like this? If by team you mean one developer I would understand a little better but a whole team? shenanigans. not the whole story just that the entire development team can only understand perl and that the entire applciation and all supporting applications was written in perl and this was suppose to be a viable company/product.

This was in the days of web 1.0, I would imagine the process was that anyone who could perform basic arithmetic in Excel was promoted to "web developer", and handed a stack of Perl training manuals.  There was a lot of this going on back then.  Probably the "Java Guru" was the first outsider they ever hired with prior programming experience.

That's right.   Back in the day, you got hired just for knowing English.   Then if you were ambitious, you'd learn to "code" by looking at whatever was being used at the dotcom where you worked.   Then you'd jump in and make a few bug fixes on the production site.   Then you're an expert.     I bet "only knew perl" was being too generous, in reality those developers "only knew just barely enough perl to keep their current site running."

Re: Yes, It Really is Three Tiers

2006-11-06 14:57 • by emurphy
99664 in reply to 99662
Anonymous:

It's astonishing that 30 pages of code in a single method worked at all. Beyond the obvious ridiculousness of if such a long-running method, there is the issue that in Java you're allowed a maximum of 64K characters inside of a try/catch block.


 

 

You're assuming he used try/catch.

 

Re: Yes, It Really is Three Tiers

2006-11-06 14:59 • by Amazed
99665 in reply to 99662
Anonymous:

It's astonishing that 30 pages of code in a single method worked at all. Beyond the obvious ridiculousness of if such a long-running method, there is the issue that in Java you're allowed a maximum of 64K characters inside of a try/catch block. 

Assuming you are right about the 64K code limit (that's about 1600-ish lines of code) in a Java try/catch block (I have no clue - never heard this before, not that I'd ever have any reason or desire to ever try it out), you are assuming that this guru actually used a try/catch construct. Anyone with that much code in one block likely doesn't think about the word error.

Re: Yes, It Really is Three Tiers

2006-11-06 14:59 • by hyness

At least they had the decency to go belly up, and not leave this enterprisey application as a festering pile of legacy code to support.

Hey, I'm a glass half full guy ;-)

Re: Yes, It Really is Three Tiers

2006-11-06 15:01 • by FrostCat
99667 in reply to 99662
Anonymous:

It's astonishing that 30 pages of code in a single method worked at all. Beyond the obvious ridiculousness of if such a long-running method, there is the issue that in Java you're allowed a maximum of 64K characters inside of a try/catch block.

That kind of assumes, doesn't it, that the guy used try/catch blocks.

Re: Yes, It Really is Three Tiers

2006-11-06 15:03 • by hyness
99668 in reply to 99665

Java has checked exceptions that have to be caught or the code won't compile.  Judging from the timeline, most exceptions were checked at this point.  Any JDBC coding must be done in try catch blocks because SQLExceptions and subclasses are checked.

Re: Yes, It Really is Three Tiers

2006-11-06 15:08 • by RH
99669 in reply to 99641
Anonymous:

If he not use templates, his code will be horrible. But with templates, that can be a nice thing.

I mean, YES, as most data-centered code on the oracle side. Bussiness logic on java, and templates for display. What is sooo wrong here? 

 

In america, we have a little bit of general advice that goes something like this:  

Every group of friends has one friend that nobody likes, but everybody tolerates for the sake of not rocking the boat.  If you don't know who that person is in your group, it's you.

Of course, this can loosely be applied to technology.

Every company has one WTF developer that the management just won't fire.  If you don't know who that person is, it's you.  If you don't get the joke, you're probably the source of the problem......

Re: Yes, It Really is Three Tiers

2006-11-06 15:08 • by SomebodyElse
99670 in reply to 99668

 

Java has checked exceptions that have to be caught or the code won't compile.  Judging from the timeline, most exceptions were checked at this point.  Any JDBC coding must be done in try catch blocks because SQLExceptions and subclasses are checked. 

 

Just declare the exception to be thrown, and you are done with it.

 

 

Re: Yes, It Really is Three Tiers

2006-11-06 15:09 • by Amazed
99671 in reply to 99668
Anonymous:

Java has checked exceptions that have to be caught or the code won't compile.  Judging from the timeline, most exceptions were checked at this point.  Any JDBC coding must be done in try catch blocks because SQLExceptions and subclasses are checked.

Fair enough.

Question: I just jammed 65K of code into both a try AND catch block - compiles and runs. What exactly is this 64K limit?

Re: Yes, It Really is Three Tiers

2006-11-06 15:10 • by Volmarias
99672 in reply to 99668
This sounds kind of like my company. Except that our company doesn't have the abject failure in every corner that this company appeared to.

Re: Yes, It Really is Three Tiers

2006-11-06 15:12 • by mbvlist
99673 in reply to 99668
Anonymous:

Java has checked exceptions that have to be caught or the code won't compile.  Judging from the timeline, most exceptions were checked at this point.  Any JDBC coding must be done in try catch blocks because SQLExceptions and subclasses are checked.

So?

...

try{db.execute("select...");}

catch(){}

...

Not to hard to catch those errors... :P

 

Re: Yes, It Really is Three Tiers

2006-11-06 15:12 • by dhoffman
99674 in reply to 99640
Anonymous:

MS-Access has a similar three-layer structure: the front-end, the back-end, and the caveman-sloping forehead of the "Access developer/architect" at the keyboard.

 I'm a bit tired of you IT snobs ranking on Access developers.  Some of us code carefully, use best practices, and produce well running applications that work well for the users.

 Not every application has to be cutting edge, super tech and state of the art.  Get a life and say something positive instead of making fun of something that isn't even relevant to this topic.

Re: Yes, It Really is Three Tiers

2006-11-06 15:12 • by Hopefully not seeing the obvious
99675 in reply to 99672

Volmarias:
This sounds kind of like my company. Except that our company doesn't have the abject failure in every corner that this company appeared to.

Your company has all the symptoms of a cluster fuck-up, but hasn't yeat crashed and burned? Can't help wondering what's down the road for you...

Re: Yes, It Really is Three Tiers

2006-11-06 15:14 • by hk0
99676 in reply to 99663
Anonymous:

That's right.   Back in the day, you got hired just for knowing English.   Then if you were ambitious, you'd learn to "code" by looking at whatever was being used at the dotcom where you worked.   Then you'd jump in and make a few bug fixes on the production site.   Then you're an expert.     I bet "only knew perl" was being too generous, in reality those developers "only knew just barely enough perl to keep their current site running."

I'm detecting a bit of perl hate in this thread. *tear* 

Re: Yes, It Really is Three Tiers

2006-11-06 15:16 • by Anon
99677 in reply to 99671

An older version limit perhaps?

 

captcha = quality. Ha! 

Re: Yes, It Really is Three Tiers

2006-11-06 15:18 • by sms is a joke

"It was a work of art, in a Jackson Pollock sort of way."

That was worth the price of admission. 

It's a series of tiers, actually

2006-11-06 15:20 • by bd

A much better explanation of Enterprisey Java: 

"And again, the Java application is not something you just dump your code on. It's not a single servlet. It's a series of tiers. And if you don't understand those tiers can be layered and if they are layered, when you put your classes in, it gets on top and it's going to be crashed by anyone that puts into that tier enormous amount of code, enormous amounts of code."

Re: Yes, It Really is Three Tiers

2006-11-06 15:20 • by biziclop
99680 in reply to 99665
Anonymous:
Anonymous:

It's astonishing that 30 pages of code in a single method worked at all. Beyond the obvious ridiculousness of if such a long-running method, there is the issue that in Java you're allowed a maximum of 64K characters inside of a try/catch block. 

Assuming you are right about the 64K code limit (that's about 1600-ish lines of code) in a Java try/catch block (I have no clue - never heard this before, not that I'd ever have any reason or desire to ever try it out), you are assuming that this guru actually used a try/catch construct. Anyone with that much code in one block likely doesn't think about the word error.

The 64k rule is for entire methods. No method can be longer than 64k according to the JVM specs. (Even though code length is stored on 4 bytes in the class file.) However, it has nothing to do with try-catch.

Re: Yes, It Really is Three Tiers

2006-11-06 15:21 • by Russ
99681 in reply to 99674
dhoffman:
Anonymous:

MS-Access has a similar three-layer structure: the front-end, the back-end, and the caveman-sloping forehead of the "Access developer/architect" at the keyboard.

 I'm a bit tired of you IT snobs ranking on Access developers.  Some of us code carefully, use best practices, and produce well running applications that work well for the users.

 Not every application has to be cutting edge, super tech and state of the art.  Get a life and say something positive instead of making fun of something that isn't even relevant to this topic.

 

It's not necessarily access developers that people are ranking on, but more Access itself as a product.  It's fine for a small db that nobody cares about, but once it starts getting used in production, there is no excuse to go to something like SQL Express.   (Which is free btw, while access is not).
 

Re: Yes, It Really is Three Tiers

2006-11-06 15:24 • by dhoffman
99682 in reply to 99681
Anonymous:
dhoffman:
Anonymous:

MS-Access has a similar three-layer structure: the front-end, the back-end, and the caveman-sloping forehead of the "Access developer/architect" at the keyboard.

 I'm a bit tired of you IT snobs ranking on Access developers.  Some of us code carefully, use best practices, and produce well running applications that work well for the users.

 Not every application has to be cutting edge, super tech and state of the art.  Get a life and say something positive instead of making fun of something that isn't even relevant to this topic.

 

It's not necessarily access developers that people are ranking on, but more Access itself as a product.  It's fine for a small db that nobody cares about, but once it starts getting used in production, there is no excuse to go to something like SQL Express.   (Which is free btw, while access is not).
 

 

Well, then please omit the comments about the sloping foreheads.  Thank you.

Re: Yes, It Really is Three Tiers

2006-11-06 15:34 • by Anonymous Noel Coward
Alex Papadimoulis:

...most knew Java only as that bitter beverage they add sugar, cream, and (occasional) whiskey to, and drink every morning.



So who made the coffee the day they interviewed guru? 

Re: Yes, It Really is Three Tiers

2006-11-06 15:35 • by stubborn buffer
99685 in reply to 99674

Uh-oh, caveman angry!

Actually I do Access "dev" every now and then, so it's all in good fun. Let me try this again:
--
Visual FoxPro has a similar three-layer structure: a thick client, a thin database layer, and a very thick barrier preventing any FoxPro users from learning new technologies.
--

See, that was even easier!

Re: Yes, It Really is Three Tiers

2006-11-06 15:36 • by Gsquared
99686 in reply to 99662
Anonymous:

It's astonishing that 30 pages of code in a single method worked at all. Beyond the obvious ridiculousness of if such a long-running method, there is the issue that in Java you're allowed a maximum of 64K characters inside of a try/catch block.

Keep in mind that a standard 60-line page has about 4.4k characters per page maximum (74 wide x 60 rows = 4,440), including spaces, assuming no double-spacing on paragraphs, 12-point font, etc.  Assuming some whitespace (lines that don't go all the way across the page, some paragraph indenting, etc.), and you end up with an average of 2k characters per page (I've actually worked in a typesetting office, and this is pretty usual for letter size paper).  At 2k characters per page, 64k characters is 32 pages.

Re: Yes, It Really is Three Tiers

2006-11-06 15:36 • by JD
99687 in reply to 99681

Anonymous:
It's not necessarily access developers that people are ranking on, but more Access itself as a product.  It's fine for a small db that nobody cares about, but once it starts getting used in production, there is no excuse to go to something like SQL Express.   (Which is free btw, while access is not).

Not everything was designed and deployed yesterday.  MS Access has been around for ages, and SQL Express has not.  SQL Express may be free, but in a business environment where every user has all of the MS Office products installed on their machine by default, MS Access is configuration free - nobody has to think (even for a second) about deploying a MS Access project properly.  If you have 5,6,7 year old MS Access databases being utilized by small workgroups, and it works fine, why would want to waste valuable development resources to switch over to SQL Express?

Re: Yes, It Really is Three Tiers

2006-11-06 15:36 • by Volmarias
99688 in reply to 99675
Anonymous:

Volmarias:
This sounds kind of like my company. Except that our company doesn't have the abject failure in every corner that this company appeared to.

Your company has all the symptoms of a cluster fuck-up, but hasn't yeat crashed and burned? Can't help wondering what's down the road for you...



Well, our product is a java middleware, and it has basically 1 page. There are a few key differences.
1) Our middleware actually is a middleware.
2) We have a more effective method of determining what to show right now than ten thousand if then else statements
2a) We're "one page" in the sense that its not a single JSP page, but that our middleware accepts one particular URL (sans GET/POST bits).
3) Our company has been around for quite some time (think decades), and we seem to be doing pretty well. Trivial management annoyances aside, we all actually work pretty well.
4) We have quite a few clients, and they stick around. They like our product over those of our competators, as well as our willingness to do what's necessary to accomodate them.

Our stuff works, and it works well. The older, crustier bits of our software we're slowly rebuilding and phasing out with newer technologies. If you knew who we were, I'm pretty sure you wouldn't call us a WTF at all.

Re: Yes, It Really is Three Tiers

2006-11-06 15:45 • by sf
99691 in reply to 99662
Anonymous:

It's astonishing that 30 pages of code in a
single method worked at all. Beyond the obvious ridiculousness of if
such a long-running method, there is the issue that in Java you're
allowed a maximum of 64K characters inside of a try/catch block.


 

 

If
true this smells of a compiler-specific limitation.  There's no
limitation like this in the language specification. 

Re: Yes, It Really is Three Tiers

2006-11-06 15:48 • by biziclop
99692 in reply to 99686
Gsquared:
Anonymous:

It's astonishing that 30 pages of code in a single method worked at all. Beyond the obvious ridiculousness of if such a long-running method, there is the issue that in Java you're allowed a maximum of 64K characters inside of a try/catch block.

Keep in mind that a standard 60-line page has about 4.4k characters per page maximum (74 wide x 60 rows = 4,440), including spaces, assuming no double-spacing on paragraphs, 12-point font, etc.  Assuming some whitespace (lines that don't go all the way across the page, some paragraph indenting, etc.), and you end up with an average of 2k characters per page (I've actually worked in a typesetting office, and this is pretty usual for letter size paper).  At 2k characters per page, 64k characters is 32 pages.

By the way, it's not characters of source but bytes of code. Big relief for those who have to use AccessibleTableModelChange. 

« PrevPage 1 | Page 2 | Page 3Next »

Add Comment