HenkGijsbert

Greenhorn
+ Follow
since Jan 07, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by HenkGijsbert

Hi programmers and architects,
I am a bit pondering about the place of MVC in my diagrams. Maybe some of you can shed a light on it. Do my diagrams have to show how MVC is applied ? Or can I abstract from that and concentrate on business logic and take MVC for granted?
Regards,
Henk
Hi all,
Can anybody please help me on this. Must servlets/jsp's show up in component diagrams? And if they must, as a component for every servlet or as a component containing all servlets?
Thanks,
Henk
Hi all,
Until now I have made a first version of my diagrams, only bothering about the business logic. I have only depicted different servlets in the sequence diagrams to show from where calls to session beans (can!) originate.
I wonder have much of UI information must my diagrams have and where do I show it? So I have the following questions:
1) Can I suffice with showing the swing client just as a component without specifying the classes of which it consist?
2) Can I showing one servlet component on the webtier, containing the different servlets I use in my sequence diagrams. Or do I have to make a component of every servlet? Do I have to show servlets in my class diagrams?
3) Do my diagrams have to show how MVC is applied showing controler servlet- and session part in class diagram? Or can I abstract from that and concentrate on business logic and take MVC for granted.
4) I saw that JIGNESH1 SHAH got a 100% score with a class diagram that does not show EJB's(JIGNESH, congretulations). Can someone (maybe JIGNESH if you read this) explaine how a class diagram without EJB's can be consistent with a solution that has EJB's. Or must you just show entity beans like 'Flight' in the class diagram without specifying that you will make an entity bean of if.
Thanks in advance,
Henk van Jaarsveld
SCJP, SCJD
Thank you Himansu,
but ArgoUML runs on a JVM I believe, and therefor it does not perform for my machine (takes one minute only to bring up the JVM...).
Does someone know a 'native' lightweight tool?
Regards,
Henk
Hi all,
The computer I have at home is only a 486 20Mb PC running Windows 95.
Does anyone know a light UML tool that enables me to make the 3 kinds of diagrams we need to make for part II? By the way, anything that
runs on a JVM is to slow for my machine. It would be very nice if the
tool supports the use of stereotypes.
Regards,
Henk
Hi all,
Just wanted to let you know. Thanks for good discussions. Currently I am halve way j2ea certification (Passed part I, halve way part II), so I will focus on that topic from now on.
It was a great experience and I learned a lot on multithreading and rmi. For me that is the main gain of the developers assignment. Swing is not a technology that is used very often. UI's are most times web based, so it would be useful if the developers assignment would require a JSP/Servlet UI.
Regards,
Henk
Sorry I thought MultilineHeaderRenderer was in the standard API. You can find the code for it at
web page
regards,
Henk
Hi Kalichar,
Would not using multi line headers help you:
MultiLineHeaderRenderer renderer = new MultiLineHeaderRenderer();
Enumeration enum = table.getColumnModel().getColumns();
while (enum.hasMoreElements()) {
((TableColumn)enum.nextElement()).setHeaderRenderer(renderer);
}
regards,
Henk van Jaarsveld
Why use prefixes in stead of using flags. For instance: java clientProgram -server localhost -port 1099
Another possibility is using properties:
java -Dserver=localhost -Dport=1099 clientProgram
Hope this helps,
Henk
What about stuffin al your server classes in a server.jar and all your client classes in a client.jar and execution the .jar with java -jar.
You don't need to change a classpath then and the user can execute the .jar in any directory.
regards,
Henk
Hi again Sam,
Well, the flightnumber. Also see my answer in our other discussion.
regards,
Henk
The find method is NOT finding a method with the same record number, but with the same key value, wich is in the first field of a record:
newData.getValues()[0]. Please study the DataInfo class and the Data class to learn the difference between record number and key value.
Henk
Some naughty client might try to modify the key field of a record to the value of an already existing key. So it is necessary.
Hi raphael,
Maby some other member can explain how to get AROUND this (I can't), but you can easily AVOID, it because for the Fligh By Night developers assignment it is not needed to install a security manager on the VM where the GUI runs.
Your GUI should run on a client proces, and your data server on a server process, and only for the data server process you need to install a security manager. When you run in non-networked mode, GUI and database in same VM, you do not need to install a security manager at all.
Hope this helps,
Henk van Jaarsveld
Because multiple clients can connect to that 1 Data class.
I think the famous 'lock/unlock the correct question' mailthread will give you a lot of answers.
Regards,
Henk van Jaarsveld (NL)