[The Java Posse] Re: What would you recommend?

2009-02-24 Thread manfred
On Tue, 24 Feb 2009 11:46:01 -0800 (PST), Paul Wallace wrote: > > At work we are trying to put together an in-house training programme > for IT staff with basic programming knowledge who want to become > developers, specifically Java developers. Head First Java and some of the other related Hea

[The Java Posse] Re: Carl's "I like turtles" ?

2009-02-24 Thread Captain Obvious
I think its quite cute really. Its exactly how kids think - what would interest the person they are talking to that also interests them. Face painted does not interest them, so its a no go, but turtles - well everyone likes them. I also appreciate Carl's pronunciation as accurate to that video.

[The Java Posse] Re: Carl's "I like turtles" ?

2009-02-24 Thread Christian Catchpole
Yeah. When interviewed later he said that he was thought the interviewer might be interested in his turtles. And being nervous, that's what came out. Something like that.. Or he was on crack, I can't remember. On Feb 25, 12:21 pm, Michael Neale wrote: > Often on The Java Technology (tm) Poss

[The Java Posse] Carl's "I like turtles" ?

2009-02-24 Thread Michael Neale
Often on The Java Technology (tm) Posse, Carl uses the quote "I like turtles": Is that from this: http://www.youtube.com/watch?v=CMNry4PE93Y --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To

[The Java Posse] OSGi vs. JEE

2009-02-24 Thread Josh Suereth
All, In the latest podcast (Feb 21?) I believe Tor made a statement of surprise that OSGi released a distributed reference implementation (Apache CXF). Shortly there after, I was talking to someone who is using OSGi as an out-and-out replacement for EJB. I wanted to spark a discussion based on wh

[The Java Posse] Re: Closure Prep for java7?

2009-02-24 Thread robilad
On Feb 24, 9:26 pm, Reinier Zwitserloot wrote: > A tonne of libraries out there will all of a sudden break when the new > java8 (or whatever) is released with new methods on java.util.List, > because they mistakenly specified compatibility with 7+. There's no > way to test for this, certainly n

[The Java Posse] Re: Closure Prep for java7?

2009-02-24 Thread Alex Buckley
On Feb 24, 12:26 pm, Reinier Zwitserloot wrote: > Right, so you agree that there are situations where a module must ask > specifically for List[1..7] and cannot just go for [1..*]. I contend > that these situations are sufficiently common that there's going to be > a LOT of headache with incompat

[The Java Posse] Re: Mint.com is looking to hire an Architect (and we use Java)

2009-02-24 Thread d...@mint.com
Glad I entertained a few of you :) Please feel free to forward around! Position still open! --~--~-~--~~~---~--~~ 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@goog

[The Java Posse] Re: SQL queries on the cheap - is it worth it?

2009-02-24 Thread Mark Fortner
In my own code I do something similar to what DBUtils does -- borrowing a page from the Grails domain object design. I put the mapping between the fields and the table columns in a Map within the bean. This allows me to explicitly state the mapping between the two -- or rather explicitly state th

[The Java Posse] Re: What would you recommend?

2009-02-24 Thread Marcelo Fukushima
id second thinking in java and also the head first series On Tue, Feb 24, 2009 at 4:46 PM, Paul Wallace wrote: > > At work we are trying to put together an in-house training programme > for IT staff with basic programming knowledge who want to become > developers, specifically Java developers. >

[The Java Posse] Re: SQL queries on the cheap - is it worth it?

