Showing posts with label maven. Show all posts
Showing posts with label maven. Show all posts

Sunday, September 23, 2012

Mardao 2 is released


I am very pleased to announce the first release of Mardao 2! The following requirements have been considered when rewriting from scratch:
  • Domain objects are now true POJOs with Annotations - no need to extend a class or implement an interface
  • Application code and generated code are completely agnostic of persistence type
  • @CreatedBy and @UpdatedBy are new auto-populated fields
  • @GeoLocation supports creating geo-hashes to do nearby and spatial searches
  • Domain fields can be of basically any field
  • Support for transient fields - by omitting @Basic annotation
  • All non-unique queries return an Iterable or a page
  • Support for cursors and cursor keys
  • Generator uses reflection to scan objects
  • True separation between generic Dao functionality, persistence-specific code and domain-specific methods

Example apps in production using Mardao

The following apps or services are in production and are using mardao:
  • Heathrow Airport Guide (Backend / Google App Engine)
  • TwoForOne voucher app (Android application / SQLite)
  • European Directories Mobile (XHTML web app / Spring JDBC / MySQL)
  • SonyEricsson Update Service (Backend / Spring JDBC / Oracle)
  • Golden Gekko device detection service (Backend / Google App Engine)
  • Google Search Prototype (BlackBerry / SQLite)

Read more at the mardao wiki on GitHub: https://github.com/sosandstrom/mardao/wiki

Friday, October 22, 2010

Mardao 1.4 is released for download

OK, it's been a while, but now the next version of mardao is released. 1.4 contains one new feature, findBy(Expression... expressions), and one important bug fix, ResultSet.getTimestamp() instead of getDate(). As always, download from sourceforge:
https://sourceforge.net/projects/mardao/files/1.4/

Saturday, June 5, 2010

Mardao 1.1 is released for download

So, about a week after the 1.0, next release is due. New features are
  • Support for @Table(name="tblName")
  • Support for @Column(name="colName")
  • Per-table generated CREATE sql scripts
Fixed bugs:
  • Use column names instead of Entity attribute names
Other:
  • More JUnit tests
For more info and downloads: http://mardao.sourceforge.net/

Tuesday, June 1, 2010

Mardao - the Architect's Java DAO generator

Today I released the 1.0 version of mardao, the Architect's Java DAO generator.
It uses your annotated domain objects to generate DAO classes, see image.

For more information and downloads, visit
https://sourceforge.net/projects/mardao

Thursday, April 22, 2010

Eclipse and Tomcat and Maven

The optimal setup of a maven / eclipse / tomcat web project is setup as follows:
  • [Download and install java 1.6]
  • [Download and install Eclipse Galileo JEE]
  • [Download and install Tomcat 6.0.x]
  • Download SysDeo (eclipse-)plugin from http://www.eclipsetotale.com/tomcatPlugin.html
  • Extract the zip to ECLIPSE_HOME/plugins
  • [Re-]start eclipse with -clean option
  • Set Tomcat version and home in Preferences - Tomcat
  • Make sure Eclipse default JRE is a JDK
  • Set your Eclipse project to be a Tomcat project: Project Properties - Tomcat
  • Set a context path
  • Set the Subdirectory to use as web app root to /src/main/webapp
  • Activate DevLoader
  • Check all jars, then uncheck test classes and servlet-api.jar
  • Copy DevLoader.zip from ECLIPSE_HOME/plugins/SYSDEO to TOMCAT_HOME/lib and rename it to .jar