My Universe Logo

My Universe Blog » Entries Tagged as development

Webentwicklung mit Spring 3, Maven und Eclipse

Posted by Jesco Freund at Aug. 27, 2010 4:24 p.m.

Derzeit befasse ich mich (mal wieder) mit Java, genauer mit der Entwicklung einer Webanwendung in Java (und keine Sorge, ich bin nicht auf einmal durchgedreht – ich mache das eigentlich nur, um meine negative Grundhaltung gegenüber Java ab und an zu bestätigen ;-)). Zum Einsatz kommt dabei Spring – genauer gesagt das Spring Web MVC framework. Und wie es sich bei einem richtigen™ Java-Projekt gehört, erfolgt die Entwicklung mit Eclipse.

Nun ist es aber leider so, dass ausgerechnet für die aktuelle Eclipse-Version (3.6 „Helios“) die automagischen Tools von SpringSource noch immer nicht verfügbar sind (mal abgesehen davon, dass man mittlerweile ohne Registrierung nicht mehr an die Downloads rankommt). Hinzu kommt, dass mit Spring schnell mal ein paar größere Abhängigkeitsbäume entstehen – nervig, wenn man da beim Deployment auf dem Servlet Container immer drauf aufpassen muss (ich verwende Tomcat).

Zum Glück gibt es da ein kleines Helferlein, das trotzdem die komfortable Arbeit mit Spring und Eclipse ermöglicht und nebenbei über alle Abhängigkeiten wacht, so dass die erzeugten .war-Dateien hinterher schmerzfrei deployed werden können. Die Rede ist von Maven. Leider gibt es für Maven (noch) keinen ArcheType für ein Spring 3.0 Projekt – mit ein bisschen Handarbeit hat man sich aber schnell ein funktionierendes Grundgerüst zusammengezimmert. Wie das genau vonstatten geht, wird in diesem Artikel beschrieben.

continue reading Webentwicklung mit Spring 3, Maven und Eclipse

No comments | Defined tags for this entry: development, Eclipse, Java, Maven, MVC, Spring

Backtory is moving forward

Posted by Jesco Freund at July 27, 2010 7:35 p.m.

The going is tough, but at least there is any going – I think this describes best my progress with Backtory. During the last two weeks, we've been on holiday in Denmark. I used some of the rather rainy days to code on Backtory, and here's what I got done so far:

  • Libsynctory is in a working state now, meaning it does what is expected of it. However, it's not yet nice – no proper documentation, no thread safety, no error tracing.
  • Libyar got a bit further. The container file layout is finalized and properly documented. An awful lot of macros and some init voodoo for thread saftey are ready, but the lib itself is of no use yet.
  • The Backtory application itself hasn't been touched by me for some weeks now – I concentrated efforts on the two above-mentionned libs. However, I have made up my mind about the application (again ;-)). There will be a “cheap” CLI application, most probably implemented in Python. The more complex thing (daemon, configuration via network and stuff) will become eBacktory, of which I'll take care later.

So first priority for me is to get libyar ready to use, and to finish libsynctory into a state that could be called “release-ready”. When both libs are done, I'll first finalize a CLI for YAR files before taking care of the Backtory implementation itself. As I see tough times ahead concerning my professional life, I dare not give any forecast when I'll be able to spare the hours so urgently needed to finish any of the mentionned tasks. But as I already statet – the going is tough, but at least there is any going…

No comments | Defined tags for this entry: backtory, C, development, synctory, yar

cdeploy Has Entered FreeBSD Ports

Posted by Jesco Freund at May 9, 2010 5:32 p.m.

The utility cdeploy (developed by me within the scope of the root-tools project) has been committed to the FreeBSD Ports. From now on, installing cdeploy on FreeBSD is as simple as:

cd /usr/ports/sysutils/cdeploy
make install clean

Originally, cdeploy has been developed to deploy centrally (e. g. in a scm) maintained configuration files onto a target system. A sample configuration for this purpose is described in the RootForum wiki (German). Of course, you can abuse cdeploy for any other kind of files… ;-)

No comments | Defined tags for this entry: code, development, FreeBSD, ports, root-tools, RootUtils

Fröhliches aus dem Leben eines SAP-Entwicklers

Posted by André Mühlnikel at April 29, 2010 11:04 p.m.

Wer selbst im SAP-Coding unterwegs ist, kennt das: immer wieder stößt man auf allerlei Merkwürdigkeiten („Hey, warum nur einmal den Wert zuweisen? Doppelt hält besser!“). Doch was ein Kollege heute fand, ist mal echt was anderes. Und es zeigt, mit was für Leuten man in der SAP-Anwendungsentwicklung mitunter so zu tun hat … Hab jedenfalls gut gelacht :-)

/assets/user/andre/img/jpg/SAP_Comment.jpg

No comments | Defined tags for this entry: ABAP, development, humor, programming, SAP, software, fun

Oracle takes first actions at Sun

Posted by Jesco Freund at Feb. 2, 2010 10:07 p.m.

… and closes Sun's open source project hosting site, Project Kenai (see this blog entry for details). I do not yet know how to take this, given the fact that the above-mentionned announcement promises that shutting down kenai.com is only one step towards consolidation of project hosting sites among Oracle and Sun. On the one hand, I can understand that running several project hosting platforms does not exactly meet the notion of “efficiency”. On the other hand, taking a look at java.net, the competing (and longer-existing) hosting platform with focus on Java projects, I must try very hard not to vomit over my keyboard (and who tells me that java.net won't be the next site being “consolidated” by the Oracle management?)

Following this discussion, many current Kenai users will move their projects to hosting platforms outside the Oracle/Sun scope. However, it seems to be very hard to find and appropriate replacement, given that Kenai offered a nice bundle of features: JIRA or Bugzilla for issue tracking, Subversion, Mercurial or Git for source code management plus wikis, mailing lists and chat rooms to communicate. The only other hosting platform I know offering the same range of professional development tools is Sourceforge. However, I personally would not start new projects or migrate existing ones to Sourceforge, for a couple of reasons (speed of SCM repositories is abysmal, the same goes for the web frontend, configuring a project is a real nightmare consuming more time than writing the code, access from every country defined as “axis of evil” has been blocked, etc. …)

Being right fed up with bad news concerning project hosting platforms, I decided to create my own one – at least for my own projects. For that purpose, I intend to revive my projects.my-universe.com subdomain, kick Redmine and replace it with one Trac instance per project. Additionally, I'll finish configuring my Mercurial server and live happily ever after.

Update :-P I did it! The Mercurial server is running at http://hg.my-universe.com/ (but there aren't any repositories yet). It runs Lighttpd and Mercurial is served via FastCGI. If you'd like to know how I did this, you can read it up since I wrote a small how-to in the RootForum Wiki (German).

No comments | Defined tags for this entry: development, open source, project hosting, rant

« previous page Page 2 of 2