[ANN] AppFuse 1.6.1 Released
This release is primarily a bug fix release, but it also contains a slick "AppGen" tool for generating full CRUD (with sample data and tests) from a POJO. AppGen essentially automates everything you do in the tutorials. I still encourage users to read through and do the tutorials in order to learn the code that is being generated. This feature basically reduces the amount of files you need to create/alter for CRUD from 16 to 2. Better yet, rather than generating the DAO and Manager (as well as the tests), it just uses generic methods in the base implementations. This eliminates the need (and hopefully desire) to create so many DAOs and Managers. In most cases, you can simply use the "manager" bean in your Actions/Controllers and call its respective methods. Thanks to Hibernate for making generic CRUD possible with only a handful of methods. Now you should be able to simply concentrate on the web-tier and only modify/create backend classes when you need special behavior.
- Download
- Release Notes
- Learn more about AppFuse
- Live Demos:
To upgrade your 1.6 based application, I recommend performing the following steps:
- Download 1.6.1 and extract it to your hard drive.
- If you've renamed your packages, use the Rename Packages Tool to rename packages in 1.6.1.
- Use Beyond Compare (Windows only) to diff the your project against 1.6.1.
This is how I've always done my AppFuse upgrades for Struts-Resume. It takes a couple of hours, but it's a lot easier than me trying to create an upgrade package.
I'll be talking about AppFuse this weekend at Denver's NFJS Conference. Next Monday I'll be in Vegas at ApacheCon. I've never done two different talks back-to-back before, let alone at two different conferences. Should be fun.
Posted by the_mindstorm on November 10, 2004 at 10:05 AM MST #
Posted by Matt Raible on November 10, 2004 at 01:41 PM MST #
Posted by the_mindstorm on November 10, 2004 at 01:45 PM MST #
Posted by Lee on November 10, 2004 at 05:31 PM MST #
Posted by tony he on November 12, 2004 at 01:30 AM MST #
Posted by tony he on November 12, 2004 at 02:53 AM MST #
Or add them as properties to build.properties:
Or you can even override them from the command line:
Ant has immutable properties, so once they're set, they can't be changed. You might want to subscribe to the user mailing list - then more folks can help you with any issues.
Posted by Matt Raible on November 12, 2004 at 03:15 AM MST #
db-load:
(connection.DriverManagerConnectionProvider 143 ) cleaning up connection pool:
jdbc:oracle:thin:@localhost:1521:IxTstMIG
[dbunit] Executing operation: CLEAN_INSERT
[dbunit] on file: C:\eclipse\workspace\bacardi\metadata\sql\sample-data.xml
[dbunit] with format: xml
BUILD FAILED: C:\eclipse\workspace\bacardi\build.xml:895: org.dbunit.database.AmbiguousTableNameException: Bugtable
Posted by tony he on November 12, 2004 at 04:46 AM MST #
http://raibledesigns.com/page/rd?anchor=dbunit_and_clean_insert
Posted by Matt Raible on November 12, 2004 at 04:52 AM MST #
Posted by Unnamedplayer on November 12, 2004 at 07:15 AM MST #
Posted by Matt Raible on November 12, 2004 at 07:19 AM MST #
Posted by shanqy on November 12, 2004 at 08:42 AM MST #
Posted by Matt Raible on November 12, 2004 at 08:46 AM MST #
Posted by Torsten Crull on November 12, 2004 at 05:50 PM MST #
Please note the Oracle schema must be UPPER case. This might help others. -Tony
Posted by tony he on November 12, 2004 at 08:43 PM MST #
Posted by Kelvin Tan on November 19, 2004 at 08:21 PM MST #
After I run ant setup, I get the following error:
On having a look at the output from running the ant setup I can see
This is repeated for all the tables, none are created sucessfully.
Posted by Sudeep sahdeva on April 22, 2005 at 02:10 PM MDT #
Posted by Jimmy Soho on November 16, 2005 at 09:15 PM MST #
Posted by mark haller on November 29, 2005 at 06:06 PM MST #
http://raibledesigns.com/wiki/Wiki.jsp?page=RunningOnOracle
Posted by Matt Raible on November 29, 2005 at 06:17 PM MST #
property name="database.schema" value="SEARCHANA"
in properties.xml
then this
dbunit driver="${database.driver_class}"
supportBatchStatement="false"
url="${database.url}"
userid="${database.username}"
password="${database.password}"
schema="${database.schema}"
in build.xml
hope this helps.
Posted by Ameer Ahmed on December 21, 2005 at 04:57 PM MST #
Posted by Jonathan Kroeker on December 21, 2005 at 07:58 PM MST #
Just specify the schema was not enough in my case. I had also to specify useQualifiedTableNames="enabled" in the build.xml (target db-load) :
Posted by Danny Nedved on April 07, 2006 at 09:25 AM MDT #
Posted by Gervase on January 13, 2009 at 04:01 PM MST #