Win a copy of Java 9 Revealed this week in the Features new in 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?)
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!