[java ee programming] incompatible type stumper

2009-06-08 Thread JAaronAnderson.com
I am getting incompatible types - found int but expected java.lang.String every time I run code snippett and not sure why ... even if I set my @param to be a declared String in my constructor and initialize it in the top of the class also as a string for some reason it WILL compile but just not

[java ee programming] unclear new Object declaration

2009-03-18 Thread JAaronAnderson.com
I am trying to discern another programmer's code (good luck I know) In a class that tests connectivity to a datasource, the first line after the try { opening up is a statement that I am not clear on. it is like this import model.Manager; public class DataSourceConnectionObject { public