File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple DAO code generator

 
Siamak Saarmann
Ranch Hand
Posts: 78
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Zeeshan Samdani
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • 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 ]
 
Pj Murray
Ranch Hand
Posts: 194
  • 0
  • Mark post as helpful
  • send pies
  • 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 ]
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic