This week's giveaway is in the Spring forum.
We're giving away four copies of Microservices Testing (Live Project) and have Chris Love & Andres Sacco on-line!
See this thread for details.
Win a copy of Microservices Testing (Live Project) this week in the Spring forum!

talu singh

+ Follow
since Jun 07, 2010
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 talu singh

probably not, JEE 5 and 6 are quite similar. So may be they will offer upgrade for JEE 7
Can all the exam deliverable for part 2 be included in index.html file or do I have to create multiple html files and create links to it from index.html file.

Right now, I have index.html file that has table of content. Each item in the TOC has anchor tag that goes to the relevant section on the index.html file. so basically, I have all the exam deliverables are on one index.html file. Should I break it so that index.html only has table of content, and each deliverable is in another html file?

If you are using JAAS DatabaseLoginModule for authentication, is it possible to let the container handle authorization?
or does JAAS has to handle both authentication and authorization?

Or does most JEE container handle declarative security using JAAS.

How do you prepare for part 3 of the exam.

I am thinking about writing an essay about how the architecture that I designed for part 2 handles non functional requirements.

A day before the exam; read the essay again, and review the part 2 assignment.

Does anyone have other recommendations?

I am trying to convert chapter 9's sequence diagram to use JSF instead of JSP but I am not sure if I am doing it correctly.

Right now, the flow is
createNotice.jsp ------------> :NoticeController --------------------> :NoticeManager

I converted it to
FacesServlet -------------> createNotice.jsf(facelet) ----------------> :NoticeManagedBean -----------------> :NoticeManager

Do I need to put FacesServlet at all in the sequence diagram? Should I use a stereotype on the NoticeManagedBean to show it is a managed bean?

On Cade and Sheil book, Figure 9-6 contains a sequence diagram with solid line arrow from NoticeManager to NoticeController. The return arrow is labeled as 'return result'. Shouldn't the arrow be an arrow with dash line?

Also, there is a solid line arrow called 'render result' from NoticeController to Result.jsp, shouldn't this also be in an arrow with dash line, since the NoticeController is just returning the result to result.jsp (and not invoking a method on the jsp page).

I am confused on how stateful and stateless bean behave under security context.

On Cades and Sheil's sample, Fig 9-3.

There is a @stateless BidManager class that has findBid, and createBid method.

If user needs to be authenticated before they can use these method, do we need to change this to stateful session bean? I think it is not necessary but I want to know the best practice. If user's information is also needed while creating bid, would it be better to change the bean to stateful session bean.

Normally, controller does the authentication, and the security context is propagated to the ejb classes right? And if declarative authorization is used, @DeclareRoles annotation can be used .

originally, I had only one component diagram. But when I read other people's comments on the forum, it seemed like people were creating multiple component diagram.

On SCEA part II, does component diagram have any relationship with the use cases? How many component diagram do you need fpr the exam. On cade book, there is only one simple component diagram. I don't think it is enough for the exam because the component diagram is worth 40 points.

so I am thinking, if I am using a mvc framework I need to show the components such as front controller, command pattern etc in detail?

what other component should be shown?

Does your class diagram look similar to the CADE's - Sun Certified Enterprise Architect for Java EE Study Guide (2nd Edition) example?

Did you preserve the business domain model relationship when you created the class diagram.
For part 3 essay test, how prepared do you need to be? Is it a good idea to read the whole study guide, as well as other study material or is it not necessary?

Is reading your assignment few times and looking at your part 2 solution before the exam, enough to take the test?

[code]In the Mark Cade book, figure 9.3 - shows a class diagram of a domain model.

I have 3 question about it.

1. Is it normal to show jsps in class diagram?

2. wood, steel, concrete is extending availabiltyItem
Shouldn't this be just an association relationship?

3. On the availabilityNotice, it has properties
wood: List<Wood>, steel:List<Steel>, concreate:List<concreate>

Can this be replaced by a composite object called say product so that I can group three properties into one
product: List<product>

so that in the future more product can be added without changnig availabilityNotice class? or is this too fine grained for scea 5 class diagram?


Some one on the forum has posted a link to scanned copy of the chapter 9. I could not find the link today, sorry.
They are still valid, if you use it in non managed environment for jdbc, jndi, etc....

Ignoring framework such as springframework and guice (as this post is related to SCEA)