Discussions

General J2EE: Generate ER diagram From Entity Beans

  1. Generate ER diagram From Entity Beans (2 messages)

    Is it possible to Generate ER Diagram From the Entity beans? Is there any tool available for that ?
    In my physical database , there is no foreign key relation ship.All relations are mentioned in Ejb deployment descriptors
  2. Not sure about getting an ER diagram, but you can get a UML diagram for the entity beans.
    Check out the EJB Modeler feature in JDeveloper IDE.
    http://www.oracle.com/technology/documentation/jdev/quicktour10g/j2ws1.html

    You can import EJBs into the IDE, create an EJB Modeler and drag-n-drop all the existing EJBs onto the modeler, this will give you the visual picture with all the relationships.

    -raghu
  3. Errrr... that is assuming the object model exactly matches the data model, right? IMO, almost always a bad idea. It really makes no sense to me; it would not be a very general solution, right?

    Cheers and happy coding,
    Martin