• 1. Sogeti
  • 2. JBoss
  • 3. IBM
  • 4. Oracle
  • 5. SpringSource
  • 6. NL-JUG
  • 7. Java


Syndication  RSS 2.0

RSS 1.0
RSS 2.0

Bookmark this site

Add 'JCN Blog' site to delicious  Add 'JCN Blog' site to technorati  Add 'JCN Blog' site to digg  Add 'JCN Blog' site to dzone

Posted by Barend Garvelink at 23:08 on Thursday 28 August    Add 'maven-tstamp-plugin' site to delicious  Add 'maven-tstamp-plugin' site to technorati  Add 'maven-tstamp-plugin' site to digg  Add 'maven-tstamp-plugin' site to dzone

Since (almost) the dawn of time, ant has had the <tstamp/> task to define build date and time properties in your build for filtering resource files. Maven has no such thing. They do have a workaround which requires a temporary file on the filesystem. A google search on "maven bulid date" takes you to the maven-buildnumber-plugin, which I’m sure works fine but it does more than I need and a few things I don’t need (like access the SCM system). So I wrote a quick maven-tstamp-plugin to match the ant task. The configuration is a bit more verbose, but simple to understand.

Here’s a sample config…

    <!-- All properties prefixed with 'build.' -->
    <!-- UNIX timestamp published as 'build.unix-timestamp' -->
      <!-- Publishes build.sortableDate, default locale, default timezone -->
      <!-- Publishes build.prettyDate, Argentina's locale and timezone -->
      <prettyDate>EEEE d MMMM yyyy, H:mm</prettyDate>
      <!-- Publishes build.utc-stamp (calendar-based timestamp) in UTC. -->

…which I think speaks for itself. Each of the properties defined can be used in ${filtering} expressions. I didn’t require the offset/unit feature in the original <tstamp/> task, nor did I require Joda-Time’s support for nonwestern calendar systems. I’ve reserved suffixed for both, but they currently just cause the property to be ignored.

Source code after the jump.

Read the rest of this entry »

Posted by FrankW at 21:50 on Sunday 20 January    Add 'Optimaliseer je UI met “Enso”' site to delicious  Add 'Optimaliseer je UI met “Enso”' site to technorati  Add 'Optimaliseer je UI met “Enso”' site to digg  Add 'Optimaliseer je UI met “Enso”' site to dzone

Met Enso kun je kleine taken sneller en simpeler uitvoeren. Een paar voorbeelden om je een idee te geven wat Enso kan:
- Informatie opzoeken in google: selecteer de zoekcritieria in de tekst, activeer Enso met “CAPSLOCK” (dit is instelbaar) en geef het commando “google”.
- Uitkomst van een wiskundige formule in Word: Type in Word de formule, bijv “247 * 314768 + 2″, activeer ENSO met de toest CAPSLOCK, en geef het commando “calculate”.

Enso is dead simple to use. You just hold down the Caps Lock key and type an Enso command, which is displayed in a translucent overlay. Once the command is typed, you simply release the Caps Lock key to activate it, and the overlay disappears. If you type fast, it all happens in a flash. For instance, to launch the Firefox Web browser, you just hold down the Caps Lock key and type “open firefox.” To look up the meaning of the word “proclivity,” you just hold down the Caps Lock key and type “define proclivity.”
Turning Caps Lock into a command key might sound strange at first no other software works that way, does it? but our philosophy is that interfaces can’t hope to be better than what you’re used to unless they’re different from what you’re used to. You’ll find that Enso is different in a lot of other ways, too. Give the Caps Lock method a try. If you don’t like it, you can of course configure Enso to be activated in the way you prefer

Ben je nog niet overtuigd, kijk dan hier:

Meer informatie:

Posted by Barend Garvelink at 1:03 on Wednesday 12 December    Add 'Joda-Time 1.5' site to delicious  Add 'Joda-Time 1.5' site to technorati  Add 'Joda-Time 1.5' site to digg  Add 'Joda-Time 1.5' site to dzone

On the Joda-Time mailinglist:

On 12/10/07, Stephen Colebourne <> wrote:
> I've just released v1.5.1 of Joda-Time. This fixes one bug, and updates
> the time zone file.
> Bug fix:
> Parsing text altered to be case sensitive based on text stored in java.
> Adjusted to now accept correct, all upper or all lower:
> Joda-Time 1.4 could parse:
> Jan, JAN, jan, JAn, jaN, jAN
> Joda-Time 1.5 can only parse:
> Jan
> Joda-Time 1.5.1 can parse:
> Jan, JAN, jan
> Stephen

Joda-Time is a brilliant date/time API for Java, improving on the Calendar API in every way imaginable. Get it at

Posted by Barend Garvelink at 14:17 on Sunday 2 December    Add 'Glazed Lists' site to delicious  Add 'Glazed Lists' site to technorati  Add 'Glazed Lists' site to digg  Add 'Glazed Lists' site to dzone

If you’re a Swing developer, you absolutely HAVE TO check out the GlazedLists library. If you’re not a Swing developer, you should too. I’m serious, drop whatever you’re working on and run their Web Start demo. Check out their webcasts if you want to know more.

Oh, and if you’re an open source developer, take a cue on how these guys “sell” their product.

Posted by Sander van Der Waal at 10:46 on Wednesday 19 September    Add 'Springframework modules via Maven repository' site to delicious  Add 'Springframework modules via Maven repository' site to technorati  Add 'Springframework modules via Maven repository' site to digg  Add 'Springframework modules via Maven repository' site to dzone

