- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Cue the idiots who are going to slam java because some developers can't develop.
Admin
fist!
Admin
First post is most enterprise of all!
Admin
I don't get the 3-letter table name thing. Why would anyone do that?
Admin
As we all know, Enterprise means a 5 year mission.
Admin
To boldly go where no code has gone before............with good reason.
Admin
Which will be cancelled after 3 years.
Admin
Probably to make maintenance more difficult for the in-house developers, thus prompting management to bring the consultants back. Sounds kind of IBM-ish...
Admin
you beat me to it :)
Admin
that db schema is missing the WTF table.
Admin
Enterprise (n.), which comes from the words "enter" (to input), and "price" (to cost)
What makes a system an Enterprise system? Why, the fact that several digits are added to the end of the price.
Admin
Enterprise means a f*ckin spaceship, moron!
Admin
Umm, I just noticed the graphic... 242 items. Is that 242 tables? (Well, that seems to be a screenshot of - heh -'Enterprise Manager'. So is it 242 minus the handful of 'overhead' tables?)
If so - wow. Two-hundred-plus tables with TLNs*.
*Three Letter Names
Admin
Fisrt post!
The goggles, they do nothing.
One question: why?
My eyes are bleeding.
- Brought to you by The PostBot. Posting so you don't have to.
Admin
Absolutely. And it keeps growing. Every month or so I see an additional 20-ish tables.
Admin
Actually that's not as bad an answer as I was dreading: that at some stage there existed an RDBMS system which only allowed 3-letter table names, and some guy who used it in 350AD is now doing J2EE for these guys and doesn't see anything wrong with it.
Admin
Clearly, the real WTF here is that Java sucks ass and .NET Rocks!!!!!!!!11!11!1!!1!one1!1!!1!eleven1!!1!1!1!onehundredeleven!!1!1!
Admin
Well that's not too bad. You won't run outta TLA's for 72 years!
Some people will find ANYTHING to complain about.
Admin
He probably likes also cryptic three-letter variable names like "num", "str" and "sex"
Admin
Actually it's not. They just didn't scroll down that far.
Sincerely
Gene Hackman
Admin
Oh... I have a feeling that it's in there. :)
Admin
sounds like a government project to me, if they have a good system and for cheap it must be crap!!!
Admin
Management asks for a pile of dung, management gets a pile of dung.
My best guess is that the consultants brought am existing system that could in theory do much more, if it actually worked.
Admin
Oh I'm sure its there or it soon will be.
Now this looks really bad, but it can't be an official java abomination unless its using entity EJB's. Would those happen to be in there too?
Admin
I can relate to this WTF. So, they had a perfectly good .NET solution in place and the staff understood the technology. They brought in consultants who ripped it all apart and replaced it with a crappy solution in J2EE. Guess what's happening where I work. Yep, you guessed it: We had a perfectly good J2EE solution in place and the staff understood the technology. They brought in consultants who ripped it all apart and replaced it with a crappy solution in .NET. Why? To make it "enterprise."
Admin
Couldn't you guys just trade consultants?
No? How about everybody quit and you all swap jobs?
Something has to be able to get worked out.
Admin
An enterprise can be a very proactive solution to leveraging synergy in your ecosystem.
Admin
http://www.greenspun.com/benjamin/aaron.htm
Admin
And the only winner is the consulting outfit that took a working system (if it ain't broke...), and effectively ran it through an obfuscator along with a dash of bugs in order to create potential for future work.
Admin
Call me nit-picky if you must, but one thing that bugs the shit out of me is when people don't code to interfaces that already exist. For the love of Pete, use Map as your variable type.
Admin
More like applaud the idiots who got some poor victim company to give them money for this...
Admin
"Enterprise" == "$$$$", of course. Looks like Paula found another gig... I wonder how their budget compared -- to implement, one assumes, the same functionality. As has been said, those consultants who talk better than they code give the rest a bad name, and are usually the ones we hear about.
I hope they used SQL Server Enterprise Edition.
Admin
This doesn't look like Paula's work. Paula essentially did nothing, but those guys were hyperactive.
Admin
Why?
Admin
Are you saying that HashMap doesn't exist?
Admin
Are these new tables being created by the system? Or is the development team adding the tables for whatever reason?
I know you probably can't give too much away about this, but how did things go from 30-ish tables to 200-ish?
Admin
Enterprise! The guys at the places where I worked used to call me Paula "Enterprise" Bean.
At my new job today, my manager asked me to make my code more enterprise, so I did this. It almost compiles. I have to add enterprise skills to my cv now. "Senior Java developer with extensive experience in enterprise architecture". Ha! Doubling my daily rate!
public static final String getEnterprisePaula() { // new enterprise version of getPaula()
// allocate new empty string
String brillantString =
EnterpriseFrameworkFactory.getEnterprise().makeMeANewString(EnterpriseConstant.NULL);
// initialize to "brillant" using Enterprise Framework Services
EnterpriseFrameworkServices brillantSvc = EnterpriseFrameworkFactory.getEnterprise().getServices();
brillantString = brillantString + EnterpriseConstant.b.toLowerCase();
brillantString = brillantString + EnterpriseConstant.r.toLowerCase();
brillantString = brillantString + EnterpriseConstant.i.toLowerCase();
brillantString = brillantString + EnterpriseConstant.l.toLowerCase();
brillantString = brillantString + EnterpriseConstant.l.toLowerCase();
brillantString = brillantString + EnterpriseConstant.a.toLowerCase();
brillantString = brillantString + EnterpriseConstant.n.toLowerCase();
brillantString = brillantString + EnterpriseConstant.t.toLowerCase();
String brillantStringOnHeap = brillantSvc.allocateNewEnterpriseStringOnHeap(brillantString);
try {
return brillantStringOnHeap;
throw new Throwable("nothing to do, boss!");
}
catch (Throwable t) {} // do nothing hahaha
finally {
brillantString = new String("null"); // enterprise optimization for garbage collector
brillantSvc.deallocateOldEnterpriseStringOnHeap(brillantStringOnHeap);
brillantStringOnHeap = new String ("null"); // you never know
} // fucking brillant trick if you ask me
return (String)"null";
}
Admin
I'm not too sure about num and str, but I like sex.
Admin
Because if you decide to use a different implementation of the Map interface (for example, if you need your Map to be synchronized or don't want to be able to use null as a key or value), then you have to unnecessarily change the entire stack of methods that are anticipating a HashMap to be passed in (rather than a Map).
The reason that code change is unnecessary is because the methods that get this variable passed into it most likely don't care about what implementation of the Map interface the caller is passing in. If they do care, then that's a warning sign of bad design.
Admin
Wow. I so would have quit.
btw. Captcha is not colorblind friendly. I'm going to sue soon.
Admin
I bet that because ApprovalRequestInterface.Query is for (HashMap, String[]).
Admin
That's my favorite part.
GenericObject myRequest = ApprovalRequestInterface.Query(objectQuery, "");
True, it less code, but should would be faster!
Admin
Someone tells me this whole ordeal spawned from two company owners bragging to each other.
a) my company has an enterprise web solution!
b) we have a web solution also
a) is an an enterprise solution?
b) um, no....
a) then it's not as good! ours has the word enterprise in it!
b) bah! we'll have an enterprise solution soon! just watch!
hundreds of thousands of dollars later....
b) We now have an enterprise solution!
a) That's nice, does it also have (insert buzzword here)
b) no, what is (insert buzzword here)
a) oh, it's a great new technology that lets us do more for less!
b) oh, of course! i've heard of (insert buzzword here)! We just started implementing it yesterday!
and so the process continues....
http://dictionary.reference.com/search?q=enterprise
Admin
No, he's saying HashMap is not an interface.
Admin
Absolutely not. I'm saying that the objectQuery object should be typed to Map rather than HashMap:
Map objectQuery = new HashMap();
Similarly, the ApprovalRequestInterface.Query method should expect a Map as it's first argument, rather than a HashMap (and it very well may: we can't tell what kind of argument it expects from the post).
Admin
You forgot... "That code was wriiten by an automated code generation system!"
Admin
or
GenericObject myRequest = ApprovalRequestInterface.Query(objectQuery, new String{""});
if String[] is needed...
Admin
<..3 character table names...>
Some code-generators require that because they must attach a 4-or-5 letter random ID tag to the name for the generated programs, or for textbox fieldnames that, for ease-of-generation, are named with the table and the fieldname concatenated...and either these often have an 8-char limit.
Also, IBM used to have a limit of 6 char, since in the RPG world of fixed column programming, the column where the table being read was 6-char wide.
--Jim
Admin
Then submit the WTF code and give Alex an opportunity to show that this site is not biased towards any of the, ahem, enterprise business application platforms.
Admin
I see your point, but if ApprovalRequestInterface.Query does indeed accept a Map as the first parameter then your argument about changing code is pretty weak. He'd only have to change one line regardless, ie: HashMap objectQuery = new HashMap(); becomes TreeMap objectQuery = new TreeMap();