General J2EE: Generate ER diagram From Entity Beans
Is it possible to Generate ER Diagram From the Entity beans? Is there any tool available for that ?
- Posted by: Gopa kumar
- Posted on: March 29 2005 05:41 EST
In my physical database , there is no foreign key relation ship.All relations are mentioned in Ejb deployment descriptors
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.
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.
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,