Enums #2 #21744 (8/20/2009 9:58:11 AM) comp.lang.java.programmer Can I have an Enum whose assigned value is a byte[]? Something on the lines of public enum Command { Command_1(byte[]{0x01,0x02,0x03}); } If the answer is yes, could someone help with the syntax to make this... Gilbert
Looking for a lightweight persistance framwork2022 (5/16/2009 5:37:11 PM) comp.lang.java.programmer I'm about to start a small web project that's going to need a small database comprising about half a dozen master data tables and two or three transactional tables. The size of the project doesn't warrant a f... Roger
Java Bit Manipulation542 (2/17/2009 12:15:04 PM) comp.lang.java.programmer Hi I need to bit-twiddle using a = b & mask where a and b are integers, but mask holds my masking information eg 0xFF as a string. Obviously this isn't working, but I can't find how to convert my string contai... Gilbert
Testing I18N web applications.122 (2/7/2008 12:01:18 AM) comp.lang.java.programmer Hi I'm trying to write a web-app that needs to accept form data using either English, Greek or Russian characters. As a native English speaker my system is set up with an English keyboard. I'm currently constr... Gilbert
file.exists() timeout?833 (1/25/2007 4:41:26 PM) comp.lang.java.programmer Hi Windows 2003 Server, JDK 1.5.0_09 I have a servlet that is trying to access a .jpg file located on another server. The servlet builds a file object and uses the .exists() method to check that its got a val... Gilbert
Java Versions230 (1/22/2007 4:41:04 PM) comp.lang.java.programmer Hi Is there anyway, that given a java .class file, I can find out what version of Java was used to compile it? Regards Roger ... Gilbert
JVM Sizing1328 (12/18/2006 10:33:52 AM) comp.lang.java.programmer Hi Is there a maximum amount of memory that can be addressed by the JVM and, if so, does it vary by JVM version? Regards ... Gilbert
Manipulating the Windows Environment from Java126 (12/6/2006 3:26:26 PM) comp.lang.java.programmer Hi I have a third party java application that talks to a back end ERP system through a C program (also third party & no source) that runs in a Windows command window (it won't run as a Windows service). This g... Gilbert
XML Database - design and access017 (11/27/2006 11:42:23 AM) comp.text.xml Hi Can anyone point me at a tutorial that explains how to "design/set-up" an XML database. Most of the tutorials I've found are just the basic how to setup a collection, and query it. Given that my knowledge o... Gilbert
XML databases329 (11/24/2006 4:39:30 PM) comp.lang.java.programmer First of all, apologies if I'm in the wrong group, but I thought that the two are likely to go together. I have an java application that sends and receives XML documents and I need to add a storage facility and... Gilbert
roger.varley's replies:
Items(7) /1
Performance in updating database625 (5/10/2006 1:27:10 PM) comp.lang.java.programmer Hi all, I post this question here as there are not much activity over at the database group. I'm updating 5000 records to the Oracle database with 8 fields. It took around 1min to finish updating. My fl... ahjiang(25)
String.valueOf() Memory Leak inside of thread.1017 (8/10/2006 7:52:00 PM) comp.lang.java.programmer If anyone could shed some light, I'd appreciate it. I have a simple class with a main method. Inside the main method is a loop. Each iteration of that loop instantiates an anonymous thread whose run method c... BLlewellyn(5)
Applets will not load with JVM 1.5.x1334 (10/9/2006 3:00:46 PM) comp.lang.java.programmer Hi I'm supporting a web-site that uses a java applet. When any client connects using either Microsofts JVM or Sun <= 1.4x in their browser there is no problem and everything works correctly. However, if the cl... roger.varley(26)
XML databases329 (11/24/2006 4:39:30 PM) comp.lang.java.programmer First of all, apologies if I'm in the wrong group, but I thought that the two are likely to go together. I have an java application that sends and receives XML documents and I need to add a storage facility and... roger.varley(26)
JVM Sizing1328 (12/18/2006 10:33:52 AM) comp.lang.java.programmer Hi Is there a maximum amount of memory that can be addressed by the JVM and, if so, does it vary by JVM version? Regards ... roger.varley(26)
file.exists() timeout?833 (1/25/2007 4:41:26 PM) comp.lang.java.programmer Hi Windows 2003 Server, JDK 1.5.0_09 I have a servlet that is trying to access a .jpg file located on another server. The servlet builds a file object and uses the .exists() method to check that its got a val... roger.varley(26)
Need an InputStream with Timeout (or equivalent)716 (8/17/2009 9:30:37 PM) comp.lang.java.programmer Hi I (think I) need an InputStream implementation that provides a timeout facility. I'm currently working with a proprietary serial device that, when a command is written to the serial output stream, will eve... nospam(2574)