| Thread | Last Post | Replies |
|
| How to access iterator? | 18 Dec 2007 11:46 GMT | 4 |
In the brief form of the loop {for( double value : collection )} can one access the iterator that is created to perform the loop? I ask as there are times that I would like to reassign the i-th value in collection to the result of an operation on value.
|
| After a while all outbound connections get stuck in SYN_SENT | 18 Dec 2007 10:12 GMT | 17 |
I have a Java application that makes a large number of outbound webservice calls over HTTP/TCP. The hosts contacted are a fixed set of about 2000 hosts and a web service call is made to each of them approximately every 5 mintues by a pool of 200 Java threads. Over
|
| Preferred way for Object <--> XML mapping | 18 Dec 2007 09:54 GMT | 1 |
which framework do developer prefer to use for Object <--> XML mapping? - jaxb - castor
|
| math calculations, java + asp | 18 Dec 2007 09:39 GMT | 2 |
I created the following form for the company intranet. All seems to work well, with the exception of the submission. After submitting, all of the answers come through in the e-mail EXCEPT the calculated answers which were figured and placed on form elements by my
|
| RandomAccessFile and futex ETIMEDOUT | 18 Dec 2007 07:32 GMT | 4 |
I see 52 ms being spent in calls to readFully() method of the RandomAccessFile. I ran strace against my process and figured that these weren't reads going to disk. All reads were being served from the buffer cache (verified by running iostat). It also looks like the
|
| Do I have to close all streams from Process Class after using the Process object? | 18 Dec 2007 06:55 GMT | 3 |
I have to use Process proc = Runtime.getRuntime().exec() method to execute OS level command such as lpr. When I traced Java source code, Process class's getErrorStream(), getInputStream(), and getOutputStream() methods are instantiated inside ProcessImpl
|
| Best way for modeling a JTree? | 18 Dec 2007 06:25 GMT | 1 |
I would be very grateful for insights considering modeling a JTree. Background ========= I am learning swing and try to build various kinds of trees.
|
| Very basic question about executing a class sans jar | 18 Dec 2007 05:58 GMT | 4 |
I am pretty sure I have solved this problem before, but would like to hear comments about it. I know that if I am going to run a simple class (for a console, tutorial type of program) with no jar I better make it part of the
|
| how to Serialize a Object to a String(or byte[]) | 18 Dec 2007 04:50 GMT | 10 |
we can writeObject to a file. but if i want Serialize a Object to a String(or byte[]) and i don't like to write the object to a file and then read it ....
|
| Tomcat5.5 query | 18 Dec 2007 04:17 GMT | 8 |
I have installed tomcat5.5. In the tomcat docs it is recommended that i install Ant build tool as well as Concurrent Version System (CVS) too. Can someone tell me, how much neccesary are these to install and use?
|
| Import efficiency | 18 Dec 2007 03:49 GMT | 7 |
Is importing a class directly ie. import java.io.InputStream more efficient than import java.io.*;
|
| Reason why enums since JDK1.5 cannot inherit | 18 Dec 2007 01:50 GMT | 5 |
am a bit annoyed because enums since JDK1.5 apparently cannot inherit from other enums. Problem is I have to plaster code like public enum MyEnum {
|
| String.split() method question? | 18 Dec 2007 01:49 GMT | 6 |
Hello all, I have a question about the String split method. I have a string s1: String s1 = "a \"single unit\" test"; String[] strArr = s1.split(" ");
|
| Apple finally releases Java 6 for OS X | 18 Dec 2007 01:44 GMT | 9 |
Only just spotted this (http://cld.blog-city.com/finally_java_se_6_for_macos_x_leopard_or_tiger.htm) and it doesn't seem to have been mentioned here yet. It's available now from the "Software Update" feature.
|
| C# developers have a higher pay | 17 Dec 2007 20:53 GMT | 12 |
Does anyone have any information to the contrary? As I've been working with the C# language, I am finding it has everything I like about Java. I have a big career investment in Java, but it seems like more and more I see large Java apps being re-written in C#.
|