samou Mouloud

Greenhorn
+ Follow
since Apr 12, 2003
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 samou Mouloud

XAER_RMFAIL means "unavailable resource manager", it looks like your global transaction is timing out. Try to increase timeout value
Mouloud
19 years ago
A readable sequence diagram must not have more than 15-20 objects...Use components or stereotyped subsystems instead of simple objects:
sample: "<<UI>>", you can list your jsps or other objects in the text.
Mouloud
Think of the requirements as "a first step draft", terms are not used accurately, even itenarary, flight, segments are used with different meanings in the use cases.
Use your own definitions but...you must be coherent, according to the airline industry standard.

Mouloud
1/The rule of thumb with J2EE spec 1.3 is: Don't create thread in a EJB container (see specification at Sun web site):FORBIDDEN !!
2/You can find a redbook which may be useful: Migrating to WebSphere V5.0 An End-to-End Migration Guide, SG24-6910-01 (from V 3.5 to 5.0 and from V4 to V5.0)
Regards
Mouloud
19 years ago
With a Reap Time of 3mn, you may get StaleConnectionException randomly, try decrease this value and check your performances.
There is a workaround with Websphere 5.1, under:Resources -> Manage Resource Adapters ->WebSphere Relational Resource Adapter -> CMP Connection
Factories ->Custom properties->preTestSQLString from the administrative console. Let Websphere test for the validity of a connection before returning it to a caller
Regards
Albert
19 years ago
The answer : Yes for your two questions
See UML User guide or the UML reference manual.
Wooosh !
Sorry, sorry !
Read careffully the questions....You can't manage the session state in a servlet !!! ( sure, you have read HttpSession)
Mouloud
For Sun (J2EE blueprints), it's a good practice to manage session state in a stateful session bean
For IBM: avoid stateful session bean, instead, use HttpSession with a relational database
Your choice ???
Mouloud
Ajith

I agree with you. This pure theory, I don't see any real benefit with a singleton Business Delegate.
Mouloud
By one-to-one relationship, I don't mean one instance to one instance. You may cache a reference to the session bean's HomeHandle (not a reference to a Handle)
Mouloud
I agree with this implementation only if there is a one-to-one relationship with a session facade.

Mouloud
SCJP, SCWCD, ICED, SCEA part I
Hello

I have seen that many developpers implement Business Delegate as singleton.. What about concurrent access and thread safety ?

Thanks
I downloaded my assignement a few days ago and I was really surprised by the multiplicities ! confusing...Are they requirements ?
Which definition to take for component: UML or J2EE, they are different.
Thanks
Mouloud
we cannot say anything: use Tivoli performance viewer or launch your server with -verbosegc and analyze the log.
If you have a stack overflow error in your trace, try increasing max thread stack size with -Xss=1 or 2M
Mouloud
19 years ago