Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Rene Smith

Greenhorn
+ Follow
since Jun 10, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rene Smith

Unfortunately I have no experience on this - however 65K does seem really low for NYC. If you consider cost of living and such it seems they are starting you at a Base Level Salary. Like I said though - I could be wrong. I'm curious to hear what others have to say.
15 years ago
I've set my Attribute in the ibm-web-ext.xmi file to include keepgenerated=true.

Where would I find these now kept generated java files? I've found much documentation on how to set this and where to set this, however nothing I've found tells me where websphere puts these generated files, and if I can change the location they are put on.

Thanks!!!
15 years ago
I have a jsp in WebSphere studio and I want to view the .java servlet file that is generated when the jsp is executed. Does anyone know where the java file is stored in WebSphere?

Thanks!
Rene
15 years ago
Also, I think it's more cost effective to run air conditioning in a single story home. Not sure if that matters...

-Rene
15 years ago
There really should be a category on javaranch "Do My Homework" - posts by college students who actually think we sit around and wait to do someone's assignment
The code looks good to me. The only thing you could do is set the obj = null, rs = null, statement = null, and connection = null at the end. I don't thing any of those would cause a memory leak though....
I would not store the connection in a session. Depending on your site you probably do not want a connection hanging open that long
a ton of fun for you maybe I have studied boolean math and yuk - lets not and say we did
15 years ago
can you post a snippit of your code to show where you are opening the connection all the way through where you are closing your connection?

Thanks,
Rene
Tina,

If I was you I would find a new employer. I used to work at a place where people were expected to work 60ish hours a week and carry an oncall phone 24x7. I quit!! I could not take it any more. took 18 months off from work and then found a new job that is wonderfull. I have been working here for about 18 months and it seems like just yesterday I started. I work 40 hrs per week and then have only worked 2 saturdays since I got here.

Good luck - I hope you are able to find something that works for you.

-Rene
15 years ago
Thanks! I would love one too

smithje77@yahoo.com

-Rene
15 years ago
could you please post the code where the session is being lost?

-Rene
15 years ago
We've actually delt with this as well. We attempted to implement best practices:

close the statement and resultset seperately. Always put the closes for the statement and the resultset in the finally block enclosed in an if statement...

Ex
if(rs != null)
{
rs.close();
rs = null
}

if(statement != null)
{
statement.close();
statement = null;
}

if(connection != null)
{
connection.close();
connection = null
}

Also, use prepared statements whenever possible (more efficient). We had problems with our connection pooling dumping our users until we finally moved from tomcat to websphere.

-Rene
add the arraylist to the session or request object. In the jsp get the arraylist and itterate through the arraylist using the getter methods to get the values out of the bean.
15 years ago