Tag: Java

  • Podcasts for Developers

    Until I started to travel on a regular basis I haven’t been aware of the value and information that can be found audio podcasts for developers. I thought, “Come on, what can you learn from listening to a radio?”. Nevertheless, since I had to fulfill my time with something other than staring at empty space…

  • Dbunit composite primary keys

    For some task I was doing I had to make a snapshot of mysql database having only jdbc connection available. I wasn’t able to use mysqldump (remote access) or other backup tools (I wanted to do this as part of my java program – programmatically). So, I came across http://dbunit.sourceforge.net/ which allowed me to backup…

  • Debugging GUI events

    Debugging gui events is usually not possible with regular line per line debugging and is done mostly by tracing. For debugging code that relies on Java swing events like drag and drop, mouse moving, etc., having something similar to code below is very useful: In this way you trace not only current function but also…

  • Groovy meliorates and dries

    Dynamic languages are very popular at this time and you probably had insight into at least one of them (Ruby, Python, Groovy). If you are bound to Java platform the best way to “be dynamic” IMHO is to work with Groovy. Apart from the http://groovy.codehaus.org/ where you can find documentation, getting started examples etc. there…

  • HtmlUnit as Java Screen Scraping Library

    If you are needing behavior ‘as though a real browser was scraping and using the page’ HtmlUnit is definitely the best option available. It was designed for testing websites but works great for screen scraping and navigating through multiple pages. It takes care of cookies and other session-related stuff and can execute (if you want…

  • Swing blog recommendation

    Pushing-pixels by Kirill Grouchnikov is a dynamic blog on GUIs with a special attention to swing. It has weekly digest on popular swing links and is good place to start when searching for news in that field.

  • Java Resources

    Ok, lets recommend resources in following categories: ebooks, blogs, forums. Ebooks: The JavaSeries is supported, endorsed, and authored by the creators of the Java technology at Sun Microsystems, Inc. It is the official place to go for complete, expert, and definitive information on Java technology. The books in this Series provide the inside information you…