Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UML guide for the SCJA exam available!

 
Bert Bates
author
Sheriff
Posts: 8898
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To everyone studying for the SCJA beta, one of the exam's creators, Dave Wood, has created a 10-page PDF on the UML you need for the exam. He's currently writing an OO book that has UML in it, and so he pulled together a little cheat-sheet to help the beta takers for SCJA.

It's not a chapter from the book or anything, just pieces he put together to help you prepare. He actually wrote most of the UML questions on the SCJA, so he understands exactly what you need to be studying. : )

It's at:
http://www.hfoobook.com/

Good luck with your prepping!
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bert!

Will there be any guides for other topics?

Nick
 
Arun Prasath
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks kathy,
That will indeed be of great help..
 
Mark Cave
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bert,

Is it going to be an OOAD book? who are going to be the target readers of the book?
 
karthik Madhesan
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai berts !
It was absolutely desperate to get this material.

Thanks
Karthik_Techie
SCJP 1.4,ICAD 285,PREP SCJA.
 
Vishwas Hegde
Ranch Hand
Posts: 212
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bert,

Thank you.......



Regards
Vishwas
 
Paulo Aquino
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks so much!
 
Dave Wood
bronco
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mark Cave:
Thanks Bert,

Is it going to be an OOAD book? who are going to be the target readers of the book?


Hi Mark.

It's really an OORADPw/UML book.

It covers use cases, analysis and then lots of design/implementation topics. The target audience will have at least some programming experience...ideally with Java (the example code is mostly in Java, but it's definitely not a how-to-program-in-Java book). The book covers a wide range of OO stuff, including some fairly basic stuff early on before moving into more advanced topics (things like object-to-relational mappings, distributed objects, etc.).

HTH!

-Dave
 
Ravi Nistala
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bert Bates:
To everyone studying for the SCJA beta, one of the exam's creators, Dave Wood, has created a 10-page PDF on the UML you need for the exam. He's currently writing an OO book that has UML in it, and so he pulled together a little cheat-sheet to help the beta takers for SCJA.

It's at:
http://www.hfoobook.com/

Good luck with your prepping!


Many Thanks to bert and dave .This would really help.
 
Guy Barros
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bert - Great Test , took it yesterday

Dave - Great tutorial , will defently buy the book and cudos are in order for your questions on the test.

i really enjoyed the experience , great test.
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's very good.

thank you very much.
 
Mark Cave
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Dave,

It's really an OORADPw/UML book.

What is RADPw? Are you refering to Rapid Application Development Process(RADP)?
 
Dave Wood
bronco
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mark Cave:
Thanks Dave,


What is RADPw? Are you refering to Rapid Application Development Process(RADP)?


Whoops! Sorry for the confusion. I was just being silly and adding to the OOAD acroynm...

OORADPw/UML =

OO - Object Oriented
R - Requirements
A - Analysis
D - Design
P - Programming
w/ - with
UML - Unified Modeling Language

 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks very good Dave.

Mark
 
Mark Cave
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whoops! Sorry for the confusion. I was just being silly and adding to the OOAD acroynm...

OORADPw/UML =

OO - Object Oriented
R - Requirements
A - Analysis
D - Design
P - Programming
w/ - with
UML - Unified Modeling Language

Thanks Dave, I will be waiting for the book to hit the stores.
 
Erik Bengtson
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most of uml questions I got in the test were covered by this material.
 
Dave Wood
bronco
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Erik Bengtson:
Most of uml questions I got in the test were covered by this material.


That's good to hear. But you did say most...is there anything in particular that was on the exam that's not covered in the PDF? I thought I had everything in there, so I'd like to update it if I forgot something!

Thanks,
Dave
 
Ariel Ortiz
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But you did say most...is there anything in particular that was on the exam that's not covered in the PDF? I thought I had everything in there, so I'd like to update it if I forgot something!


The only thing I noticed that the PDF is lacking has to do with mapping UML to Java code. For example, you might be given a UML diagrama with two classes, a one to many composition relationship, and a navigation arrow. You must select the valid code for these two classes in Java in order to reflect the same structure, multiplicity and navigation.

...Ariel
 
Matt Kidd
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ariel Ortiz:


The only thing I noticed that the PDF is lacking has to do with mapping UML to Java code. For example, you might be given a UML diagrama with two classes, a one to many composition relationship, and a navigation arrow. You must select the valid code for these two classes in Java in order to reflect the same structure, multiplicity and navigation.

...Ariel


I just read through the pdf last night and I could of sworn this was covered. It might not of been explicit but it was implicitly covered. At least I thought.
 
Ariel Ortiz
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just read through the pdf last night and I could of sworn this was covered. It might not of been explicit but it was implicitly covered. At least I thought.


This might be so. But from the information in the PDF document only, can you tell me how would you code in Java the UML diagrama in page 3? Remember that you must keep the same structure, multiplicity and navigation.

...Ariel
 
Joyce Lee
Ranch Hand
Posts: 1392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ariel,

But from the information in the PDF document only, can you tell me how would you code in Java the UML diagrama in page 3?

OK, let me try translating the UML diagram on page 3 into code.



To simplify the code, I made some assumptions; for example, the UML diagram does not show the return value of each method so I took the liberty of deciding the return types. Nevertheless, it still satisfies the structure, multiplicity and navigation. All the variables and methods specified in the diagram are in the code. Assuming all the books found in the database has at least one page. A List object is used to hold all the Page objects. Only the Book "knows" the Page, thus forms an acyclic graph. When this book is destroyed, all its Page objects are destroyed.

Now the question is, if we replace the composition notation with a association one, does it still map to the code above? I would say yes. If association relationhship is used with mulitiplicty and navigation remain unchanged, that is,



However, in the above diagram (association), I can't tell if a Page object referenced by a Book object can be referenced by other type of object elsewhere or not. But with composition, I know that this Page object can only be owned by a Book object at any time.

Joyce
[ June 24, 2005: Message edited by: Joyce Lee ]
 
Ariel Ortiz
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nice answer Joyce.

But were you able to get to it by just reading the PDF document? That's my whole point.

I agree that for many seasoned Java programmers the UML notation is very easy to translate to Java once you get to understand it. But do you think someone with little programming experience can effectively do this translation. Let's not forget the target audience for this exam.

...Ariel
 
Dave Wood
bronco
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good point about the code.

In fact, I have a page that does show a couple code sames for this book/page example (source code is almostly exactly the same as what Joyce wrote!)...I should have included it in the PDF -- sorry. I'll update the PDF to include this additional page and post back here when it's available.

Thanks for the feedback!

-Dave
 
Dave Wood
bronco
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, I went ahead and added one more page from the HFOO book to the PDF. It's basically just a code example, similar to the code given earlier in this thread (a bit less complete, actually...but it does include two different (but very similar) implementation examples).

It's in the same place...just hit the link at the top of hfoobook.com.

If you're bored, you can check out the rest of the (very) slightly improved site as well.

-Dave
 
Joyce Lee
Ranch Hand
Posts: 1392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dave,

Thanks for creating this PDF for the SCJA takers.

Joyce
[ June 25, 2005: Message edited by: Joyce Lee ]
 
Joyce Lee
Ranch Hand
Posts: 1392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[Ariel]: But were you able to get to it by just reading the PDF document? That's my whole point.

I agree that for many seasoned Java programmers the UML notation is very easy to translate to Java once you get to understand it. But do you think someone with little programming experience can effectively do this translation. Let's not forget the target audience for this exam.


I agree with you. Having UML diagrams with some code examples would definitely make the explanation clearer.
 
Bert Bates
author
Sheriff
Posts: 8898
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dave - you're rockin!

Glad you guys like the test
 
Darya Akbari
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dave,

you wrote at the begin about requirement analysis. Do you follow the Agile way?

Regards,
Darya
 
Darya Akbari
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I created a new topic What is the HF OO book about?.

Let's discuss it there, since I believe that this isn't SCJA relevant anymore.

Thanks,
Darya

[Andrew: Changed the topic link since I moved the topic to Bunkhouse Porch]
[ July 08, 2005: Message edited by: Andrew Monkhouse ]
 
Anupam Sinha
Ranch Hand
Posts: 1090
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the guide. It realy helped. Thanks Dave and Bert.
 
Sybyll Jones
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, does anyone have this extended UML PDF with java-code samples mentioned above??

Thank you
Syb.
 
Raj Shharma
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers,

I am trying to get Dave Wood's PDF but I guess the link is broken, if possible can anyone forward it to me.

Thanks
 
sudeep jha
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That domain itself is up for sale.
Please provide the link for pdf.
Thanks.
 
Felipe Cerda
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's here now: http://www.scribd.com/doc/7214872/hfooassociateuml
 
Anil Kotamraju
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nice forum
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic