23 March 2005 - java_dev (original) (raw)

Java developers

March 23rd, 2005

03:16 pm - cepcion - unit testing servlet/db? My current job is maintaining this web application built on Servlets. I'd like to add unit tests to cover all of the database CRUD stuff. I looked at MockObjects but it seems to be quite dead. I wondered what others with more experience in TDD would recommend here. My primary requirement is good documentation so I can understand what I'm doing.
03:31 pm - mdweezer - Question I'm using Eclipse to develop a small project for class... a cheesy little videostore. Anyway, what does everyone recommend for designing the GUI? Are there any good (free) tools out there that are just as nice as Eclipse? We'll eventually hit it in class but I'm ready to start toying around with things and I really havn't found much. Thanks
03:41 pm - finickynarcane - utter newbie I'm an utter newbie at java and need to enhance a program at work. What I'm trying to do is put and int into a cell of an array defined as a String. (code snippets...)String[] results = new String[7];int BookFlag = 0; (then I use BookFlag as a counter)Eventually I try...results[6] = toString(BookFlag);Only to have the compiler tell me "toString() in java.lang.Object cannot be applies to (int)" results[6] = toString(BookFlag); ^ Um, isn't that what toString is for?Does anyone have a suggestion on how to get an int shoved into a string array element?