| Thread | Last Post | Replies |
|
| Problem applying generics to my code. Is there a better solution? | 06 Apr 2007 16:50 GMT | 9 |
All, I am working on a statistical inference library and have run into a limiting case of using generics for type safety. I hope someone is able to suggest a more elegant solution to my problem that I currently
|
| Adding javamail library | 06 Apr 2007 14:48 GMT | 2 |
I am using NetBeans IDE 5.5. I am writing an application that needs to send emails. I downloaded the javamail.zip file from the Sun site, but I cannot for the life of me figure out how to incorporate the file into my library. If anyone could explain or send me a detailed how-
|
| Mutable Dimension, argh! | 06 Apr 2007 14:47 GMT | 14 |
Mutable Dimension Is there anything you do to minimise the impact of this sun gaf? Or indeed any immutable where you have to use that Type.
|
| Sequence of calling super's constructor in Java | 06 Apr 2007 14:40 GMT | 9 |
I have some questions about calling constructors in Java: 1) Do I *have* to call the base/super class constructor from the child's constructor as the *first* line of code or can I call it afterwards also from within the child class' constructor?
|
| automated web testing advice | 06 Apr 2007 13:39 GMT | 4 |
Greetings all. I'm seeking advice on a proper approach for automating web testing. My ambitions are modest: I want to be able to programmatically go into a site, click some links, submit some forms, and ensure nothing is broken.
|
| Does Hibernate query objects in memory in addition to the database? | 06 Apr 2007 05:20 GMT | 1 |
I'm using Hibernate 3.0.5, JDK 1.4.2, and WebLogic 8.1.4. I discovered something odd in how a Hibernate query was behaving.
>From what I can tell, the behavior makes me think that when a Hibernate query executes, it doesn't just query the database, but it
|
| How to run SWT Application in HelloWorld Plugin Example | 06 Apr 2007 04:31 GMT | 2 |
I have created some small application in SWT. I tried sample plugin example Hello World sample which was available. When i execute a Hello World plugin as a new Eclipse Application, then a button will be displayed on the
|
| HttpURLConnection | 06 Apr 2007 01:39 GMT | 3 |
If I set setFollowRedirects to true - how do I get the resulting URL? Even if it redirects a number of times?
|
| Eclipse: how to set breakpoint on library JAR source? | 05 Apr 2007 23:44 GMT | 2 |
In my Eclipse Java project I have an exception occuring inside one of the external JAR files that make up the project (apache commons-validator). I've downloaded the commons-validator source and in the Eclipse IDE linked the source path to the JAR file so that I can now see where ...
|
| Am I right in a way to measure CPU time consumed by a block of code? | 05 Apr 2007 23:01 GMT | 1 |
I want to measure the CPU time, not the "apparent" user time, consumed by a block of code in my Java program. This Java program was translated from Fortran program and now we want to do some bench mark to compare with its original Fortran program, but we don't want to count those ...
|
| Wierd ArrayIndexOutOfBounds | 05 Apr 2007 22:55 GMT | 3 |
This one seems alright to look at but gives me an ArrayIndexOutOfBoundsException. I can't see where I am crossing the array bounds. //package sathyaish.practice.utilities;
|
| instance of a class in a static context?? | 05 Apr 2007 22:37 GMT | 9 |
How can I create an instance of a class in a static context? I am a newbie, please point me the right direction. My code looks like: public Class1 {
|
| How to measure the CPU time a program takes? | 05 Apr 2007 22:28 GMT | 14 |
I have a Java program. I am running it on RedHat Linux. I want to measure how long it takes to run it. One way is to set a timer right at the beginning. At the end measure how long the time has passed. But this strongly depends on how busy the CPU
|
| web.xml syntax error? | 05 Apr 2007 19:06 GMT | 1 |
I'm trying to deploy a web app from an "exploded directory" in Weblogic 9. The app worked just fine in Weblogic 8. I'm getting this message: [J2EE:160177]The application at
|
| java 2d + image rendering | 05 Apr 2007 18:31 GMT | 1 |
I was just wondering if anyone can help me with a little hobby project I have. I am trying to basically simulate conway's game of life, except that I allow the creatures to move without the need of a grid (making quite complicated). But since I want this to seem pretty cool,
|