Carlos Fernandes

Greenhorn
+ Follow
since Sep 11, 2007
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 Carlos Fernandes

Thanks for the reply.
I would like to know if you guys used notations like <<singleton>> or <business delegate> in the component diagram
And also if you used control / boundary / entity notations on the class diagram.

By the way, if you have ENTITY sterotyped classes on your class diagram and you are NOT using hibernate/jpa, will they have a problem with this?
1- My SuD connects with 2 or 3 external services, 2 of them belong to the same company but are already developed and deployed , possibly on the local environment. The other one belongs to a different company and is deployed on a remote env. Is there any difference between these external services regarding component diagram and deployment diagram? The services that are not under the SUD (and even if 2 services are local, they are not under the SuD) should be displayed on the deployment AND component diagram? the local external services appear on the use case diagram, while the remote external services does not.

2- I changed the domain model. Imagine you have a JEWELRY shop. You sell watches, ear rings and necklaces. They actually put: EARRING, WATCH and NECKLACE as domains. I just created a JEWELRY class and a JEWELRY Type Enum. It was just automatic, I didn't even think about not doing this. Also, the use case specification MENTIONS the abstract terms like JEWELRY and JEWELRY TYPE, so I thought that was an indication that the domain model could be improved.

3- I am only displaying on sequence diagrams and class diagrams things that relate to business concepts. I am not displaying on class diagrams classes that relate to security (filter) or Exception translation. For example, I am not stating that a validate() method will generate a type of exception that will be handles by an aspect (which is totally transparent to the diagrams).

Any thoughts?
Moderator, if I went too far on any abstraction, please let me know. I will rephrase the words, etc..

Thanks for any help.
Hello people,

I've started to develop a application in java to do audio and video streaming (javascript player posting request to http urls (apache) and struts namespaces to find resource files).
I'd like to be able to monitor each connection from a different user, as well as limit the bandwidth per user (both TRANSFER RATE as well as TOTAL BANDWIDTH ammount).

Any ideas on how to do this with tomcat?
I may start using tomcat and grow into jboss, dunno for sure if tomcat is fully configurable inside jboss.

Thanks,

Carlos.

14 years ago
That answer is wrong, F will never happen.
You have to realize that, while the add and print methods are synchronized, no threads hold the lock to the NameList instance for throught the entire thread execution. While the JVM/SO may switch the executing thread whenever they please, they could switch them while they add ("A"), so we could have something like AABC (first print) AABCBC (second print), TOTAL would be AABCAABCBC, but no way three A's could be printed in sequence. the G answer could happen, if, before the first thread prints all, the jvm quickly switched to ther 2nd thread and back, and give it enough time to add another A, so first print all would be ABCA, and the second ABC ABC, total would be ABCAABCABC.

Only options E and G are correct. F is incorrect based on above, and the others are incorrect for obvious reasons.
[ September 11, 2007: Message edited by: Carlos Fernandes ]
nevermind.
[ September 11, 2007: Message edited by: Carlos Fernandes ]