This week in the JavaWorld developer forums

Opinion
Jun 28, 20072 mins

Week of June 25, 2007

Featured discussion:

Using Spring LDAP for directory accessLDAP programming with JNDI traditionally means spending too much time handling checked exceptions, closing resources, and looping through NamingEnumerations. Does Spring LDAP make a difference? JavaWorld readers talk back after reading Sunil D. Patil’s “Simplify directory access with Spring LDAP”  (JavaWorld, June 26, 2007). 

More active discussions this week:

 Is Java ready for the desktop, or not?

I’ve read some articles about Java 6 being the Java platform’s “desktop edition.” Is the JVM still too slow for desktop applications? Should I go for the .Net platform or can Java do the job?

Stripping non-numeric characters from a string

I’m working on a programming exercise where you have to count the occurrences of a number in a string. So far I have everything working, but I am stuck on how to pull non-numeric characters out of the string. Any ideas on how I should approach this one?

Handling memory leaks in Java

I am trying to configure an application in Sun One Portal Server 3.0 SP5 (Solaris 8). During configuration I tried to import some XML files and got the error: Exception in thread “main” java.lang.OutOfMemoryError. Please help ASAP!

Advice for a newbie

Quick answer: Don’t panic. A bit longer: Break it down into little steps, even minute ones. Write out on paper what steps are required to do what you need to do, and then slowly build your program …