SCJP 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA5
Ghajini Johnson wrote:Login mechanism - if this is part of your functionality dont use it in filters. Thats not a good idea. Filters and intercepting filters must be used which are not necessarily part of the application functionality.
Ghajini Johnson wrote:If checking whether the user is logged in by any specific cookie or session info, it is okay, but for initial login authentication, which should be specific to each application and essentially login is part of functionality, so initial authentication need not be done in filters. Once cleared, thereby you can intercept every request, and see whether user is authenticated.
Bill Zelan wrote:Probably you need to use ejb3 and jsf instead of struts or springframework, as this is an exam from Sun
so I guess you should use Sun technologies, indeed.
SCJP, SCWCD, SCBCD, SCEA 5
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.
...you can't select the technology based on the requirements, because the technologies are equivalent.
SCJP, SCWCD, SCBCD, SCEA 5
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.
SCJP, SCWCD, SCBCD, SCEA 5
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?
SCJP, SCWCD, SCBCD, SCEA 5
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.
Don't get me started about those stupid light bulbs. |