[The Java Posse] Re: How do YOU handle Exceptions?

2009-08-24 Thread Reinier Zwitserloot
But that code snippet is horrible; you should never catch an exception and 'just log it' - ONLY the very top level should ever do that. Secondly, if you do log-and-swallow, then whatever the heck you do, don't continue with your method! On Aug 24, 1:21 am, Martin Wildam mwil...@gmail.com wrote:

[The Java Posse] Re: How do YOU handle Exceptions?

2009-08-24 Thread Peter Becker
Martin Wildam wrote: [...] Maybe we should look at error handling from different point of views. First, there is the very normal dummy user who don't have a clue on what is there running in the background. Second there is a system administrator who - if something goes wrong - could see

[The Java Posse] Re: How do YOU handle Exceptions?

2009-08-24 Thread Casper Bang
What about the signal-to-noise aspect? I find that to be annoying with logging and the only sane reason to use AOP. However since I have an issue with complexity and library creep, I prefer to simply have a NetBeans plugin suppress the font color of logging statements. In the perfect world, the

[The Java Posse] Has anybody else tried Lombok?

2009-08-24 Thread Matt
My coworker and I tried it a few weeks ago and got nothing. We both got it to install but when we added the annotations and the import statements, nothing happened. Eclipse obviously saw the jar file since it would auto-add the import like it should have, but then nothing happened. I posted in

[The Java Posse] Re: Has anybody else tried Lombok?

2009-08-24 Thread Matt
Yeah, we installed it to our Eclipses. That's what's weird, it seems like it works fine for everybody but both of us. On Aug 24, 11:07 am, Casper Bang casper.b...@gmail.com wrote: Sure, works fine here on 64bit Ubuntu 9.04 and Eclipse 3.5. Did you remember to install the extension to Eclipse

[The Java Posse] Re: Has anybody else tried Lombok?

2009-08-24 Thread Reinier Zwitserloot
Hey Matt, I really don't know what to say. There's not much to go on when all I get is it doesn't work for us. Are there errors in the error view? Did you try downloading a fresh new eclipse? Give me _something_ to work with. On Aug 24, 7:28 pm, Matt mattgrom...@gmail.com wrote: Yeah, we

[The Java Posse] Re: Has anybody else tried Lombok?

2009-08-24 Thread Matt
I don't have much to go on either, it just does nothing. I get the import statement and add the annotation, then nothing. I haven't tried it on a fresh Eclipse though. I'll try it on my home machine when I get there. On Aug 24, 1:40 pm, Reinier Zwitserloot reini...@gmail.com wrote: Hey Matt,

[The Java Posse] What's a good webframework to use (wait, wait!)

2009-08-24 Thread Joshua Marinacci
Now before you heckle me or throw out 20 different frameworks, let me explain in greater detail what I mean (and if such a thing exists). Suppose I want to create a webservice which lets a client app store a single key / value pair. In about 5 minutes I could could write a servlet that

[The Java Posse] Re: What's a good webframework to use (wait, wait!)

2009-08-24 Thread Mark Derricutt
I was just thinking how this question would make for a killer open ended interview question. Without having actually use it - I think grails would come pretty close to what you want, esp. with the grails plugin architecture - I believe theres OpenID/OAuth plugins available... -- On Tue, Aug 25,

[The Java Posse] Re: What's a good webframework to use (wait, wait!)

2009-08-24 Thread Christian Catchpole
I'd just go straight for the beer... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups The Java Posse group. To post to this group, send email to javaposse@googlegroups.com To unsubscribe from this group, send email

[The Java Posse] Re: What's a good webframework to use (wait, wait!)

2009-08-24 Thread Richard Vowles
Well, I do would probably do Grails with the grails jax-rs plugin with spring authentication (just cause I know it). Don't expect Jersey to run on Google's appengine tho, it just doesn't (pain, pain pain == GAE). Then it would take you 10 mins. Richard On Aug 25, 11:34 am, Mark Derricutt

[The Java Posse] Re: VMWare buys SpringSource - thoughts?

2009-08-24 Thread Richard Vowles
Have none of you listened to the Chariot podcast where Rob Harrop (of SpringSource) speaks specifically (and in detail) about what this is about and what they are doing? Its a good listen. It also gave me some belief that someone is trying to make OSGI less of a turd.

[The Java Posse] Re: maven: multiple calls to a plugin

2009-08-24 Thread carljmosca
I believe the problem I was having is a result of my lack of understanding of maven. While I am still no expect, I believe the best way to expose multiple classes as web services in a single project with maven is to use modules. --~--~-~--~~~---~--~~ You received

[The Java Posse] Re: What's a good webframework to use (wait, wait!)

2009-08-24 Thread Mark Derricutt
One of the guys in the office pointed me to: http://code.google.com/appengine/docs/java/users/overview.html Which shows using the GAE's user service for auth. Use BigTable for storage and you should be sweeet within about 5-10 minutes. -- On Tue, Aug 25, 2009 at 10:09 AM, Joshua Marinacci