User Profile

Collapse

Profile Sidebar

Collapse
veremue
veremue
Last Activity: May 19 '08, 05:00 PM
Joined: Mar 1 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • veremue
    replied to Perfomance issues in J2EE Applications
    in Java
    When inserting data is where the issue is. Soon after server restart the system is flying but slows down as time progresses, I am beginning to suspect memory leaks.
    See more | Go to post

    Leave a comment:


  • veremue
    replied to Perfomance issues in J2EE Applications
    in Java
    there are no major changes except for a few display JSPs that have been added
    See more | Go to post

    Leave a comment:


  • veremue
    started a topic Perfomance issues in J2EE Applications
    in Java

    Perfomance issues in J2EE Applications

    I am running a J2EE application(dev eloped with Rational Application Developer v7 JDK 1.5) with DB2 9. When reading data from the database there are no problems but when it comes to setting data into the database it is very slow. This issue has not been there for the past 3 months but its now cropping up now. What could be the cause of this?
    See more | Go to post

  • veremue
    started a topic storing java float/double as a string
    in Java

    storing java float/double as a string

    I want to store a float/double as String. I have an input file with a column with float values i.e. have the form 1.4E15. I want to store these values as Strings. Here is my code which is resulting in storing 1.4E15 not the value as a String.

    [code=java]

    String accNumber="";//declaring and initialisation

    //open file and read line then store the column in accNumber
    //the line read has been...
    See more | Go to post
    Last edited by Ganon11; Oct 7 '07, 04:26 PM. Reason: Fixing [CODE] tags.

  • veremue
    started a topic How to test if a particular String is a double
    in Java

    How to test if a particular String is a double

    I need to validate a string before I use the Double.parseDou ble() method to assign a value in the code below.

    [HTML]Code: Java

    String s="";//s can be a string read from the keyboard
    //double validation
    double w=Double.parseD ouble(s); [/HTML]
    See more | Go to post

  • veremue
    started a topic passing an Iterator from a Utility class to a JSP
    in Java

    passing an Iterator from a Utility class to a JSP

    I want to pass my Iterator to a JSP in the following code

    code: Java

    public class PolicyUpdateUti ls {
    public static void UpdatePolicyInc reases(){
    PolicyLocalHome ppH = (PolicyLocalHom e)Utils.getBean Home("Policy");
    PolicyLocal policyL = null;
    IncreasesLocalH ome incH = (IncreasesLocal Home)Utils.getB eanHome("Increa ses");
    IncreasesLocal incL = null;
    ...
    See more | Go to post

  • veremue
    started a topic variable values in loops
    in Java

    variable values in loops

    //Define Iterator iter

    String policyPath = "";
    while (iter.hasNext() )
    {
    deductionL = (DeductionsLoca l) iter.next();

    String policyID = deductionL.getP olicyID();

    policyL = policyH.findByP rimaryKey(polic yID);

    if(policyL.getS tatus().equalsI gnoreCase("READ Y TO GO INTO FORCE")||policy L.getStatus().e qualsIgnoreCase ("IN FORCE"))
    policyPath...
    See more | Go to post

  • veremue
    replied to java.sql.Date
    in Java
    thank you I have done so. i have a small issue now. the following code segment is producing a wrong date on the year.

    code: java

    int year = cal.get(Calenda r.YEAR);
    int month = cal.get(Calenda r.MONTH);
    int day = cal.get(Calenda r.DAY_OF_MONTH) ;

    ....

    I am setting the date as below:

    preqL.setReceip tDate(new java.sql.Date(y ear,month,day)) ;//preqL...
    See more | Go to post

    Leave a comment:


  • veremue
    started a topic java.sql.Date
    in Java

    java.sql.Date

    How can I set the current date in the format 2007-06-06 for java.sql.Date?
    See more | Go to post

  • veremue
    started a topic displaying 2-dimensional arrays in JSPs
    in Java

    displaying 2-dimensional arrays in JSPs

    NB: All code given is Java code

    I have declared my variable as follows:

    String [][] agent = new String[][];

    I have populated the array successfully.

    I now want to print the contents of my array side by side as agent[0][0] to give me an output like: Eddy 0.8 where Eddy is in the row and 0.8 is in the column.

    Thank you guys!
    See more | Go to post

  • veremue
    started a topic class not found exception
    in Java

    class not found exception

    how can i get rid of the class not found exception
    See more | Go to post

  • veremue
    started a topic initialisation
    in Java

    initialisation

    why is the following an illegal initialisation

    java code:

    String s[];
    s = {"mmmmm","jjjjj j","nnnn"}
    See more | Go to post

  • veremue
    started a topic testing for null in a single dimensional array
    in Java

    testing for null in a single dimensional array

    how do we test for null values in single dimensional string array?
    See more | Go to post

  • veremue
    started a topic size() method of the Collection class
    in Java

    size() method of the Collection class

    how do i use the size() method to get the number of elements in a collection?
    See more | Go to post
No activity results to display
Show More
Working...