Top.Mail.Ru
January 31st, 2005 - Java developers — LiveJournal
? ?

Java developers

January 31st, 2005
 

12:30 am - Imageex_2fresh906 - Which IDE do you use to develop Java/J2ME?

Why this product? Thanks!
Image

11:11 am - Imagejaq - call stack introspection

I'm reading an article that suggests you can do introspection of the call stack by using
new Throwable().getStackTrace()
and looking through the array of StackTraceElements it returns. Which is true, it should work. But isn't this a very expensive operation to be performing?
Image

01:57 pm - Imagefiddle_dragon - Does the happy problem resolution boogie....

Last week I posted frustrations with learning the Ant API to solve a project puzzle.

Got it working.

I used the org.apache.tools.ant.Project class, which loaded and parsed a file. Via the news groups, I found that I had to use a deprecated method, because apparently there may be a bug in the currently recommended method, and it was not parsing my build file correctly.

Anyway - wrapping a try/catch block around the project.executeTarget(String targetName) method, I was able to get my simple boolean.

Error and System output were redirected to files so that nothing reports to the screen.

We will have a service check the logs to determine whether or not an error happened with the previously run process, so real time notification of errors was not only not important, was definitely not wanted.

The nice thing is that I can eventually build a listener/logger class that will write my error files exactly the way we want them, which will make error reporting/viewing significantly easier.
Image

03:17 pm - Imageicode - Java help.

Would like to learn Java. Any suggestions as to tutorials, books, etc.?
Powered by LiveJournal.com
Image