Archiv der Kategorie: Software-Development

Using Quartz CronTrigger to generate filename timestamps for scheduling

Today we had to generate files which will be importet by another 3rd party system, to import certain XML files from our system. The other system expected the filenames to follow the a convention: PREFIX_TIMESTAMP.xml The timestamp had to be … Weiterlesen

Veröffentlicht unter Allgemein, Software-Development | 1 Kommentar

Castor: Wrap tags in CDATA when Marshalling

I am using Castor to create an XML File for a client. I am using the Castor Sourcecode Generator for Eclipse to create the Object from an XSD. Everything worked pretty well so far and the XML Output looked quite … Weiterlesen

Veröffentlicht unter Allgemein, Software-Development | Hinterlasse einen Kommentar

J2EE: Presentations about API Design and Distributed Caching

Beeing in process of doing heavy refactoring of my application’s API for my bachelor thesis, I have found two very good online-video presentations. One is about “Designing a good API” (by Joshua Bloch). Very good for everybody who is writing … Weiterlesen

Veröffentlicht unter Allgemein, Software-Development | Hinterlasse einen Kommentar

Flash-based Fileupload for Webapps

Today I was investigating in an application I maintain. In this application there are several places where images can be uploaded. Now I wanted to see if we could simplify this upload process a bit using e.g. Flash. Because we … Weiterlesen

Veröffentlicht unter Allgemein, Software-Development | Hinterlasse einen Kommentar

Hibernate and Object identity

Today I have found an interesting article about object identities using Hibernate. I think I need to get a bit deeper into that stuff. There is also an interesting discussion in the comments about different ways to create Unique Identifiers … Weiterlesen

Veröffentlicht unter Allgemein, Software-Development | Hinterlasse einen Kommentar

Get BIRT Report Viewer Example to work on Tomcat 5.0.25

Today I wanted to try out the BIRT Reporting Framework ( http://www.eclipse.org/birt/ ) but I was not successful in the beginning. Here is my configuration: BIRT Runtime Version: 2.1.1. Tomcat-Version: Apache Tomcat/5.0.25 JVM Version: 1.4.2_02-b03 I did what the tutorial … Weiterlesen

Veröffentlicht unter Allgemein, Software-Development | 1 Kommentar

Links on creating distributed enterprise systems

In the process of preparing my current J2EE application for clustering and distributed services to achive scalability and availability, I will collect links to interesting articles and concepts about this topic here: • Building Effective Enterprise Distributed Software Systems •Clustering … Weiterlesen

Veröffentlicht unter Allgemein, Software-Development | Hinterlasse einen Kommentar

Caching with Smarty and dynamic blocks

Today I wanted to enable Caching for my smarty-driven ArtistNews.de, at least for the front page, because this is the page with most pageviews and due to some heavy db-queries reponse times sometimes where more than 3 seconds, which is … Weiterlesen

Veröffentlicht unter Allgemein, Software-Development | 1 Kommentar

MySQL Exception: Illegal mix of collations

Today I ran into the problem, that I got an exception which I never got before: When I tried to login my application which uses Spring and Acegi for security, I got in the logfiles: 2006-06-06 07:56:10,855 DEBUG [http-8080-Processor24] org.acegisecurity.ui.AbstractProcessingFilter: … Weiterlesen

Veröffentlicht unter Allgemein, Software-Development | 7 Kommentare

Getting Hibernate 3.1.12 to work with JSDK 1.4

I had some trouble to get the latest Hibernate release to work. I have to use JSDK 1.4 but I got the following error message when I started my application: HTTP Status 500 – type Exception report message description The … Weiterlesen

Veröffentlicht unter Allgemein, Software-Development | 1 Kommentar