User Profile

Collapse

Profile Sidebar

Collapse
joecch
joecch
Last Activity: Aug 28 '07, 02:44 AM
Joined: May 29 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • joecch
    started a topic Precision problem in Sybase
    in Java

    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"
    See more | Go to post

  • joecch
    started a topic Using "-classpath" in javac
    in Java

    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
    See more | Go to post

  • joecch
    started a topic Improve performance for MDB
    in 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...
    See more | Go to post

  • joecch
    started a topic JMS: Cannot initialize ConnectionFactory
    in Java

    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...
    See more | Go to post

  • joecch
    started a topic What's the difference between yield() and sleep()?
    in Java

    What's the difference between yield() and sleep()?

    What's the difference between yield() and sleep() in a multithreading program?
    See more | Go to post
No activity results to display
Show More
Working...