• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Suggestions for OCMJEA part 2 resubmission - class and deployment diagrams

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
     
    Ranch Hand
    Posts: 100
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    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.
     
    joey cole
    Greenhorn
    Posts: 19
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    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).
     
    Greenhorn
    Posts: 1
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    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!
     
    Ranch Hand
    Posts: 78
    Eclipse IDE Tomcat Server Java
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    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




     
    Greenhorn
    Posts: 24
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    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.
    Filename: deployment1.bmp
    File size: 973 Kbytes
     
    Ranch Hand
    Posts: 36
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    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.

     
    Rahula Krishnan
    Greenhorn
    Posts: 24
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    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.
    Filename: deployment1.bmp
    File size: 973 Kbytes
     
    reply
      Bookmark Topic Watch Topic
    • New Topic