• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Simple DAO code generator

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I am trying to analyse,code,... for a relatively big application. I want to use DAO classes on JDBC (+ Servlets and a MVC architecture) to achieve this.

I have done this with PHP in past but now:

1- Classes are too complicated and big.
2- I change classes to often
3- I should use JDBC

So I am really in need of a DAO code generator which takes Oracle field specs (type, length etc) and generate ready to run DAO code.

I have used DAOGEN (http://titaniclinux.net/daogen/) for some of classes successfully but as it is not a software on my computer I do not feel good. I need to be sure that it's always available.

DAOGEN is a good code generator (it supports Java/PHP, Oracle/MySQL/GenericSQL, Caching etc.).

I will appereciate if someone can show me a good DAO code generator software (preferably with Oracle support and also free ).

Regards,
Mac
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mac,

You might want to consider using JDO for this purpose. JDO is an efficient way to map classes to data without bulky and difficult to maintain generated code.

JDO gives you flexibilty and access patterns for better querying and performance.

Zeeshan Samdani
www.powermapjdo.com
[ November 08, 2004: Message edited by: Zeeshan Samdani ]
 
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can try out FireStorm/DAO for free at:

http://www.codefutures.com/download

FireStorm/DAO Java code generator imports database schema definitions from SQL scripts or from live databases via JDBC and then generates a complete persistence tier based on the Data Access Object (DAO) design pattern. DAO is a core J2EE design pattern.

There's a tutorial with screenshots here:

http://www.codefutures.com/products/firestorm/tutorial/



PJ Murray
CodeFutures - Java Code Generation
http://www.codefutures.com

[ December 09, 2004: Message edited by: PJ Murray ]
[ December 09, 2004: Message edited by: PJ Murray ]
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
PJ --

You apparently have not read our naming policy. It requires that you use a full, real (sounding) first and last name for your display name. We sometimes tolerate people using a company name when they post in Blatant Advertising, but if you're going to post in the regular forums, you must use a real name. You can change your display name here. Thanks.
 
reply
    Bookmark Topic Watch Topic
  • New Topic