First  |  Prev |  Next  |  Last
Pages: 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
Reading resource files from a jar file
I have a configuration file intentionally buried in a jar file I'm building (and a tool to amend it before you ask). This is all working correctly but could possibly have been done better. Yesterday I searched for documentation on doing this type of thing but couldn't find anything in the standard Java 6 docum... 13 Feb 2010 00:38
64-bit JNI
I have had some requests to provide 64-bit versions of my JNI. I wondered if anyone has any pearls to share about the process. One puzzle, what sort of naming convention do you use to keep track of the 32 and 64-bit version of a DLL? I would think you need to create a new extension for 64-bit DLLs, e.g. *.DLL6... 17 Feb 2010 00:03
keyboard hits in a console app
Is there any way to track down keys pressed by the user in a console app? It means reading what he/she is typing immediately. You can read the standard input stream, but the stream is empty until the user presses ENTER. I know it's a stuff related to the operating system which always passes data to the stdin after ... 12 Feb 2010 20:12
Preventing Memory Leak when using HashMap
Hi all, Two classes below pass HashMap to each other, I want to avoid the memory leak, other than using HashMap.remove(key), how to avoid memory leak in my code below ? FormInv class get return value from a lookup on class CashLookUp, these are simplified code. Thank you for your help, Krist public c... 13 Feb 2010 09:17
Mismatch in Statement and PreparedStatement execution in OracleDB.
Alex Kizub wrote: ps.setString(1,"A "); // A+space brings, of course, the same 'A ' // A+space ps.setString(1,"A"); // A without space brings nothing Any suggestions except make text match length of the database field which makes application schema dependent? This strikes me as a clas... 11 Feb 2010 13:54
JSF + XLS ?
Let's say I want to create new XLS file with jxl (jexcel) in some controller. The function for this is createWorkbook(java.io.File file) , but it works when you put let's say c:\somedir\somefile.xls, but my problem is that this is web application, and I don't have any local directories. Any suggestions ? ... 10 Feb 2010 16:47
finite state machine with enum
hi all i have a byte stream that has to be decoded in a list of simple containers - basically I do a translation from serial to parallel. The implementation I'm using now has this form: public class RawProtocol{ private long millis=/*some initialization procedure*/; public RawProtocol(InputStream inpu... 12 Feb 2010 19:05
Mismatch in Statement and PreparedStatement execution in Oracle DB.
sqls: CREATE TABLE table1 ( text CHAR(2) ); insert into table1 values('A'); select text from table1 where text='A'; // A without space select text from table1 where text='A '; // A+space both selects bring 'A ' // A+space Java: ResultSet rs = stmt.executeQuery("select text from table1 w... 11 Feb 2010 17:19
Best Way to Process Large Text Files
Hello, I am tasked with writing an application to process some large text files, i.e. > 1 GB. The input will be csv and the output will be in the format of an IIS web server log. I've done this sort of thing before. In the past, I've just brute-forced it, with a BufferedReader and BufferedWriter handling the... 12 Feb 2010 17:57
Call for Papers: The 2010 International Conference of Information Security and Internet Engineering (ICISIE 2010)
CFP: The 2010 International Conference of Information Security and Internet Engineering (ICISIE 2010) From: IAENG - International Association of Engineers http://www.iaeng.org/WCE2010/ICISIE2010.html Draft Paper Submission Deadline: 6 March, 2010 Camera-Ready papers & Registration Deadline: 31 March, 2010 WCE 2... 10 Feb 2010 06:40
First  |  Prev |  Next  |  Last
Pages: 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79