java
Finding Hidden/Swallowed Exceptions in IntelliJ and Eclipse
Submitted by Matt Fleming on Tue, 2010-01-19 11:14.
When working with an event driven asynchronous application, it is difficult to troubleshoot Exceptions. It is difficult to figure out exactly why an Exception occurred and sometimes it is difficult to even determine that an Exception has occurred at all. I ran into this last problem when writing a GWT application; the client was swallowing all sorts of Exceptions. Here's how I was able to shed some light on spurious and hidden exceptions...
Java Memory Puzzle
Submitted by Matt Fleming on Tue, 2009-06-02 14:55.
After reading a JavaSpecialists article about a Java Memory Puzzle (about whether nulling local variables was ever really necessary), I wanted to see if I could figure out the answer.
How to install GXT (or any other binary distribution) into Nexus (or any other maven repository)
Submitted by Matt Fleming on Fri, 2009-04-10 08:58.Solution: Intellij IDEA won't synchronize with file system changes
Submitted by Matt Fleming on Wed, 2008-12-10 19:12.
Normally this isn't an issue. I've been working with IntelliJ for a few years now and never had this problem before. But no matter what I did, the IDE would only present me with an old version of my filesystem whenever the choose location dialog would come up. Then stranger things started to happen... I couldn't create a new project, builds started to fail and classes that existed on the filesystem wouldn't show up in the project. I took me a while to figure out how to get things back on track, even though the solution takes about 2 seconds once you know what to do.
How Spring Security hooks to Central Authentication Service (CAS)
Submitted by Matt Fleming on Wed, 2008-12-10 10:53.
Our latest software project used CAS for authentication and single sign-on. I couldn't find any good documentation on how Spring Security and CAS played together. There is some documentation about how to configure your application to use CAS but not much on what messages go back and forth by whom and when.
- 35 comments
- Read more
- 46092 reads
Running Maven Built Web Applications Directly From Intellij IDEA
Submitted by Matt Fleming on Wed, 2008-12-10 00:07.
Here's how you can run maven built web applications directly from within Intellij IDEA 8. Once you run this way, you completely eliminate the code, build, deploy, restart cycle just when you want to make a change... you can even change classes on the fly (hot swapping).
- 10 comments
- Read more
- 14466 reads
WS-Security, Weblogic 10.2, Service Controls, and legacy namespaces
Submitted by Matt Fleming on Sun, 2008-08-03 13:42.
I was working on a Weblogic Portal application that needed to get information from a secure (WS-Security) third party web service over https. This web service used a legacy (pre-OASIS) WS-Security namespace and modern clients (like the one bundled with Weblogic server) don't create messages that conform to the old specification. Here's what I did to work around this restriction...
QName exception when generating a Service Control in Weblogic Workshop 10.2
Submitted by Matt Fleming on Wed, 2008-07-09 11:35.OSX: The Apache Tomcat Native library... was not found on the java.library.path
Submitted by Matt Fleming on Mon, 2008-02-18 15:08.
Here's how to get rid of the log message-- INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path when you startup Tomcat on OSX. On Windows, all one needs to do is drop in a precompiled dll, on OSX there are a few more steps...
Dynamic list binding in Spring MVC... what? why?
Submitted by Matt Fleming on Fri, 2007-09-07 21:33.
Previously, I wrote an article on how to achieve dynamic list binding in Spring MVC. Since I wrote that article, I have received emails and comments that ask (in a roundabout way) Why would I need to do this? When I wrote the other article I didn't explain the why; I just wrote the how. Here's why you need dynamic binding and the problems it is trying to solve.
- 20 comments
- Read more
- 22310 reads
