aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Suggestions 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 "Suggestions for OCMJEA part 2 resubmission - class and deployment diagrams" Watch "Suggestions for OCMJEA part 2 resubmission - class and deployment diagrams" New topic
Author

Suggestions for OCMJEA part 2 resubmission - class and deployment diagrams

joey cole
Greenhorn

Joined: May 24, 2010
Posts: 19
Hi guys,

I am preparing for my OCMJEA part 2 (Dreamcar assignment) resubmission. I failed my class and deployment diagrams. I would really appreciate it if I could get some feedback on the following:

Class diagrams (25/40)
  • missing ejb/explanation class-level details
  • - I am not sure what this means; I did display my EJB/MDB annotations using UML comments. Any suggestions on what else is there to display?
  • missing presentation-tier components
  • - Because I am using Seam (EJB and JSF), I did not create any JSF classes, as they are automatically handled by the Seam framework itself. Could this be the reason why I lost marks?
  • missing inter-class relationships
  • - I did draw association and aggregation / composition links between classes, I'm not sure what else is required.

    Deployment diagram (13/24)
  • missing complete platform profile details such as web/app server, OS, RDBMS, etc.
  • - I provided basic hardware configurations such as operating system, memory, hard disk, JDK. Anything else I should be including?
  • missing cluster(s) deployment details
  • - I am not sure what this refers to. Is it enough to draw my diagram in such a way that if a particular resource is clustered, I just use the 1..* multiplicity? Or should I draw multiple nodes to emphasize the fact that it is clustered?
  • missing details for integration tier
  • - I believe this is due to the fact that I omitted the legacy system from the deployment diagram.
  • more detail required (very high-level deployment diagram shown)
  • - At this point, I'm not sure what level of detail is required overall (I was referring to Cade's book for the deployment diagram). Perhaps someone can furnish me with a sample UML deployment diagram that is deemed detailed enough by the assignment's standards?

    Any suggestions would be greatly appreciated. Thanks!


    SCJP 6, SCWCD 5, SCBCD 5, SCDJWS 5, OCMJEA 5
    Nilessh Ganu
    Ranch Hand

    Joined: Dec 22, 2009
    Posts: 100
    joey cole wrote:Hi guys,

    I am preparing for my OCMJEA part 2 (Dreamcar assignment) resubmission. I failed my class and deployment diagrams. I would really appreciate it if I could get some feedback on the following:

    Class diagrams (25/40)
  • missing ejb/explanation class-level details
  • - I am not sure what this means; I did display my EJB/MDB annotations using UML comments. Any suggestions on what else is there to display?


    Did you specify kind of the EJB beans like @stateless, @Entity ??
    joey cole wrote:
    Deployment diagram (13/24)
  • missing complete platform profile details such as web/app server, OS, RDBMS, etc.
  • - I provided basic hardware configurations such as operating system, memory, hard disk, JDK. Anything else I should be including?
    Any suggestions would be greatly appreciated. Thanks!


    I had additionally mentioned example Application server & DB versions.
    For clustering/proxy combinations I found this link really useful.

    Hope this helps.


    Nilesh
    SCJP SCWCD OCMJEA
    joey cole
    Greenhorn

    Joined: May 24, 2010
    Posts: 19
    Nilessh Ganu wrote:

    Did you specify kind of the EJB beans like @stateless, @Entity ??


    Yes, I did specify the annotations required (e.g. @Stateless, @Stateful, @MessageDriven, @Entity, @Local). Although I did put in those annotations directly beside the class name (e.g. XXXSessionBean @Stateless).
    carlos correal
    Greenhorn

    Joined: Dec 05, 2011
    Posts: 1
    joey cole wrote:
  • missing presentation-tier components
  • !


    Hi Guys,

    I´m also having the same comment "missing presentation-tier components", what does this mean? I thought we didn't have to include JSPs or JSFs on the class diagram as this would be more like component diagram stuff? I'm using Struts, so I've included Actions and ActionForms on the class diagram, so I don't know what other components they want us to include? Maybe an UML note explaining what's the purpose of such and such presentation component?

    Appreciate any kind of help.

    Many thanks!
    Sadanandam Kurapati
    Ranch Hand

    Joined: Sep 09, 2011
    Posts: 78

    Hi,

    These are some of my thoughts.

    Class diagram
  • This should be framework agnostic. So don't provide any framework classes rather try to keep the MVC structure.
  • Providing JSPs will be good idea as it will provide the full end to end picture to evaluator. (I know in real project we don't provide these through.)
  • Adding a separate package for all common framework like logging, IOC, any other utilities etc will be pretty useful
  • Provide as much notes as possible so that evaluator can understand easily
  • Another important things is don't deviate much from BDM and also provide appropriate annotations like <Message Drive Bean>, <Stateless Session Bean> etc
  • Finally provide this class diagram to colleague, friend or someone and ask him if he is able to understand what we are trying to explain. He should be able to understand at least 80%


  • Component diagram
  • Design the deployment nodes independent of configurations and provide hardware profile names.
  • Always provide the hardware configurations details like, OS, CPUs, Memory, # of cores, Disk capacity, etc
  • Check the system against the NFRs provided in your assignment and it should fulfill them. Like making 2 physical nodes to fulfill the availability NFR, having clustered environment for performance, sociability etc, DMZ, SSL communications between system etc for Security etc
  • Always list all of the systems(Internal & External) and clearly specify the communication protocols (SMTP for mail, SOAP for web services etc).
  • Specify the containers (Web, EJB) and clearly specify what files deployed where.
  • Provide notes to specify any of the configurations like Message Queues etc
  • Design the deployment nodes independent of configurations and provide hardware profile names.

  • Following are the few good links to understad the deployment diagram.
    http://www.agilemodeling.com/artifacts/deploymentDiagram.htm
    http://www.uml-diagrams.org/deployment-diagrams-overview.html

    For more information search this forum with "class diagram" or "deployment diagram" and I am sure you will get lot of information. Hope this information will be useful.

    All the best for your re-submission guys.

    Regards,
    Sadanand K





    SCJP1.5, SCWCD5, SCEA5
    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
    just my 2 cents...

    Do i need to show the external systems in the class diagram ?? or is it okay to add comment the class diagram ???
    There is no need to show external systems in the class diagram, I think its better to show it in comments.

    how to show these systems in the deployment diagram
    Since its external system and you are not deploying in your servers, I think there is no need to show external system in deployment diagram.


    SCEA/OCMJEA certified
    Rahula Krishnan
    Greenhorn

    Joined: Dec 08, 2011
    Posts: 24
    Thank you so much hari. I am clear about class diagram.

    In my assignment i have In house pricing system(its means its inside the LAN??? i am not sure) , it should be shown outside the application server or inside the application server? And also if we are integrating the JMS application, is it neccessary to be in our application server?


    if we are showing the system link from the application server as shown in the Fig A , it means it inside the LAN or outside the LAN external system ??? I saw the same in the mark cade book.
    Please clarify.

    PFA

    Thanks,
    Rahula.


    [Download deployment1.bmp] Download

     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Suggestions for OCMJEA part 2 resubmission - class and deployment diagrams