EJB3和UML如何创建序列图

时间:2022-08-31 22:53:42

Hello i have problem with EJB and UML in EJB 2 entity bean and database have cooperate each other , but EJB 3 i try EntityManager in SessionBean to excute insert/delete/update How can i draw sequence diagram with EJB3?

你好我在EJB 2中有EJB和UML的问题实体bean和数据库相互配合,但EJB 3我在SessionBean中尝试EntityManager来执行insert / delete / update如何用EJB3绘制序列图?

1 个解决方案

#1


0  

In EJB3 you get annotations in the java code, no more need for other files. You therefore just have to reverse you java code method into a sequence diagram.

在EJB3中,您可以在java代码中获得注释,不再需要其他文件。因此,您只需将java代码方法转换为序列图。

I use Omondo for my project and get my annotations displayed as EJB3 stereotypes.

我将Omondo用于我的项目,并将我的注释显示为EJB3构造型。

Hope this help. I don't know about other tool supporting sequence diagram reverse but if you look well you could find other alternative to Omondo's expensive solutions.

希望这有帮助。我不知道其他工具支持顺序图反向,但如果你看起来很好,你可以找到Omondo昂贵的解决方案的其他替代品。

#1


0  

In EJB3 you get annotations in the java code, no more need for other files. You therefore just have to reverse you java code method into a sequence diagram.

在EJB3中,您可以在java代码中获得注释,不再需要其他文件。因此,您只需将java代码方法转换为序列图。

I use Omondo for my project and get my annotations displayed as EJB3 stereotypes.

我将Omondo用于我的项目,并将我的注释显示为EJB3构造型。

Hope this help. I don't know about other tool supporting sequence diagram reverse but if you look well you could find other alternative to Omondo's expensive solutions.

希望这有帮助。我不知道其他工具支持顺序图反向,但如果你看起来很好,你可以找到Omondo昂贵的解决方案的其他替代品。