Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

inheritance relationship in J2EE model  RSS feed

Larr Goneg
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when we model normal application, there are inheritance relationship, for example, in <<Apply UML and pattern>>, there is
how should we model this in our class diagram, should we model in the same way?
but actually in J2ee, you won't have CreditCardPaymentEJB, CashPaymentEJB,CheckPaymentEJB, but you only have one EJB that is PaymentEJB because it's correspondent to only one table. In this context, should we show only the payment in the class diagram, if so, how should we show there are different kinds of payment?(just an attribute?)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!