aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Need advice for OCMJEA part 2 resubmission - class and deployment diagrams Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Need advice for OCMJEA part 2 resubmission - class and deployment diagrams" Watch "Need advice for OCMJEA part 2 resubmission - class and deployment diagrams" New topic
Author

Need advice for OCMJEA part 2 resubmission - class and deployment diagrams

Sashi Reddy
Greenhorn

Joined: Dec 07, 2011
Posts: 3
Hey Guys,

I failed my first try and am planning to re-submit my OCMJEA part 2 (Dreamcar) assignment. I failed my class diagrams. I would really appreciate it if I could get some advice:

Class Diagrams (21/40):
  • Missing DAO/integration classes
  • - I've used JPA to integrate with my DB, so my EJBs directly interact with DB using EntityManager. I feel that separate DAO classes are not really required when JPA is used. What do you guys suggest? Should I go ahead and create DAO classes?
  • Missing Class level deetails for business domain model
  • I'm not exactly sure what it means. I've depicted every class from the domain model in my class diagram and more. I've even shown extra class level attributes for some of the classes. Am I expected to come up with further class level attributes for each class in the domain model? Any suggestions are welcome.
  • Missing external system
  • To display an external system, I created a service class and annotated it with '<<WebService>>'. I guess this is not the correct way to do it. Any suggestions on how to display an external system?

    Final question. I scored 17/24 in deployment diagrams, which indicates that I passed it. Will the examiner re-evaluate this section or will he skip this section because I've already passed it? Do you guys think that I should update it just to be safe?

    All suggestions are very much appreciated.
    Thanks.
    Sadanandam Kurapati
    Ranch Hand

    Joined: Sep 09, 2011
    Posts: 78

    Hi Shashi,

    Please look at this thread for more information on class diagram.
    Missing DAO/integration classes
    - I've used JPA to integrate with my DB, so my EJBs directly interact with DB using EntityManager. I feel that separate DAO classes are not really required when JPA is used. What do you guys suggest? Should I go ahead and create DAO classes?


    Don't you have any external systems? How are you interacting with them? Are you not using any DAO integration layer to communicate these external systems. If yes, then you need to include them in the class diagram.

    Missing Class level deetails for business domain model
    I'm not exactly sure what it means. I've depicted every class from the domain model in my class diagram and more. I've even shown extra class level attributes for some of the classes. Am I expected to come up with further class level attributes for each class in the domain model? Any suggestions are welcome.


    Did you changed in anyway the domain diagram and relationships with each other. If yes, then you need to explain why you did that.
    Provide all of the public methods/member variables you have used in sequence diagrams in corresponding classes.

    Missing external system
    To display an external system, I created a service class and annotated it with '<<WebService>>'. I guess this is not the correct way to do it. Any suggestions on how to display an external system?

    I am not sure about this. why we need to specify external system in class diagram? I leave this up to the ranch pros.

    Final question. I scored 17/24 in deployment diagrams, which indicates that I passed it. Will the examiner re-evaluate this section or will he skip this section because I've already passed it? Do you guys think that I should update it just to be safe?

    I feel it is better to leave and don't touch the passed sections as long as you have the minimum total score (I assume 114).

    Hope this information is helpful.

    -Sadanand



    SCJP1.5, SCWCD5, SCEA5
    Sashi Reddy
    Greenhorn

    Joined: Dec 07, 2011
    Posts: 3
    Hi Sadanand,

    Thank you for your response.

    Domain Model
    I did change the domain model a bit. I explained my motive in 'Assumptions' section. I should probably have added more 'Notes' in my class diagram.

    External System
    In my class diagram, the external system is exposed as a webservice. I'm directly invoking this webservice from my EJB using a webservice client. Do I need to have a DAO layer in between my EJB and webservice?

    Thanks
    Sashi
    ntumba lobo
    Ranch Hand

    Joined: Oct 21, 2008
    Posts: 180
    I can only tell you what I did knowing that I passed, but it doesnt mean it is the only.

    Regarding the domain model, I changed the original one as well a bit. I provided all my explainations for my changes as a note underneath the class diagram. But I had nothing regarding the class diagram in my assumptions. I left my assumptions very high level. I did the same for the other diagrams, all of them have a note section.

    Regarding the external system, I did NOT show it in the class diagram just in the component and deployment diagrams as per Mark Cade example. I did show however all the integration classes with the external system with DAO. I think they want you to separate your business logic EJB from your integration logic (with web services) hence the DAO layer.
    To access my internal DB I chose like you to have my EJB use JPA straight away without layer in between.

    I hope that will help


    SCJP 5 , SCWCD 5, SCEA 5
    Sashi Reddy
    Greenhorn

    Joined: Dec 07, 2011
    Posts: 3
    Hi ntumba,

    Very much appreciate your response.
    I'm beginning to wonder if it depends on the examiner if they want to see certain things on the diagram while other examiners do not care to see the same.

    As per your suggestions, I will add more notes in my class diagrams for my re-submission.

    External System -
    I had a specific comment in my results that the 'external system' was missing in the class diagrams. So, this time I've decided to show it with in my class diagram as a separate package.
    And I will integrate with the external system using a DAO.

    Thanks
    Sashi

    s patnaik
    Ranch Hand

    Joined: Jul 17, 2011
    Posts: 45

    Hi Sashi,

    This is just my two pence. I had the Dreamcar assignment too. Personally, I have never seen a class diagram which showed the external system classes. Class diagram is meant to describe all the classes and their relationships with each other for solving the business problem in hand. So I did not include any external system classes in my class diagram. But I did show how my system interacted with the external system in the component diagram as well as my deployment diagram. I had notes describing the integration in the diagrams as well. To support my diagrams, I had an architecture overview section which described all the patterns used and why I used them. In the same section, I described how my system interacted with the external system and why I did NOT use a DAO to interface with the external system. I understand how difficult it must be for you to decide what to do and what not to do ! All the best !


    SCJP 5, OCPJP7, OCMJEA 5
    Rahula Krishnan
    Greenhorn

    Joined: Dec 08, 2011
    Posts: 24
    Hi ,

    I am doing my part 2 assignment, In the assignment they have asked to integrate the JMS application into my project. and also given the In house pricing system and external inventroy system both are accessed using webservices. Do i need to show the external systems in the class diagram ?? or is it okay to add comment the class diagram ???

    Also let me know, how to show these systems in the deployment diagram. I have attached my deployment diagram. Please suggest which one i can use or let me know changes required in my deployment diagram.

    PFA.

    Please let me know.

    Thanks
    Rahula.


    [Download deployment1.bmp] Download

    shekar hari
    Ranch Hand

    Joined: Sep 07, 2011
    Posts: 36
    Rahula, check my reply at http://www.coderanch.com/t/560716/java-Architect-SCEA/certification/Suggestions-OCMJEA-part-resubmission-class


    SCEA/OCMJEA certified
    Rahula Krishnan
    Greenhorn

    Joined: Dec 08, 2011
    Posts: 24
    Please any one clarify

    http://www.coderanch.com/t/565140/java-Architect-SCEA/certification/OCMJEA-Resubmission
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Need advice for OCMJEA part 2 resubmission - class and deployment diagrams