Generate EJB-Diagram from ERD

Can I generate EJB-Diagram from ERD? It’s described in Chapter 13 of User Guide, but there isn’t “EJB”-item in “Tools” menu… Why?
TIA, Eugeny.

Hi Eugeny,

Thanks for your post. The Tools > EJB menu is available in SDE for Eclipse (SDE-EC) or VP-UML Eclipse integration only, and it will be removed.

Current Java round-trip engineering covers EJB code generation, but there is a trick for EJB code generation.
Please create Entity Bean classes (you can refer to attached image) for EJB classes, then adding stereotype “ORM Persistable” to the EJB classes so you can synchronize the class diagram to entity relationship diagram (ERD) to generate mapping entity. After that, you can run Java round-trip engineering to generate the EJB code.

Please be reminded that Java round-trip engineering and synchronization between class diagram and ERD are supported in VP-UML/SDE Professional Edition and DB-VA. Hope these help. If there is any further inquiry, please feel free to ask.

Best regards,
Lilian Wong
select_entity_bean.png

Thanks!

Hi Eugeny,

You are welcome.

Best regards,
Lilian Wong