All Posts from Januar, 2007

Webmontag in Jena

Januar 30th, 2007 | By Christoph in Allgemein | 1 Comment »

Damit der Pagerank des Webmontags vielleicht noch etwas mehr in die Höhe getrieben wird, hier mal noch mein Senf, zu einer sehr netten Veranstaltung, welche ich gestern besucht habe.
Gestern am 29.01.2007 war ich zum ersten Mal Teilnehmer des Webmontags in Jena, einer Vortragsreihe zum Thema Web 2.0 und Semantic Web und alles was dazu gehört.

Die gestrigen Themen waren kurz zusammengefaßt:
•Webdevelopment mit AJAX und Co. mit ASP.NET
•Die FON-Community
•Blogs
Nachlesen und sogar anschauen kann man in wesentlich größerem Umfang bei folgenden Links:
Gonzo’s Nachlese
Subnetmask
Thüringer Blogzentrale

Aus meiner Sicht als Softwareentwickler fand ich den Vortrag zu ASP.NET am interessantesten, der gern hätte etwas länger ausfallen können. Obwohl ich eher in der JAVA-Welt zu Hause bin, war es interessant zu sehen, wieviel KnowHow Microsoft in die Entwicklungsumgebung gesteckt hat. Es wurde binnen 10 Minuten eine funktioniosfähige “mini” Webanwendung mit einer datenbankgestützten Produkttabelle, welche mittels AJAX in allen Spalten sortiert werden kann. Für kleinere Projekte aus meiner Sicht sehr schön, da sich so schnell lauffähige Prototypen entwickeln lassen, welche den Rahmen für weitere Iterationen bilden. Um das KnowHow kommt man ab gewissen Maß nicht mehr drumrum, auch wenn sich anfangs viel zusammenklicken lässt, was sehr gut ist.

Fazit:
Vom Grundgedanken sehr interessante Veranstaltung mit viel Potential.
Leider wurde am Ende nicht auf die angekündigte Umfrage eingegangen, ob die kommenden Veranstaltungen eher techniklastiger werden sollen, oder ob mehr Web2.0 Geschäftsmodelle vorgestellt werden sollen.
Ich werde auf jeden Fall wieder dabei sein, aber hoffe die Vorträge werden wesentlich techniklastiger und dann etwas länger als 10 Minuten – vielleicht fällt mir ja selbst noch ein nettes Thema ein ;)

Meine Wünsche für kommende Veranstaltung:
•Mehr Technik und softwaretechnische Hintergrundinfos
•Vorträge auf das wesentliche Beschränken aber auf 15 Minuten erhöhen
•Wenn (fremde oder eigene) Geschäftsmodelle vorgestellt werden, dann mehr auf Technologie dahinter eingehen

J2EE: Presentations about API Design and Distributed Caching

Januar 19th, 2007 | By Christoph in Allgemein, Software-Development | No Comments »

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 reusable code. This is not only usefull if you write code which is used by other people in your API, but it also gives you good tips about your own code.
I say that it helps a lot for your own applications, when you always code like you would code for someone else.

The other presentation is about “Distributed Clustering” (by Cameron Purdy). This is gonna be very important as scalability is one of the next phases of the current application I am working on.

Flash-based Fileupload for Webapps

Januar 11th, 2007 | By Christoph in Allgemein, Software-Development | 1 Comment »

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 now live in the Web 2.0 one can expect Javascript and Flash for sophisticated tasks in a webapplication.

I have found SWFUpload – of course it is beta…
This looks exactly what I am looking for. You can insert this easily in different pages of your app and it calls a serverside script (e.g. PHP), and also supports a callback method (javascript) to display Upload-success messages. I would use this callback to insert the FileID of the uploaded file into a hidden field.

We’ll see if this tool is usefull, but it looks promising.

UPDATE:
First problem just came to my mind: What about security and authentication? As this is a userbased application, we need to know on the serverside in the PHP script who the file belongs to and if the user is allowed to upload and so on…
I have found an article which provides a solution in> Getting the _session_id from SWFUpload.

Hibernate and Object identity

Januar 10th, 2007 | By Christoph in Allgemein, Software-Development | No Comments »

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 for your application – DB vs. Application

Read the article here:
Overcoming the hashCode() / object identity / Hibernate quandry

I have found this article when I came across this one:
Implementing an efficient Id generator with Spring framework / Java

Get BIRT Report Viewer Example to work on Tomcat 5.0.25

Januar 2nd, 2007 | By Christoph in Allgemein, Software-Development | No Comments »

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 told and copied the birt.war into my webapps/ folder in Tomcat.
After starting the Tomcat the war file was extracted and I could launch the example application from:

http://localhost:8080/birt/

Click here to read the complete article: