| Thread | Last Post | Replies |
|
| Establishing a different *default* java.net.Socket read timeout value... | 12 Dec 2007 17:33 GMT | 5 |
I would like to figure out a way to get every socket created by any code in the JVM time out if a socket read is not responded to in X seconds. I
|
| Effective Jave | 12 Dec 2007 17:30 GMT | 2 |
Following the advice of Lew and others I have read Effective Java by J. Bloch. I think this is the best Java book I have ever read. Pragmatic, straight to the point best practices for Java with clear and *short* explanations and real-world examples. It fitted my knowledge level
|
| reflect: is a Field an Array? | 12 Dec 2007 17:03 GMT | 2 |
I'm going through the fields of a class one at a time and need to handle differently depending on whether they are arrays or scalars. What's the right way to make the distinction? The snippet below fails to detect arrays :(
|
| HashMap with a custom equality check | 12 Dec 2007 16:56 GMT | 7 |
Is there a java class that gives the functionality of a Hashtable or a HashMap but doesn't use the keys' equals() method, but rather a given equality comparar? Something like IEqualityComparer in c#: http://msdn2.microsoft.com/en-us/library/ms132151.aspx
|
| Having trouble starting with Java | 12 Dec 2007 16:41 GMT | 2 |
Hello, I have some background in programming, I use to program in pascal and I started learning Ruby a few months back so I know the principals of OOP, the problem is that I can't find a good guide to Java that I can follow and use with NetBeans, and another thing, say I
|
| Arrays.sort() slow? | 12 Dec 2007 16:25 GMT | 6 |
Why does java use to quicksort to sort byte arrays? Wouldn't it be much faster to just count the elements? (Almost count-sort.) Similarily for shorts, although not always obviously faster (requires 65k*4).
|
| Program Manager -- REQUIREMENT !!! | 12 Dec 2007 16:14 GMT | 1 |
Hope u r in the best of Health and Spirits!!!!!!!!!! This is Naveen from CSI Consulting with regards to Job Opportunity for you. Position: Project Manager;
|
| File creation in the web applications' root | 12 Dec 2007 15:11 GMT | 2 |
Is it possible to get the path at which my application root is placed by means of either the ServletContext or the ServletConfig object? What I am trying to do here is to dynamically create a Javascript file on the fly and put in the script directory of my web application. But
|
| Tomcat - post upload fails for files over 320 KB | 12 Dec 2007 12:19 GMT | 9 |
I am using a Post Servlet to handle a text file upload. As a test, the servlet currently just echoes the content of the raw request stream into the response. This has worked fine for small files, but the first time I tried to
|
| Call SQL Server 2000 Stored Procedure with in and out parameter | 12 Dec 2007 11:18 GMT | 1 |
Hello Gurus, I have following Stored Procedure defined in the SQL Server 2000 database. CREATE Procedure GetEmpDetails
|
| JNI in Eclipse, or …? | 12 Dec 2007 10:47 GMT | 3 |
Does anyone have experience with managing JNI C files inside his IDE? I use Eclipse, so would prefer a solution for it, but maybe another IDE handles this better. I posted a specific question about setting this up to the groups
|
| Tree design with generics | 12 Dec 2007 05:26 GMT | 2 |
i would like to model a Tree in Java but with the requirements that every node of the same level is of the same Node subtype. I thought about using Generics and therefore, i designed the following
|
| Servlet mapping | 12 Dec 2007 04:39 GMT | 2 |
I have a page url like this: http://servername:8080/test/Data?abc=2&cwe=n Data is a servlet. Anyway to map this in web.xml so I can change the name to:
|
| Question about Abstract classes and Interfaces | 12 Dec 2007 03:20 GMT | 7 |
This is my first post and I'll try to make it as clear as possible. I'm relatively new to Java, having a wonderful time learning the language. One thing I do have trouble seeing in my mind is the use of Interfaces and abstract classes.
|
| Generics and subclassing -- best etiquette | 12 Dec 2007 03:13 GMT | 7 |
I have come upon this several times and I am just looking for some discussion on this: given: public class MyClass extends SomeClass<String,Object> {
|