Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!

Yong How, Lim

Ranch Hand
+ Follow
since Feb 22, 2005
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Yong How, Lim

Hi Chengwei,

You should put the -vm parameter in the eclipse.ini file,
not at the shortcut.


Originally posted by Chengwei Lee:
What I did was to set the -vm parameter at the Windows shortcut and it resolved my problem. However another problem arised. I couldn't switch workspace. The error message was unable to set the eclipse.vm value, so I added in the -Declipse.vm property. Then I was able to switch workspace only once.

Congrats Gustavo

Go now for part 2/3
Hi Ravi,

What you said is true and possible only if ALL the travel agents are in same physical location. In real life situation, I do not think this scenario will ever happen, so making it as an assumption is not adviseable.

Hi Jas,

From your err message, looks like your physical memory (RAM) is too low to run JMeter. Increase your RAM or close off ALL unnecessary services/program

13 years ago
Congrats Marcelo !!!

Now for part 2 and 3.... hehe
Really Cool Score !!! Totally amazed

What are we waiting for .... bring out the beers !!!

13 years ago
Hi Jay,

I remember somewhere in one of the Use-Case it says that it will refer to the Price Itinerary Use-Case, but it does at what condition.

No, I did not use timer service. (I dont know why you want to have it in the first place)

Hi Rashmi,
For Cade's book, I followed quite closely except the technology portion,
which I feel strongly that the Class Diagram should not contain technology related stuff (as explain earlier in this post).
The notes in Cade's is concise so it let me focus on the real problem.

Another source of the notes I would recommend is to read some of the notes
posted in the this scea_j2ee yahoo group, under the file section there is an enormous amount of material

Lastly one more piece of advise.
As we are training to become Architects, we should be learning the correct basics of the fundamentals of Software Architects, but always keep in mind what makes one Architect differ from the next Architect is STYLE,
or the way you vary your design within the given boundary.

Just think analogous of the building Architect, they are all constraint by gravity, by material available, by current technlogy, but some buildings are "better" built than others.

Hi Along,

Singleton is correct, every other object that need to have a DB connection need to get from this ConnectionPool object.

Take a look at this article on Singleton :

In normal situation for ConnectionPool setup, there will be several connection pre-created, so when a Connection is required, the ConnectionPool object just take the next available Connection object and pass it to the requestor.

Hi Jay,

The following is the answers to your questions :
a. IMHO, every alternative flow need to be shown so that we can capture the different scenario that the developer need to handle, which is quite important, because apart from the requirement, this will be the only place in the design that will tell the developer what other scenario the user expects and how to handle it.

b. About these policies, you can make certain assumptions. Make sensible assumptions can make your life make easier.

c. I think you have to re-read the Use-Cases more carefully, it is quite clearly spell out there.

d. On the number of sequence of diagrams, you should have at least the same number of diagrams for each Use-Cases. I choose to show major Alternative Flow as a separate sequence diagram, thus I have more sequence diagrams.

Hi Kuan,

The following is the answers to your questions :

1. I think the "Price Itinerary" is definitely needed, first and foremost, it is a Use-Case, which means that it is how the user would actually use it or how the user it expect to work.
Secondly, it is needed when because more than one Uses-Cases refers to it.
In short term, it may look insignificant, but this Use-Case MAY be important later when the customer decide to change the way they PRICE their service.

Always keep in mind the potential of changes the business may encounter later. Although the design may not be TOTALLY flexible to account for every potential change, but it is always good practice factor in the mostly likely change in the near future.
So IMHO, this is what the Price Itinerary is trying to achieve.

2. The Interface is not a MUST, and it depends on your design. If you have component that interact with a external object, then you may like to use it. Otherwise in most case you will not use it. Anyway, components are by definition, suppose to expose their relevant interfaces so that other components can interact with them.

Hi Marcos,

Yes, IMHO, the class diagram should be technology independent,
component diagram is where I show my J2EE technology related design.

Please take a look at my post which has this discussed in details :

Yes... agreed with the above posts.

Since the questions says the new system has "Java based Application" (does not imply EJB) ... and the older system has "CORBA interfaces"

So the choice should be
"e) Java IDL"
Hi Rashmi,

Thanks for pointing it out, it is a typo error as I think it quite obvious from the rest of sentence "not even Managers and Controllers"

It should have been :
1. I have the Class Diagram as Technology independent, so no J2EE pattern was in the Class Diagram... and J2EE patterns are shown in the Component Diagram.

2. Yes, I feel Class Diagram should be technology independent. I just put in classes that would help to satisfy the requirement. So J2EE stuff (like SLSB, SFSB, EntityBean) is NOT shown in the Class Diagram, not even Managers and Controllers (these are too only included in the Component Diagram).

No... I did not have any JSP page in my sequence diagram.
Hi Guy,

You need to pass 2 exam, 101 and 102 to be certified for LPIC level1,
take a look at the following website :

Objectives of both exams are as follows :

I think the passing mark is 50%, I cannot remember for sure though as I took the test a few years back.

13 years ago