Cameron Wallace McKenzie wrote:Indeed!
I mean, if you have a fully working EJB 2.x application, and you need to add a single EJB, would you upgrade to EJB3.0, or just add a new EJB2.x bean to the application. A good architect would know that you don't change an entire implementation for one additional feature. A question like that might appear on the exam, and indeed, in that type of scenario, going with EJB2.x would be the correct answer!
EJB 2.x components still exist out there! You'd be a pretty miserable J2EE architect if you didn't know anything about them.
The questions won't hit hard on EJB2.x. You need to know some of the differences between the older and newer versions of EJB, which isn't too difficult, because you really can't learn EJB3 from any resource without hearing a bit about how new EJB strategies are different or better than previous versions. And that's about the depth you need to know.
Certainly don't focus all your efforts on EJB 2.x, but know the differences between older and newer versions.
-Cameron McKenzie
Jeanne Boyarsky wrote:
Sorin Alexandru wrote: Do you have a good use case for the pass-by-reference scenario in EJB ?
A few application servers have allowed pass-by-reference for local beans in 2.X as well. I recommend not using this "feature." Even if the bean is passed by reference, changing it yields two problems:
if you ever want to add a remote interface, you have a problem/rewrite ahead of you the caller isn't aware the bean changed (as it isn't common) which introduces subtle defects
Benjamin Dittwald wrote:yeah thanks for the hint, i solved it with container managed authentication.
This how to helped me with it.
regards,
benjamin
Jonathan Aotearoa wrote:If you're of the opinion that all the options you listed have exactly the same performance, scalability, and memory usage characteristics, then pick some other defining attribute(s) such as ease of development, available expertise etc.
Jonathan Aotearoa wrote:For example.
Are you being asked to design a complex user interface where lots of ajax enabled components might be appropriate, or are you being asked to design an application which, for the most part, only displays large amounts of effectively read-only data?
If performance is a critical NFR, how performant are the competing technologies and/or frameworks?
Jonathan Aotearoa wrote:By requirements I mean the nature of the application you've been assigned to design and the non-functional requirements you've been asked to fulfill.
...you can't select the technology based on the requirements, because the technologies are equivalent.
I disagree. Competing technologies may target to the same problem, e.g. building web applications, but they're never equivalent. They all have their strengths and weaknesses.
Jonathan Aotearoa wrote:
so I guess you should use Sun technologies, indeed.
My advice to you is focus on the problem. Select the technology based on the requirements not on whether it originated from Sun.
Bill Zelan wrote:Probably you need to use ejb3 and jsf instead of struts or springframework, as this is an exam from Sun
Marcel Wentink wrote:
This has to do with the reasons you mentioned: demography, work culture, mature technologies, etc.
You misunderstood the work culture thing I think. The work culture is very much against older people working. The other factors demography, mature technologies are just that dominant that you do see older programmers. Actually I am happy to have a job at 43, and I am doing very much to keep my knowledge up to date and I am looking of ways to do some management stuff. Frankly I do that because I would be dead scared to be unemployed when I would in say ten years, be 53. I do not have a very uptimistic view on my market position in ten years time. I'll be older, more work will be outsourced, and getting into management has not had much result. I'll tell it to you straight, if I was a student right now, I would not choose Information Science again. Not because I do not like the job as such though, but because of what I stated above.