Thanks KiSoo, I'm just curious about the design approach about how others are doing.. Generating EJBs from the table names or first gernerate domain Classes (EJBs) and then create tables in the database. for eg: Person(1)------->(1)Address
Person(1)------->(1..*)Phone So there are 3 tables and 3 EJBs.. My question is generate EJB code first or create tables first, in otherwords top-to-down or down-to-top approach.. some times the fields of the table changes , how do we synchronize automatically? my understanding about XDoclet, if we change bean class, then all other dependency files(local,home,ejb-jar.xml..) changes right? correct me if I'm wrong? KiSoo, Park wrote:
I use Xdoclet for Weblogic and Oracle. XDoclet + Jakarta Ant + IDEs(which support Code template feature, like eclipse, IntelliJ) works so nice. All infomations are included in xdoclet site. If you want database reverse engineering feature, I recommend you to use Jenerator(http://sourceforge.net/projects/sourcejenerator/). Senario : 1. You can use Jenerator to generate entity bean implementation class by database schema. 2. Include xdoclet tags to the generated class. Code template feature may save your time. 3. Generate other interfaces with Ant task. 4. Compile and deploy with Ant tasks. Jenerator has much features. But xdoclet is much powerful. Xdoclet allows EJBs Container independency. More over, xdoclet will use xslt like jenerator. So my suggestion is Jenerator for reverse eng., xdoclet for others. Kisoo, Park ERHouse, seoul, S. Korea. -----Original Message----- From: An interest list for Sun Java Center J2EE Pattern Catalog [mailto:[EMAIL PROTECTED]] On Behalf Of Raj Devershetty Sent: Wednesday, February 19, 2003 11:42 PM To: [EMAIL PROTECTED] Subject: XDoclet Could you send me the best document for XDoclet with WebSphere Vx? I mean, I need to connect to Oracle database, get all tables_names, using the table meta-data fields. I need to generate EJBs(local,remote,bean) class and methods according to tablename and fields... I've been searching this requirement on the internet for more than a week.. I did'nt get any proper info.. can xdoclet does above requirement? -- Thank you, Raj Devershetty NaviSite 224 Harrison Street Syracuse NY 13202 (315) 453-2912 ext. 5306 ==================================================================== Community Web Site (Core J2EE Patterns Catalog - Online Version): http://java.sun.com/blueprints/corej2eepatterns Getting Started (Beta Version): http://developer.java.sun.com/developer/technicalArticles/J2EE/patterns/ Get the book: http://www.amazon.com/exec/obidos/ASIN/0130648841/corej2eepatte-20 List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to [EMAIL PROTECTED] ==================================================================== Community Web Site (Core J2EE Patterns Catalog - Online Version): http://java.sun.com/blueprints/corej2eepatterns Getting Started (Beta Version): http://developer.java.sun.com/developer/technicalArticles/J2EE/patterns/ Get the book: http://www.amazon.com/exec/obidos/ASIN/0130648841/corej2eepatte-20 List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to [EMAIL PROTECTED]
-- Thank you, Raj Devershetty NaviSite 224 Harrison Street Syracuse NY 13202 (315) 453-2912 ext. 5306 =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".