This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Passed SCWCD 5 Today

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear community,
Thank God I passed SCWCD 5 today with a score of 92%. I would like to thank the Java community for their efforts and generosity in providing us with valuable resources to study. Special thanks to:
* Charles Lyons for his book "Sun Certified Web Component Developer Study Companion".
* Bryan Basham and et al for their book "Head First Servlets and JSP".
* JavaRanch website for the marvelous resources.
* The Java community in general.

I took the exam after solving many mock exams (around 12) and this helped me to reduce uncertainty and understand the tone of exam questions.

I still have two unanswered questions in my mind:
* Regarding session migration, who takes responsibility of keeping session info synchronized across multiple independent servers? Is it the load balancer? Or another entity?
* Does the business delegate code belong to the web component or the EJB component?

Thanks.
 
Sheriff
Posts: 6631
1254
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations, and welcome to JavaRanch "M Ba"
please check your private messages regarding an important administrative matter.
 
Ranch Hand
Posts: 372
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations
 
Enthuware Software Support
Posts: 4453
41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!!!
 
Creator of Enthuware JWS+ V6
Posts: 3348
303
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mohammad,

Congratulations!!

Let me try to answer your questions:

who takes responsibility of keeping session info synchronized across multiple independent servers


In a distributed environment the Session object is moved from one JVM to the other depending one where the Request is coming in. As there is only one Session Object there is no need of synchronizing (apart from synchronizing updates on the attributes contained in the Session object, but that does apply in a non-distributed environment as well).

Does the business delegate code belong to the web component or the EJB component?


The Business delegate hides the way the underlying business service is implemented, so the service might also be implemented by something other than EJB's. Therefore it is not part of the EJB component, but it is positioned in the Business Layer (not in the Presentation Layer).

Regards,
Frits
 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!
 
Bartender
Posts: 4107
72
Hibernate Fedora Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!
 
Bartender
Posts: 2292
3
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats, champ!
 
Author
Posts: 3445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats and keep up the good work by applying what you had learnt
 
Mohammad Albaba
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you comrades for your encouragement and thank you Frits for answering my questions.
    Bookmark Topic Watch Topic
  • New Topic