All posts tagged with 'Java'

On Java Threads: A fairytale of a tutorial

12-Jul-07

I always thought that the Java Thread API is something… strange. If you work in a frontend application, things like running long-running tasks in the back without having the GUI ugly frozen and not responding should be somewhat simpler. SwingWorker has been around for quite a time but made it just recently into the core […]

Read the complete article »

Rails and Grails revisited

25-Jun-07

I’ve never thought that my little little post would made such an impact. While writing that post i was frustrated explaining the Spring configuration to my colleaques again, i was frustrated over the url mappings and so the post was a little harsh. I don’t think that Hibernate is inferior to Active Record, regarding Spring […]

Read the complete article »

Using Hibernate with Oracle Spatial

05-Feb-07

Oracle Spatial Datatype JGeometry from the spatial api (which can be found here) can easily be used with hibernate through a custom dialect and a custom type that delegates to an instance from oracle sdo api. Everything that is needed is here: Mapping Spatial Oracle type SDO_GEOMETRY to JGeometry The only quirk with this solution […]

Read the complete article »

On writing binary data from within Oracle Forms 6i

29-Jan-07

There is this nice project of ours from 2002…. developed with Oracle Forms 6i and database PL/SQL Procedures. This project runs fine with an estimated 6gig database. Plain old client server model. We have some XML / XSLT based HTML reports that are processed – thanks to Oracle 9i – directly in the database with […]

Read the complete article »

JComboBoxes auf maximale Größe bringen

09-Nov-06

Manchmal ist es praktisch, wenn eine JComboBox keinen Scrollbalken mehr hat. Ist bei extrem vielen Einträgen natürlich nicht sinnvoll, aber bei einer überschaubar großen Zahl schon: iimport javax.swing.JComboBox;   public class Blah { public void blub() { final JComboBox combo = new JComboBox(); combo.setMaximumRowCount(combo.getModel().getSize()); } }iimport javax.swing.JComboBox; public class Blah { public void blub() { […]

Read the complete article »