Ajay dev

Greenhorn
+ Follow
since Jan 12, 2009
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 Ajay dev

Is the book 'J2EE Connector Architecture and Enterprise Application Integration - Rahul Sharma, Beth Stearns, Tony Ng' relevant for this certification ?
Is there a newer version of this book or should I refer some other material ?
The future direction in this book talks about JCA 2.0 so I wasnt sure if the material in this book is relevant for this certification.

Thanks in advance,
Ajay dev
Congratulations!!

What did you read on security and how were the questions on this.

Thanks
Adu
15 years ago
Congratulations on your score.

Could you please share your experience and what sections were tough/easy.
Also what did books did you refer for Security?

Thanks
Adu
I would appreciate if anybody could provide me links or point me to resources (books/articles) for the following syllabus items:

1) Separation of concerns
2) Describe appropiate and inappropriate uses for WebServices in the JEE platform.
3) Explain possible approaches for communicating with an external system from a JEE technology based system given an outline description of those systems and outline the benefits and drawbacks of each approach.
4) Explain how you would design a Java EE application to repeatedly measure critical non-functional requirements and outline a standard process with specific strategies to refactor that application to improve on the results of the measurements.
5) State the benefits and drawbacks of adopting a web framework in designing a JEE application.
6) Explain standard uses for JSP and servlets in a typical JEE application.
7) Explain standard uses for JSF in a typical JEE application.
8) Given a system requirements definition, explain and justify your rationale for choosing a web-centric or EJB-centric implementation to solve the requirements. Web-centric means that you are providing a solution that does not use EJB components. EJB-centric solution will require an application server that supports EJB components.

Also, wrt JSF what are the kinds of questions to be expected, i.e. are they going to be on the specifics of the technology (eg: How is validation done, what are the constructs available in JSF, how are tiles used in JSF, etc) or are the questions going to be on applications of the technology.

Thanks in advance
SCEA 5 syllabus guide very clearly says "Patterns are limited to those documented in the book - Alur, Crupi and Malks (2003). Core J2EE patterns: Best Practices and Design Strategies 2nd Edition"
In the next bullet item it similarly says for the Gang-Of-Four book.

Let me know if I am wrong on this.


Igor,

Thank you very much for your reply.
I now know what I shouldv done for the class diagram.

But, I still dont know about the component diagrams.
In my component diagrams I had the following:
- 1 diagram showing the entire architecture with one component representing every layer. Eg:
FrontController --> BusinessDelegate --> SessionFacade --> EntityBean etc
- 1 diagram to show all the entity beans and the related components
- 1 diagram to show all the JSPs and the tag handlers
I have used only dependency relation between my components with stereotypes like uses, creates and removes
With the above 3 diagrams I have shown almost all the components in all the layers of my design.

So my questions are
1) Did you use lollipop representation in your component diagrams?
2) Did you show the ejb components as containing the standard interfaces and the descriptor file?
Component diagrams have the facility to show components inside components.
3) Was there a 1-to-1 mapping between the classes in your class diagram and the components?
I mean to ask if every component in your diagram could be mapped to a class in your class diagrams.
4) Did you show the relation or association between each component?
For Eg: I mean, did you show every business-delegate and session-facade classes as components with their specific names and their relationships as dependency with steretype as uses.

Thanks for your support,
Adu
15 years ago
Hey Igor,

You should be able to help me in realizing what mistakes I made.
I didnt clear the assignment exam and am in the same state as you were on the first attempt. I am frustrated because I dont know where I lost points.

I scored 12/12 in the sequence diagram but lost big time in the class(26) and component diagrams(25).

For the class diagram I had the main page showing the packages and subsequent pages showed the classes in each package and their relationships.
I had a data model diagram.
I did not show any Java client classes.
I had no JSPs in the class diagram.
For the component diagram I had multiple pages and they were organized as below
- showing all the JSPs and their sub elements like tag handlers etc in one page
- ejb components and their relationships with components from other layers in one page
- A component diagram showing the generic components of each layer and their relationship with the generic components in the adjoining layer.
When I say generic component I mean JSP components are represented by a generic JSP component. In another component diagram I have shown each JSP used as a separate component which derives from this generic JSP component.