Ben Hale van Interface21 heeft de beschikbaarheid aangekondigd van Spring modules via de standaard Maven repository Dat betekent dat je als gebruiker van Spring én Maven(2) nu automatisch de juiste versie via de redelijk stabiele standaard repository kan downloaden. Mét source attachments, ook handig voor debugging.

Voor de Spring-fans die graag met de latest and gratest (maar misschien nog niet helemaal af)willen werken is er een snapshot repository beschikbaar. In het artikel staat beschreven hoe je die gebruikt. Ook een repository voor de nightly builds zit er aan te komen..

Posted by Barend Garvelink at 15:16 on Monday 10 September    Add 'Apache Directory Suite' site to delicious  Add 'Apache Directory Suite' site to technorati  Add 'Apache Directory Suite' site to digg  Add 'Apache Directory Suite' site to dzone

Over on, past week has seen the release of Apache Directory Server 1.5, a Spring-based, embeddable, pure Java LDAPv3 server and Apache Directory Studio 1.0, an Eclipse-based LDAP client suite. Both are a breeze to install, configure and use. Highly recommended.

Apache Directory Studio Screenshot

Posted by Barend Garvelink at 10:10 on Tuesday 21 August    Add 'Spring-WebServices 1.0' site to delicious  Add 'Spring-WebServices 1.0' site to technorati  Add 'Spring-WebServices 1.0' site to digg  Add 'Spring-WebServices 1.0' site to dzone

Versie 1.0 van Spring WebServices is gereleased. Spring WebServices is anders dan de meeste andere WebService toolkits in dat het uitgaat van contract-first development; met andere woorden: je genereert een implementatie bij een WSDL in plaats van dat je een implementatie bouwt en maar moet hopen dat er een bruikbare WSDL uit komt rollen. Zinnig, erg zinnig.

In hun woorden:

  • Making the best practice the easy practice: Spring Web Services makes enforcing best practices easier. This includes practices such as the WS-I basic profile, Contract-First development, and having a loose coupling between contract and implementation.
  • Powerful mappings: You can route an incoming XML request to any handler depending on message payload, SOAP Action header, or XPath expression.
  • XML API support: Incoming XML messages can be handled in standard JAXP APIs such as DOM, SAX, and StAX, but also JDOM, dom4j, XOM, or even marshalling technologies.
  • Flexible XML Marshalling: The Object/XML Mapping module in the Spring Web Services distribution supports JAXB 1 and 2, Castor, XMLBeans, JiBX, and XStream. Because it is a separate module, you can use it in other environments as well.
  • Reuse of your Spring expertise: Spring-WS uses Spring application contexts for all configuration, which gets you up-and-running quickly. Also, the architecture of Spring-WS resembles that of Spring-MVC.
  • Support for WS-Security: WS-Security allows you to sign SOAP messages, encrypt and decrypt them, or authenticate against them. And it integrates with Spring Security!

[Release announcement]

Posted by jcn at 16:32 on Friday 17 August    Add 'Spring Batch Source Code Gepubliceerd' site to delicious  Add 'Spring Batch Source Code Gepubliceerd' site to technorati  Add 'Spring Batch Source Code Gepubliceerd' site to digg  Add 'Spring Batch Source Code Gepubliceerd' site to dzone

Dave Syer heeft vandaag bekend gemaakt dat de source code van Spring Batch gepubliceerd is. Het betreft de snapshot van de milestone 2 van de 1.0 release. Milestone 1 was een interne release. Het is dus nog even wachten op een binairy release.

Spring Batch is het eerste, en voor alsnog enige, Open Source framework voor batches. Spring Batch wordt door Interface21 in samenwerking met Accenture ontwikkelt. Het vrijgeven van de source heeft een tijdje op zich laten wachten, vanwege juridische perikelen bij Accenture. Deze zijn dus blijkbaar nu opgelost.

Kijk hier voor de announcement van Dave. De source code is hier te vinden.

Werk je voor Sogeti en ben je geïnteresseerd in Spring Batch? Kom dan naar de technische meeting op 23 augustus 2007!

Posted by Hans-Jürgen Jacobs at 11:34 on Saturday 16 June    Add 'Apache Geronimo Passes Java Enterprise Edition 5.0 TCK 100%' site to delicious  Add 'Apache Geronimo Passes Java Enterprise Edition 5.0 TCK 100%' site to technorati  Add 'Apache Geronimo Passes Java Enterprise Edition 5.0 TCK 100%' site to digg  Add 'Apache Geronimo Passes Java Enterprise Edition 5.0 TCK 100%' site to dzone

Apache Geronimo 2.0-M6-rc1 has passed all tests in the Java EE 5.0 Certification Test Kit, which includes full support for JSF 1.2. This means that applications that are written to the Java EE platform specifications can be deployed and executed on the Apache Geronimo server. []

Posted by Barend Garvelink at 23:58 on Saturday 9 June    Add 'Jakarta JCS 1.3' site to delicious  Add 'Jakarta JCS 1.3' site to technorati  Add 'Jakarta JCS 1.3' site to digg  Add 'Jakarta JCS 1.3' site to dzone

A few days ago, the Java Caching System 1.3 has been released. This is the first official release of JCS, which promises a free, easy-to-use and moderately powerful distributed caching system for servers and clusters of up to a few dozen hosts. JCS works on Java 1.3 and later and might be very interesting for your distributed caching needs.

Interesting alternatives include Hibernate Shards (for viewing multiple RDBMSes as one) and Oracle Coherence (which goes waaay beyond mere caching). As always, pick the right tool for the job.

© 2018 Java Competence Network. All Rights Reserved.