Showing posts with label rants. Show all posts
Showing posts with label rants. Show all posts

Thursday, September 06, 2007

Eclipse how I hate thee

So like most developers my employer uses Eclipse as our official IDE. Honestly after a year of using Eclipse I whole heartily hate it.

I ran across this today:

Man Dies Waiting for Eclipse to Launch

A software engineer in San Jose, CA was found dead at his desk yesterday, apparently having died while waiting for his Java editing program, Eclipse, to finish its boot process. Coworkers say the engineer came in that morning vowing to "get Eclipse working on his box or die trying." The last thing anyone heard him say aloud was the cryptic comment: "I see the splash screen is appropriately blue." Nobody knows what he meant. The man was then thought to have fallen asleep, but hours later it was discovered that the engineer had died suddenly of apparent natural causes. The forensics team's investigation that evening was reportedly interrupted unexpectedly when the dead man's Eclipse program suddenly finished launching. The team tried to interact with it to see if they could find clues about the man's death, but the program was unresponsive and the machine ultimately had to be rebooted. At this time, the police commissioner says there is no evidence of foul play, and they currently believe the man simply died of either boredom or frustration.

I just had to laugh. Stevie is so funny at times. You can check out the full post here.

My main complaints with eclipse are:
  1. It takes 10 to 15 minutes to launch
  2. My database pluggin crashes 1-2 times a day giving 'PermGen Space' as the reason.
  3. Sometimes the IDE just crashes and sends me back to my desktop
  4. A few times a day it runs out of memory (as in the 2Gigs I gave it) and tells me I should close it. Telling Eclipse to close also tells me it is out of memory. Now i'm stuck with Eclipse open and not enough memory to close it.

*ugh*

Tuesday, August 15, 2006

JSF Controls

Well we chose JSF because it provides and easy method for developing custom controls. I’m not sure what convoluted definition of ‘easy’ the JSF spec uses but I think there on crack. Having used C# custom and user controls JSF’s definition is way off.

First of all you can’t just create a control and edit it with a WYSIWYG editor. C# only provides this for user controls. Which are in essence a set of controls nested together with C$ backing code.

Now with C# custom controls you basically can just write HTML to a HTTP response. Any script kiddy will feel right at home doing this. Now for a JSF control? Well first you have to define a tag class Tag.java. Here you create the setters for the properties of the tag. Then you create .java which extends UI Component now you have to implement all the abstract methods and define the family, component name, and several other things. Now finally you can define the last class which implements another interface Render.java. This class tells JSF how the control gets rendered on the screen.

So were done right? Sadly no. Now you have to define a TLD for faces to read and make sure it’s in a jar on the class-path or in WEB-INF.

Oh wait! We forgot to add the render to the faces-config.xml. Ok so now it the moon, sun and stars are aligned your control should load.

See? Isn’t JSF so wonderful and simple! *barf*