The moose likes Associate Certification (SCJA/OCAJ) and the fly likes UML Tool used by Cameron + OO question Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Associate Certification (SCJA/OCAJ)
Reply Bookmark "UML Tool used by Cameron + OO question" Watch "UML Tool used by Cameron + OO question" New topic
Author

UML Tool used by Cameron + OO question

René van der ven
Greenhorn

Joined: Oct 25, 2009
Posts: 7
Hi Cameron,

1. Which UML tool do you use for the SCJA Certification Guide?

2. I am very database oriented.
If I write a program I filter the database (sql statements in Delphi)

Now I am learning a complete other way of thinking OO and JAVA.
When do I use database filtering and when do I create objects.

Example:
I want to search in a database of 10000 records.
Now I filter the data for the specific record with SQL.

The OO method would be to create 10000 objects in memory and
to look for the specific object. Am I correct?
When do I create objects and when do I filter data?

Thanks in advance.

Rene' van der Ven
The Netherlands
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4962

I actually just used the UML tool in Eclipse. It just shows classes and interfaces and their method/properties in boxes. There was nothing too magical there, which is what I wanted - just keep it simple so it's easy to learn.

For large records, you want the database to do the filtering. Then, the Java part can perhaps do a secondary filtering or formatting on a smaller set of records. You don't want 10,000 Java objects being created on the JVM for each query, that's for sure.

-Cameron McKenzie


Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
 
 
subject: UML Tool used by Cameron + OO question
 
Threads others viewed
Combine Resultset
Filter data in Java
Object problem
why and when to use polymorphism
HQL and Oracle
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture