| Thread | Last Post | Replies |
|
| Instance Variable v.s. Local Variable | 06 Aug 2005 05:40 GMT | 4 |
What is the difference between instance variable and local variable? Is that true instance variables are shared among threads while local variable is not shared? public class Test
|
| How can I get rid of Log4j logging in unit tests? | 06 Aug 2005 03:01 GMT | 6 |
My question is about the Log4j logging system. I wrote some code using the Spring JDBC framework and I wrote some JUnit tests for my code. When I run the tests, Spring outputs thousands of debug statements to Log4j, which end up in my test report, making it
|
| inherit xdoclet ejb.relation methods from superclasses? | 05 Aug 2005 22:53 GMT | 2 |
I'm trying to find out if it is possible to inhert EJB relations defined by xdoclet from a superclass. What I mean is, imagine I have a class AbstractPersonBean. The class defines an ejb.relation to an AddressBean since every person has an address. Now I want to create
|
| Generics error messages | 05 Aug 2005 22:30 GMT | 22 |
I wonder if anyone can shed light on what this error message means: Name clash: The method addAll(Collection<E>) of type SortedArrayList<E> has the same erasure as addAll(Collection<? extends E>) of type ArrayList<E> but does not override it
|
| Properties file and save and store | 05 Aug 2005 22:01 GMT | 1 |
I am trying to load, save, load a properties file from a Swing component, but I noticed that the Properties methods are a little strange. For example, Properties.list() ...prints a '-- listing properties -- ' at the top of the output.
|
| Using a Thread to return from a method | 05 Aug 2005 22:01 GMT | 2 |
I have a question and am not sure if it is even possible but would appreciate any advice. First I will show my small self contained example of my issue. This isn't my application just a very simplistic view of what I am trying to achieve. public class Main {
|
| Buffered Reader and Countin words | 05 Aug 2005 21:28 GMT | 2 |
I've been given a question to do. Using a buffered reader I need to open a file and then count the number of words, number of characters in words and the number of odd and even words. I've got no idea of even where to start so is there anyone who can help me?
|
| Converting between two different XML forms | 05 Aug 2005 21:17 GMT | 3 |
Ok, I have been tasked with converting one XML doc to another. The structures of which are radically different. I mean, to fill in the fields of XML B I need to mannually pick fields from XML A. XML B is attribute based, XML A is tag based -- it's ugly folks.
|
| jboss usability | 05 Aug 2005 20:07 GMT | 5 |
Have anybody experience with JBoss application server? We are trying to use it without any real success and with many problem. Maybe better to select another EJB server? Thanks
|
| Hibername mapping: Specifying primary keys. | 05 Aug 2005 19:20 GMT | 1 |
We know that, the primary key for an ORM in hibernate is mapped by element id. an exampls is <id name="id" column="uid" type="long">
|
| A JDBC Question --- Statement | 05 Aug 2005 19:18 GMT | 1 |
When execute an insert, update or delete statement, we can use the following code: stmt1.executeUpdate(sql1) or
|
| Need source code w/ lots of generics | 05 Aug 2005 18:39 GMT | 1 |
I am working on updating the Java syntax highlighting rules in NEdit (http://www.nedit.org) to handle generics, and I need some code to really torture it. Any pointers to one or two source files that really push generics to
|
| Confused about JSP-only WAR file | 05 Aug 2005 18:33 GMT | 2 |
I am trying to create a JSP-only WAR file "manually", and have some questions. I am first creating a directory structure as follows: e:\work
|
| Problem with virtual serial port | 05 Aug 2005 18:24 GMT | 8 |
I have this problem: i have bluetooh dongle connected via USB to my pc and my OS is Windows XP PRO. The bluetooth dongle provides two virtual serial ports that must be
|
| Puzzling warning message | 05 Aug 2005 18:06 GMT | 20 |
I have code like this: ArrayList<ZD>allZips = (ArrayList<ZD>)ois.readObject(); It complains: Type safety: The cast from Object to ArrayList<ZD> is actually
|