Buffered RandomAccessFile Can someone suggest a good approach for caching parts of a large data file? I've got a number of very large (multi-gigabyte) files. Each file is organized into pages of variable length. Pages can be small (< 1k) or much larger (> 1mb). The organization of the file is similar to a btree, and the access pattern ... 26 Mar 2010 20:25
Calendar question Can someone clarify for me the difference between: GregorianCalendar now = new GregorianCalendar(); and Calendar now = Calendar.getInstance(); and Calendar now = GregorianCalendar.getInstance(); I'm really not clear on what each does and when I would prefer one over the other. (I assume each ... 28 Mar 2010 18:58
java plugin for linux firefox 3.6 Hi, as for older versions of firefox I did this : ln -s /home/thorsten/jdk1.7.0/jre/plugin/i386/ns7/libjavaplugin_oji.so .mozilla/plugins/ -f But this doesn't work anymore. Has something changed in 3.6 ? Regards Thorsten ... 26 Mar 2010 10:21
sync on local variable The IntelliJ code Inspector (lint) slapped my wrist for synchronising on a local variable. What's the problem with that? The sync is on the object, not the reference, right? -- Roedy Green Canadian Mind Products http://mindprod.com Don�t worry about people stealing an idea; if it�s original, you�ll have to s... 29 Mar 2010 16:56
web service behind firewall without DNS Hi I am attempting to connect to a web service from a unix server which is behind a firewall The first problem I have is that the apache axis is complaining about the URL I can only assume this is because there is no DNS on the Unix server but I was hoping the axis client would send to the proxy before tryi... 24 Mar 2010 19:18
Exception questions I'm afraid I have some confusion about checked and unchecked exceptions. First, am I correct in believing that a checked exception is one in which the method signature contains the throws clause? For example: public void myMethod(int foo) throws SuchAndSuchException { } In other words, is the sole definiti... 26 Mar 2010 22:53
[ANN] RefleX 0.4.0 released Hi, The RefleX free engine is available for download at: http://reflex.gforge.inria.fr/running.html#download (source code is available too) RefleX is a kind of XML fa�ade in front of a bunch of Java tools. In RefleX, batch scripts and Web applications are written with few XML tags + XPath. You can start w... 24 Mar 2010 04:23
JNI get exception object class name Hi, I have written an application in which i am calling java method from C+ + using JNI(Java Native Interface). I would like to handle exceptions in C++ raised inside JAVA method. I am able to do that successfully. I also want class name of the exception object in C++ and for that I have written following code, ... 26 Mar 2010 00:18
Are there any tools which generates Java code to reading XMLfiles? On 23-03-2010 19:14, Robbo wrote: I use SAXParserFactory to read data from XML files. Lets see some sample XML: <cyclogram> <number>1</number> <step> <number>11</number> </step> </cyclogram> <cyclogram> <number>1</number> <step> <numb... 25 Mar 2010 23:10
Are there any tools which generates Java code to reading XML files? Hello, I use SAXParserFactory to read data from XML files. Lets see some sample XML: <cyclogram> <number>1</number> <step> <number>11</number> </step> </cyclogram> <cyclogram> <number>1</number> <step> <number>11</number> </step> </cyclogram> Since "number"... 24 Mar 2010 18:08 |