[java ee programming] Optimization in java for String

2009-03-21 Thread Kapil.dalwani
I would like to give an example where I want space optimization using Strings in Java. I have a function String key (int i, int j){ return new String.valueOf(i) + "-" + String.valueOf(j) } Now, the number of possible values of i and j are 1-10, thus possible values of the String return by the

[java ee programming] j2ee ,asp.net,webservice

2009-03-21 Thread tilak p
hi   i have a data base project in asp.net and sql 2005     now i want only the front end in j2ee and dlls remain same in vb.net   using webservice of asp.net for dlls can we save and retrieve data from database   this is my qtion?   if possible please send me sample code   for saving and retrievi

[java ee programming] Re: GlassFish V2 server error

2009-03-21 Thread Denis Lunev
Hello, If you use windows Vista, try to install GlassFish to not system disk. I had similar problem, this solution worked for me. -- With regards, Denis Lunev Sang Shin: > If this problem persists, try to delete the .netbeans/6.5 directory > under your home directory and then try to run NetB

[java ee programming] Homework #4018

2009-03-21 Thread Karl
So am I to guess that the homework for Web Application security is wanting a form based implementation and not basic? I'm guessing this is true since it's asking for a custom error page if a unknown user is entered (xyz/xyz). If this is so, the hello1 application will also need a custom login p

[java ee programming] Re: Lab-1020 Version problem with the JDBCSample

2009-03-21 Thread Don Brumbaugh
Ok, I guess it would be good to read the lab instructions. Sorry I got this to work. Don -Original Message- From: java-ee-j2ee-programming-with-passion@googlegroups.com [mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com]on Behalf Of Don Brumbaugh Sent: Thursday, March 19, 2

[java ee programming] Re: Lab-1020 Version problem with the JDBCSample

2009-03-21 Thread Don Brumbaugh
Ok, I am still getting this error when I compile. ClassNotFoundException: org.apache.derby.jdbc.ClientDriver SQLException: No suitable driver found for jdbc:derby://localhost:1527/sample Any quesses? Don -Original Message- From: java-ee-j2ee-programming-with-passion@googlegroups.com