User Profile
Collapse
-
Precision problem in Sybase
I tried to insert a double value "0.0491" in Sybase. I found that the value stored in the table is "0.04909999 999" that I think is precision loss problem. Does anyone know what the problem is and how I can insert the value exactly "0.0491" rather than "0.04909999 999" -
Using "-classpath" in javac
If I have many jar files used to compile my java application, can I use wildcard (the example is shown below) in order to eliminating the full paths for each jar files that make the command clumsy?
javac -classpath $THIRDPARTY_HOM E/lib/*jar abc.java -
Improve performance for MDB
I have created a Message-Driven Bean application to receive message from a MQ. In fact, I anitcipate the application will receive around 10,000 messages a day and it has to do some operations like formatting data and conversion. If it process the message sequentially (one by one). It may take long time to complete. To improve the perf., I am thinking of using mutli-thread to do the operations once message comes in so that the MDB can retrieve another... -
JMS: Cannot initialize ConnectionFactory
Hi all,
I am learning JMS and so I have downloaded "Java EE SDK 5 Update 2" (available at https://sdlc5a.sun.com/ECom/EComActionServl et;jsessionid=5 00D73F57050D281 F4B6B5289DA3C25 4) and installed it on my window machine. From the package, I can use "Sun Java System Application Server" to define the necessary resources used in the JMS example programs. I have followed the instruction to create the resources before... -
What's the difference between yield() and sleep()?
What's the difference between yield() and sleep() in a multithreading program?
No activity results to display
Show More