2009-02-24 Thread Christian Hvid
DBUtils code look like this: QueryRunner run = new QueryRunner(dataSource); ResultSetHandler h = new BeanHandler(Person.class); Person p = (Person) run.query("SELECT * FROM Person WHERE name=?", "John Doe", h); (Which implictly calls the public no arguments constructor of People and some sette

[The Java Posse] Re: Gafter's block expression proposal.

2009-02-24 Thread Viktor Klang
Looks Scala-esque (in the positive sense) So basically the code block is executed once and the very last expression will be "returned"? On Tue, Feb 24, 2009 at 9:22 PM, Reinier Zwitserloot wrote: > > Via twitter: > > http://docs.google.com/Doc?id=ddb3zt39_77cgxvktgs&hl=en > > I like it, mostly.

[The Java Posse] Run Java Applets in FireFox/IE with JDK only (no JRE installed in the OS/XP level)

2009-02-24 Thread Tony Chen
Hi Guys, I'm facing a situation here. The app server I'm using for testing apps in IDE (a flavour of Eclipse) runs into some kind of conflict with the SUN JRE installed in Windows XP SP2. The result is the app server would hang with CPU running at 100%. Anyhow, to work around that particular issu

[The Java Posse] Re: Closure Prep for java7?

2009-02-24 Thread Reinier Zwitserloot
Right, so you agree that there are situations where a module must ask specifically for List[1..7] and cannot just go for [1..*]. I contend that these situations are sufficiently common that there's going to be a LOT of headache with incompatible modules, if this happens. You also won't get any er

[The Java Posse] Gafter's block expression proposal.

2009-02-24 Thread Reinier Zwitserloot
Via twitter: http://docs.google.com/Doc?id=ddb3zt39_77cgxvktgs&hl=en I like it, mostly. Less magic as with the BGGA proposal (where the final semi-colon or lack thereof decides between a void or a non-void return type), and far less impact. Incidentally, my forthcoming unifiying closure proposa

[The Java Posse] Re: SQL queries on the cheap - is it worth it?

2009-02-24 Thread Christian Catchpole
Well you have created one a little unnessisarily. Anything that depends on the exact class type may break. Class names get ugly etc. I don't mind the technique but these are some of the minor side effects. On Feb 24, 10:42 pm, Marcelo Morales wrote: > I am curious. Why do you think an anonymo

[The Java Posse] What would you recommend?

2009-02-24 Thread Paul Wallace
At work we are trying to put together an in-house training programme for IT staff with basic programming knowledge who want to become developers, specifically Java developers. Can anyone recommend a good tutorial based Java book for beginners that will not only teach Java but emphasis good softwa

[The Java Posse] Re: Java ME vs. Java 5

2009-02-24 Thread mbien
I hope this is the codename for the upcoming Chinese JME 5 KVM. On Feb 24, 7:27 pm, Joshua Marinacci wrote: > Ancient Kung-fu Magic (tm) > > On Feb 24, 2009, at 9:19 AM, mbien wrote: > > > > > Hello, > > > I am curious. JavaFX bytecode makes heavy use of annotations, many > > javafx RT classes a

[The Java Posse] Re: Java ME vs. Java 5

2009-02-24 Thread Marcelo Morales
Long live Kwai Chang Caine. On Tue, Feb 24, 2009 at 2:27 PM, Joshua Marinacci wrote: > > Ancient Kung-fu Magic (tm) > > On Feb 24, 2009, at 9:19 AM, mbien wrote: > >> >> Hello, >> >> I am curious. JavaFX bytecode makes heavy use of annotations, many >> javafx RT classes also use enums and generi

[The Java Posse] Re: Java ME vs. Java 5

2009-02-24 Thread Joshua Marinacci
Ancient Kung-fu Magic (tm) On Feb 24, 2009, at 9:19 AM, mbien wrote: > > Hello, > > I am curious. JavaFX bytecode makes heavy use of annotations, many > javafx RT classes also use enums and generics. How should this run on > a 1.4 J2ME KVM? > > regards, > > michael > > > On Feb 24, 5:41 am, Dere

[The Java Posse] Re: Java ME vs. Java 5

2009-02-24 Thread mbien
Hello, I am curious. JavaFX bytecode makes heavy use of annotations, many javafx RT classes also use enums and generics. How should this run on a 1.4 J2ME KVM? regards, michael On Feb 24, 5:41 am, Derek Munneke wrote: > Just to make sure that everyone is on the same page, the JavaME platform

[The Java Posse] Re: Closure Prep for java7?

2009-02-24 Thread Alex Buckley
On Feb 24, 6:15 am, Reinier Zwitserloot wrote: > Nope, if you want version 7 of List, you can't even use version 9 of > List, because version 9 of List declares 'filter', which you can't > work with. The module system does not,as far as I can tell, allow you > to make the distinction: "I'm just u

[The Java Posse] Re: SQL queries on the cheap - is it worth it?

2009-02-24 Thread Mark Fortner
Hi Christian, You might want to have a look at Apache Commons DBUtils which uses similar syntax to convert resultsets into beans using a the BeanProcessor class. Hope this helps, Mark On Sun, Feb 22, 2009 at 6:21 AM, Christian Hvid wrote: > > Hi Java people. > > I have been toying with simplier

[The Java Posse] Re: Java monitoring applications

2009-02-24 Thread Joe Data
On Feb 10, 12:02 am, Ido wrote: > Does anyone is working in production with something like that? The "data collection engine" underneath Hyperic is SIGAR (http:// www.hyperic.com/products/sigar.html) which is dual-licensed under GPL and a commercial license. It has a Java API, so it may be wort

[The Java Posse] Re: Java monitoring applications

2009-02-24 Thread Kees Jan Koster
Dear Ido, > > I've been working in the past with Nagios but lately, I was wondering > if there is a > similar (pure) Java application for that. > Does anyone is working in production with something like that? > I'm curious why you want a pure Java solution? I used Zabbix in the past, I even wrot

[The Java Posse] Re: SQL queries on the cheap - is it worth it?

2009-02-24 Thread Reinier Zwitserloot
Somebody likes the javafx syntax :) (Which, really, is understandable. Say what you want, javafx script is gobsmackingly elegant, especially for GUI programming). On Feb 23, 6:12 pm, Viktor Klang wrote: > On Sun, Feb 22, 2009 at 11:23 PM, Christian Catchpole < > > christ...@catchpole.net> wrote

[The Java Posse] Re: Closure Prep for java7?

2009-02-24 Thread Reinier Zwitserloot
Nope, if you want version 7 of List, you can't even use version 9 of List, because version 9 of List declares 'filter', which you can't work with. The module system does not,as far as I can tell, allow you to make the distinction: "I'm just using these" and "I'm extending list, and therefore you c

[The Java Posse] Re: Closure Prep for java7?

2009-02-24 Thread Viktor Klang
Jorge Ortiz, Christos Loverdos and myself have a slumbering Scala Improvement Proposal to include what you call "extension methods" to Scala code. We've experimented with different syntax and it depends on how you want it to work. I was pulling toward a more "type selector" based mechanism like t

[The Java Posse] Re: SQL queries on the cheap - is it worth it?

2009-02-24 Thread Marcelo Morales
I am curious. Why do you think an anonymous inner class is a drawback? Marcelo On Mon, Feb 23, 2009 at 8:42 PM, Peter Becker wrote: > > I quite like the instance initializers, too. The only drawback is that > they create anonymous inner classes every time you use one, but > considering the adva

[The Java Posse] Re: 'final' mandatory on parameters?

2009-02-24 Thread kirk
Peter Becker wrote: >>> nces of it are immutable since subclasses might break that >>> assumption. >>> >>> >> and that is the responsibility of the sub-class, not my mother! >> >> >> > My problem is that I am too pessimistic to believe that people will be > happy with me tel

[The Java Posse] Re: 'final' mandatory on parameters?

2009-02-24 Thread Alexander Snaps
On Tue, Feb 24, 2009 at 1:45 AM, Peter Becker wrote: > > kirk wrote: > > Peter Becker wrote: > > > >> kirk wrote: > >> > >> > >>> Peter Becker wrote: > >>> > >>> > >>> > kirk wrote: > > > > > > tackl...@googlemail.com wrote: > > > > > > > > > > > >>

[The Java Posse] Re: 'final' mandatory on parameters?

2009-02-24 Thread Peter Becker
kirk wrote: > Peter Becker wrote: > >> kirk wrote: >> >> >>> Peter Becker wrote: >>> >>> >>> kirk wrote: > tackl...@googlemail.com wrote: > > > > > >> On Feb 17

[The Java Posse] Re: SQL queries on the cheap - is it worth it?

2009-02-24 Thread Peter Becker
I quite like the instance initializers, too. The only drawback is that they create anonymous inner classes every time you use one, but considering the advantages of better encapsulation and nice scoping of the construction block I think the extra $n classes are a small price to pay. Peter Vik