Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Class level details of EJB

 
Kannan Ekanath
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SCEA - Assignment submission

One of the key requirement for the Class Diagram is the "Class/EJB level details" are required. However I a bit confused as to what level of EJB needs to be documented in the Class Diagram?

I have marked @Entity and @SessionBean on the classes. I am assuming in EJB 3 that is probably the only details you will ever need. The "persistence.xml" will take care of the rest. However I do come up across topics where people have failed because of insufficient level of detail in the EJB level. Could someone point me to what is the level of EJB details required in the class diagram?
 
Tarun Tyagi
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may be better off putting in extra details than putting in less than required. Particularly if Session Beans represent any business logic then you should state the operation / method names and visibility. For entities , if you know of very obvious attributes then you can add those. There are no exact answers and this is only based on my personal understanding.
 
Samirr Patel
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kannan Ekanath wrote:SCEA - Assignment submission

One of the key requirement for the Class Diagram is the "Class/EJB level details" are required. However I a bit confused as to what level of EJB needs to be documented in the Class Diagram?

I have marked @Entity and @SessionBean on the classes. I am assuming in EJB 3 that is probably the only details you will ever need. The "persistence.xml" will take care of the rest. However I do come up across topics where people have failed because of insufficient level of detail in the EJB level. Could someone point me to what is the level of EJB details required in the class diagram?
For session bean make sure you mention stateful or stateless, and show methods in class diagram used in sequence diagram. Feel free to use uml notes for any additional detail for the EBJ. In the assumptions section make sure you put detail on why perticular type of EJB was used.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic