aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes UML for ................ Book series Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "UML for ................ Book series" Watch "UML for ................ Book series" New topic
Author

UML for ................ Book series

HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
Bob,
If you were to write a series of UML books what would the series look like.
Here's a few suggestions :
UML for Java Programmers
UML for Business Analysts ( most BAs shy away from the current set ; They are missing out on all the fun)
UML for Component Developers (UML 2.0 inclusive)
UML for Star Trek fans
regards
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

I would like to see everything in a single book.


Groovy
HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
I would like to see everything in a single book.

You would also need a JCB to cart it around.
I imagine the actual UML content would be the same in these books , it's the surrounding language that would be different.
regards
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
If I remember correctly, Robert already got a request for "UML for C# Programmers"...
And next year, we will need a second edition of UMLFJP, because of generics added in JDK 1.5 (Tiger)!


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
because of generics added in JDK 1.5 (Tiger)!

Does that take type casting away ? And therefore make it a purer OO.
regards
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by HS Thomas:
Does that take type casting away ? And therefore make it a purer OO.

It does reduce the need for explicite casts - in fact it just adds a syntax so that the compiler is able to add the correct casts automatically.
I don't think it makes Java "purer OO".
HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
Thanks, Illja.
I think we are keeping you busier than we are Robert Martin.
regards
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by HS Thomas:
Thanks, Illja.
I think we are keeping you busier than we are Robert Martin.

Well, you should take into account that we are living in quite different time zones - so he will probably post a whole bunch of answers while I am already sleeping...
HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
Illja,
You deserve to win a book!
regards
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

HS , You too deserve to win a book.
BTW, where are from HS?
Why will UML for java programmers change after java 1.5 comes out?

Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Pradeep Bhat:
[QB]Why will UML for java programmers change after java 1.5 comes out?

Java 1.5 will have generics - a special way to parametrize classes (you might know them as templates from C++). There is a special UML syntax to depict that in class diagrams, but it isn't currently covered by UMLFJP.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

There is a special UML syntax to depict that in class diagrams, but it isn't currently covered by UMLFJP.

Is this already a UML feature or is part of UML 2.0?
Robert Martin
Author
Ranch Hand

Joined: Jul 02, 2003
Posts: 76
I am in fact writing a series of books; but not quite the list you mentioned. The series is "Software Professionalism" by Prentice Hall. "UML for Java Programmers" is just one of the titles in the series. There will also be titles on managing legacy code, managing software projects, and a sub-series entitled "Clean Code".
If "UML for Java Programmers" does well, then I will follow it up with UML for C, C++, C#, etc. Each langauge had it's own interesting issues with UML.


---<br />Uncle Bob.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Pradeep Bhat:
Is this already a UML feature or is part of UML 2.0?

It's part of UML 1.x and heavily used by C++ developers, as far as I know.
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Originally posted by Ilja Preuss:

Java 1.5 will have generics - a special way to parametrize classes (you might know them as templates from C++). There is a special UML syntax to depict that in class diagrams, but it isn't currently covered by UMLFJP.

YUGH! One of the things I hate most in C++ (though they are powerful) are templates...


42
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Originally posted by Jeroen Wenting:

YUGH! One of the things I hate most in C++ (though they are powerful) are templates...

They are soon going to be Java as well. I like it very much. When I started learning Java I was surprised that this C++ feature was missing.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Pradeep Bhat:

They are soon going to be Java as well.

Notice that the implementations are *fundamentally* different, even though the syntax is very similar.
HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
Notice that the implementations are *fundamentally* different, even though the syntax is very similar.

Which language are you talking of in particular ?
Java and C++ or Java and C#.
Oh. I see it is C++.
Is it also true of JAVA and C#.

regards
[ September 12, 2003: Message edited by: HS Thomas ]
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Originally posted by Ilja Preuss:

Notice that the implementations are *fundamentally* different, even though the syntax is very similar.

It is available for collection(i/f) classes only, I guess.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

I just checked a Tiger article. It does support writing parameterized type.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Pradeep Bhat:
It is available for collection(i/f) classes only, I guess.

No, it's a quite general concept.
The biggest difference is that in C++ every instance of a template becomes its own class - you will have an ArrayList<Integer> class, an ArrayList<String> class etc.
In Java, on the other hand, all instances of a "template" share one class file - the compiler just adds different casts and checks to the client code.
[ September 13, 2003: Message edited by: Ilja Preuss ]
 
Consider Paul's rocket mass heater.
 
subject: UML for ................ Book series