So my questions are
1) What is the difference you see between my diagrams and your diagrams?
2) Did you depict JSPs in the class diagrams?
3) What UML tool did you use?
4) What material did you refer for component diagrams?
5) Did you have the Java client classes as well in your class diagrams?
6) Also for the EJB classes I have a diagram showing all the ejb classes such as home-interface, primaryKey, etc deriving from the corresponding javax package classes. But the only thing I missed out was the methods in the standard javax package classes like ejbCreate(..) as I thought these are standard classes and hence when you mention the fully qualified path it should be self-explanatory. Did you show these methods in your classes?

Thanks,
Adu
15 years ago
Hey Harry,

You should be able to help me in realizing what mistakes I made.
I didnt clear the assignment exam.

I scored 12/12 in the sequence diagram but lost big time in the class(26) and component diagrams(25).

For the class diagram I had the main page showing the packages and subsequent pages showed the classes in each package and their relationships.
I had no JSPs in the class diagram.
For the component diagram I had multiple pages and they were organized as below
- showing all the JSPs and their sub elements like tag handlers etc in one page
- ejb components and their relationships with components from other layers in one page
- basic framework layer showing the generic components of each layer and their relationship with the generic components in the adjoining layer.
When I say generic component I mean JSP components are represented by a generic JSP component.

So my questions are
1) What is the difference you see between my diagrams and your diagrams?
2) Did you depict JSPs in the class diagrams?
3) What UML tool did you use?
4) What material did you refer for component diagrams?

Thanks,
Adu
15 years ago
Thanks for your words of support and concern.
I cannot resubmit since it is an old version of the SCEA exam which has expired.

I put in a lot of effort on the sequence diagrams. Looking at the points allocated I should have focused more on the class-diagram and the component-diagram. And, I shouldnt have left out any detail in those diagrams.

The choice of tool was the biggest mistake I guess and it was too late before I realized the problems with it.

I have found very little material on component diagrams and representation of J2EE elements in this diagram. I shouldv worked on this more I guess.
In my work experience I havent made too many component diagrams and Iv found it very useful in combination with the deployment diagrams only.

Anyways I am posting this so that you guys can learn from my mistakes.
I saw my results posted and was shocked to see that I have failed.
I re-checked the assignment that I had posted and am at a loss to understand where I had gone wrong.
I had broken up the classes into logical packages and shown the relations between them.
For EJBs I had all the home-interface, remote-interface, primary-key classes for each component depicted in the class diagram.
The component diagrams were broken up into showing the relation of components in different tiers.

The only things that I had not depicted was the rich-client gui classes/components. But I think it is only server side components that need to be depicted and I have received 12/12 in sequence diagram where I have drawn the diagrams corresponding to web-based elements only.

What did I do wrong?

I had also used Visio tool to make the diagrams and when I converted it to HTML I realized that it uses activex controls and hence needs to be opened in IE to fully view the diagrams and use zoom-in/zoom-out functionality (Necessary for large diagrams).
I had an extra html file giving browser-instructions.
So my suggestion is to not use Visio for the assignment and use some other tool like StarUML. I havent tried StarUML.

I had not shown the standard methods of the Home interface class from which every EJB home interface class was deriving but I had used the fully qualified name of the HomeInterface class. Since the assignment statement says clearly we dont have to show all the methods or member variables, I felt the names of these standard classes from the javax package should represent that and would help in not making the diagrams cumbersome.
I think I could have been penalized for that but still that is not a sufficient reason to flunk me.

As for the component diagrams I dont know what the evaluator was expecting.
Any of you people have links to explanation in component diagrams or how to represent JSPs in UML?

I think it is totally unfair on Sun's part for not giving more details of the evaluator's reasons for failing a candidate.
Atleast they should provide details for candidates who fail so that they realize their mistakes.
I feel bitter that I paid $700 and spent the time and effort to flunk the assignment and dont know why I flunked.

Test: Sun Certified Enterprise Architect for Java 2 Platform Enterprise Edition Technology Part II (310-061)
Date Taken: 2009-01-07 18:44:43.337
Grade: F
Score: 62
Comment: This report shows the total points that could have been awarded in each section and the actual amount of points you were awarded. This information is provided in order to give you feedback on your relative strengths on a section basis. The maximum number of points you could have received is 100, minimum to pass is 70. Class Diagram (44 maximum) .......................... 24 Component Diagram (44 maximum) ...................... 26 Sequence/Collaboration Diagrams (12 maximum) ........ 12
You could also use the ApplicationController pattern to handle different kinds of clients like Rich-GUI clients (Swing/AWT), Web clients.