Showing posts with label grails. Show all posts
Showing posts with label grails. Show all posts

my barcode on jasper report

Here were my conditions when I want to add barcode generator ability on my report:

  • I used to get my jrxml file (japer report file) that generated by iReport. Than I didn't ever notice the details code.
  • So many package for barcode generator, and followed by confusing about the dependencies
  • I want to integrate it with jasper plugin for grailsI want the barcode image generated on the fly, without need to save to image file
And here were the steps which taken to resolve the problems:
  • create maven project in my netbeans, to manage dependency problems easily
  • add barcode4j library to projectcreate simple script to generate image for testing. So I know if all dependency to generate barcode are completed
  • apply barcode generator to jasper report using jasper scriptlet
  • than integrate it with grails by put the jrxml file on web-app/reports, scriptlet code on src/java and put all dependency library on lib
Since I got problem for posting my code, for detailed code and implementation please refer to: http://freeezcode.wordpress.com/2008/12/29/my-barcode4j-on-grailss-jasper-plugin/

django in grails

I found all what I had seen on django are available in grails.
I got Object-relational mapper, Elegant URL design, Template system, Cache system, Internationalization and all of the django advantages are on grails.

But grails provides much more than that. You can check all of grails plugins here
One thing that make me feel better with grails is the update command. I could always using the latest grails release for my project.

the grails's features that make me move from django without any questions are:

  • GRAG, which able to genereate class model from existing database
  • security plugins, which provides many techniques for securing website
  • Rich Client/Ajax Plugins, since django only use dojo
  • smooth upgrade and more automatic code generator
  • provides much more great plugins which really stop my pain
  • no complaint for working with java
  • spring powered
  • better IDE support, since it built on top of java: netbeans , and of course eclipse

here is a small video about ajax, grails and netbean
is really grails stop my search??
since still, I miss my zope and plone