This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Passed II/III with 95% Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Passed II/III with 95%" Watch "Passed II/III with 95%" New topic
Author

Passed II/III with 95%

Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Finally its all over !!!. I have passed the SCEA Part II/III with 95% marks.

Here is the breakup:
-------------------
Class Diagram (44 maximum) .......................... 39
Component Diagram (44 maximum) ...................... 44
Sequence/Colloboration Diagrams (12 maximum) ........ 12

Many Thanks to Javaranch and lot of ranchers in helping me out and shaping up my assignment.

Special Thanks to Ajith, Parag, Dhiren, and Josep for questions/answers.

All the best to SCEA aspirants !!!
Prasad Kuppa
Ranch Hand

Joined: Apr 01, 2002
Posts: 151
Great job! Congratulations Deepak!

How long it took to get your result?

-Prasad
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Originally posted by Prasad Kuppa:
Great job! Congratulations Deepak!

How long it took to get your result?

-Prasad


Exactly 4 weeks + 1 day. I appeared for Part III on Feb 24, 2005 and got the result on Mar 25, 2005. The result appears after 9:00AM.
Shogo Ito
Greenhorn

Joined: Jun 10, 2004
Posts: 25
Deepak,

Congratulations!!
As I score low on component diagram, yours looks absolutely amazing!

Shogo


<i>SCJP, SCWCD, SCEA</i>
Marius Huianu
Greenhorn

Joined: Oct 12, 2004
Posts: 18
Could you tell us about Part III ? Was related to part II ? Is there any need for a special preparation ?

Marius


SCJP, SCBCD, SCEA
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Originally posted by Marius Huianu:
Could you tell us about Part III ? Was related to part II ? Is there any need for a special preparation ?

Marius


(a) No special preparation is required for Part III. You have 90 minutes to answer 4 essay type questions.

(b) There are four questions in Part III. The questions are very generic in nature. They kind of apply to all the J2EE projects.
Solomon Raz
Greenhorn

Joined: Feb 26, 2005
Posts: 19
Deepak,
Congratulations !! Fantastic job!!

Can you provide some light on how you handled security (decl or prog)?
Having changed my mind back and forth on this several times in the last month, I decided to stick with Container Managed Security(CMS) finally. But again, as I see most folks in this forum say they use Intercepting Filters, I did not see a need for that with CMS. I'm somewhat unsure of my direction. Any thoughts will be greatly appreciated!

Secondly, how much documentation did you provide?

Thanks a bunch and good luck in your career.
Solomon
neel architect
Greenhorn

Joined: Mar 26, 2005
Posts: 13
Great Score Dipak!!!
I have some questions
#Connecting Trasmaster is synchronous or asynchronous call.
#For sending Email can i use message driven bean
#How can i handle security for web tier(I am using Intercepting filter).Is it programmtically ,or changing config file.Where i get good materail on that.
#Swing client directly connects EJB tier or swing connects using protocol router as thin client
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Originally posted by neel architect:
Great Score Dipak!!!
I have some questions
#Connecting Trasmaster is synchronous or asynchronous call.
#For sending Email can i use message driven bean
#How can i handle security for web tier(I am using Intercepting filter).Is it programmtically ,or changing config file.Where i get good materail on that.
#Swing client directly connects EJB tier or swing connects using protocol router as thin client


See my answers:

1. Synchronous
2. Yes JMS/MDB is a good choice for sending out Emails
3. For Web Tier I did not use the Intercepting Filter. I gave that responsibility to ApplicationController like it is done in Struts. The RequestProcessor class is an implementation of ApplicationController and has the responsibility of security roles etc.
4. Both are viable options. I connected SWING directly to EJB Tier
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Originally posted by Solomon Raz:
Deepak,
Congratulations !! Fantastic job!!

Can you provide some light on how you handled security (decl or prog)?
Having changed my mind back and forth on this several times in the last month, I decided to stick with Container Managed Security(CMS) finally. But again, as I see most folks in this forum say they use Intercepting Filters, I did not see a need for that with CMS. I'm somewhat unsure of my direction. Any thoughts will be greatly appreciated!

Secondly, how much documentation did you provide?

Thanks a bunch and good luck in your career.
Solomon



Without diluting my solution...

For Web Tier I did not use the Intercepting Filter. I gave that responsibility to ApplicationController like it is done in Struts. The RequestProcessor class is an implementation of ApplicationController and has the responsibility of security roles etc.

For SWING Tier I relied on mixture of container managed security.

I provided about 10 pages of document.
-Introduction
-Assumptions
-Design Considerations
-Links to Class/Sequence Diag/Comp Diagram
neel architect
Greenhorn

Joined: Mar 26, 2005
Posts: 13
Thanks Dipak for your reply.
Both are viable options. I connected SWING directly to EJB Tier .

I am planing to connecing swing through protocol router .But i am not sure how i will met 5 secs requirement.
My assumption,swing client is also internet so ,RMI i have to tunnel over HTTP.which is slower.and if i put web tier in a cluster mode,it will be faster.and maintenance point of view it is also better.is my argument correct.


still I have some confusion on handling security
I am going for decl security handling.

Web based clients can be authenticated by to let the web container (running on the web servers) authenticate the user and then propagate the User Principalto the ejb container (security propagation) and then the ejb container can handle the authentication/authorization portion of it.
In that case for do i have to mention AccountManager Fa�ade ,AccountDAO etc.or just mentioning decl security handling is enough

can i get your email dipak
Manju Karthik
Greenhorn

Joined: Mar 03, 2005
Posts: 21
Hi Deepak,

Congrats!!! itz a great score.

Can you briefly tell us whether you used entity beans (CMP/CMRs) or Session bean with DAO???

Also how did u handle state management... did you show it in component diagram or sequence diagram??

Thanks in advance.

-Manju.
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Originally posted by Manju Karthik:
Hi Deepak,

Congrats!!! itz a great score.

Can you briefly tell us whether you used entity beans (CMP/CMRs) or Session bean with DAO???

Also how did u handle state management... did you show it in component diagram or sequence diagram??

Thanks in advance.

-Manju.


Manju

1. Yes I used Entity beans. I used both CMP/CMR with Local Interfaces.

2. I also used SLSB/DAO for providing Search functions. I did not use VLH design pattern.

3. I had a SFSB for maintaining the main state of the user. Some small level state management was handled by keeping things in HTTP Session or Local SWING App's cache.

4. The component was displayed in the Component diagram though I did not mention anything about state mgmt in that diagram. I depicted/mentioned the statement mgmt in the sequence diagram.

Hope this helps
Deepak
Dhiren Joshi
Ranch Hand

Joined: Dec 09, 2003
Posts: 463
Congratulations Deepak.
Fantastic Score Good Job.
Thanks for the appreciation .

Dhiren
Manju Karthik
Greenhorn

Joined: Mar 03, 2005
Posts: 21
Hi Deepak,

Thanks for your reply. It was very helpful as i also had both SLSB with DAO and entity's in my design.

One more doubt, did u show all the entity's in comp diagram. Or just the main one.. for ex. just customer or customer, address and so on...

Since you said that you showed session mgmt in sequence diagram, wasn't the diagram too lengthy and wide. Mine looks too wide, if i make it fit in the browser window, the text are not visible. But if i zoom it, scroll bar appears. Is scroll bar acceptable, wondering whether examiners have patience to scroll to understand the design.

For stereotypes is short forms like SLSB ok, thinking of doing it and provide a abbreviation section in doc? any thoughts. Did you show stereotypes in sequence diagram.

thanks in advance.

-Manju.
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Originally posted by Manju Karthik:
Hi Deepak,

Thanks for your reply. It was very helpful as i also had both SLSB with DAO and entity's in my design.

One more doubt, did u show all the entity's in comp diagram. Or just the main one.. for ex. just customer or customer, address and so on...

Since you said that you showed session mgmt in sequence diagram, wasn't the diagram too lengthy and wide. Mine looks too wide, if i make it fit in the browser window, the text are not visible. But if i zoom it, scroll bar appears. Is scroll bar acceptable, wondering whether examiners have patience to scroll to understand the design.

For stereotypes is short forms like SLSB ok, thinking of doing it and provide a abbreviation section in doc? any thoughts. Did you show stereotypes in sequence diagram.

thanks in advance.

-Manju.


Manju,

1. I used Composite Entity design pattern and I tried to display as many dependent entities as possible.

2. Some of the sequence diagrams were very lengthly. The "prepare itinerary" touched the maximum image size that a browser is capable of rendering. Do not worry about the size of sequence diagram. Suggest try and provide as much documentation as possible.

3. Yes I did display the stereotypes. My stereotypes were based on the J2EE design patterns the class was following. For example: SessionFacade, CompositeEntity, ApplicationService etc. In my documentation I provided the details on how each of the design patterns classes will be implemented.

Deepak
Manju Karthik
Greenhorn

Joined: Mar 03, 2005
Posts: 21
Hi Deepak,

Thanks for your reply. Will just focus on the design and document rather than worrying abt the size of the diagrams. As long as it is not cluttered / and easily readable.. it should ok

-Manju.
neelArchitect saha
Greenhorn

Joined: Feb 20, 2005
Posts: 24
My design swing directly connecting to EJB.How then authentication and authorization will be handled.As per my knowledge EJB can not do authentication
JAIME RODR�GUEZ
Greenhorn

Joined: Nov 25, 2004
Posts: 9
Hi Deepak, very good Score!

I also pass part 2 and 3 (but with minor score... ), and I have a questions about class diagram, in my case this item was the minor score, so if you can tell me about what kind of things you had on mind when you produced your diagram.

Do you specify methods and its parameters?
Do ypu apply design patterns for something?
Do you define Interfaces?

Thank.
william smith
Greenhorn

Joined: Feb 21, 2005
Posts: 15
Hi Deepak and Jamie,
Congratulations, for your score.

1. Do u like to say how many classes+component you had in class/component diagram?
2. about browsing flights , do u refer to flights class or itinerary class ?
3. Do you put EJBTierController + WEBTier Controller in class diagram ?

pls. let us know
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Originally posted by neelArchitect saha:
My design swing directly connecting to EJB.How then authentication and authorization will be handled.As per my knowledge EJB can not do authentication


Without diluting my solution, I would suggest you search the sun.com and this forum for Securing Java/J2EE Client applications. You will find lot of solutions/tehcniques.
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Originally posted by william smith:
Hi Deepak and Jamie,
Congratulations, for your score.

1. Do u like to say how many classes+component you had in class/component diagram?
2. about browsing flights , do u refer to flights class or itinerary class ?
3. Do you put EJBTierController + WEBTier Controller in class diagram ?

pls. let us know



1. Class Diagram - Around 30 classes. I lost 5 points in class diagram. Not sure if it is because I went little overboard. Component Diagram - About 35+ components.

2. I used a separate Search EJB to provide efficient searches. SLSB+DAO based on ApplicationService+DAO pattern. I did not use th VLH pattern.

3. No controllers in the class diagram. I followed cade's style for both the class and component diagram.
Rashmi Razdan
Ranch Hand

Joined: Feb 06, 2005
Posts: 70
Deepak,

Did u show Milage Acct in ur class dig, if yes, was it shown as ordinary class OR connected as external interface kind thru this -( symbol?

Im using only entity beans ( no DAOs), dod u think it is advisable to show all entitybeans as components in comp dig. And even all session facades used.Can u pls point to the link which gives comp dig tips.

Also as u have followed cade style does that mean, u showd just dependency in components.

thanks,
rashmi
Manju Karthik
Greenhorn

Joined: Mar 03, 2005
Posts: 21
Hi Deepak,

Queries on sequence diagrams, did you show alternative flows in sequence diagram. If yes? did u have separate diagrams for that?

-Manju.
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Originally posted by Manju Karthik:
Hi Deepak,

Queries on sequence diagrams, did you show alternative flows in sequence diagram. If yes? did u have separate diagrams for that?

-Manju.


Manju,

I made one sequence diagram per use case.

Each sequence diagram depicted everything mentioned in the use case. I used Together J for modeling and was able to manage with it.

I also added one seq diag. each for create profile, view freq flyer miles, and Login use cases. I cooked up the flow using typical business flows.

Deepak
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Originally posted by Rashmi Razdan:
Deepak,

Did u show Milage Acct in ur class dig, if yes, was it shown as ordinary class OR connected as external interface kind thru this -( symbol?

Im using only entity beans ( no DAOs), dod u think it is advisable to show all entitybeans as components in comp dig. And even all session facades used.Can u pls point to the link which gives comp dig tips.

Also as u have followed cade style does that mean, u showd just dependency in components.

thanks,
rashmi


Rashmi,
1. My class diagram was "Tech Neutral". So no component depictions there.

2. I included almost all the entity beans in my component diagram. Included all the session facades, DAO etc. If you want you can make more than 1 comp diagram

3. Yes I followed cade's style and displayed dependency. I also included some interfaces as well.

Deepak
Rashmi Razdan
Ranch Hand

Joined: Feb 06, 2005
Posts: 70
1) i think i havent asked question abt Milage act properly...
what i meant was the 'Milage account' from BDM , not a component or something technology specific.
I was thinking as Milage acct will be something maintained by FFM.. so does it fall in the main domain.thats why confusion.

Anyway i have decided to show all BDM classes in class dig.

Thanks
Manju Karthik
Greenhorn

Joined: Mar 03, 2005
Posts: 21
Hi Deepak,

Check with you on something, did you use SFSB facade.
Having last minute thought on this and get into loop...

-Manju.
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Originally posted by Manju Karthik:
Hi Deepak,

Check with you on something, did you use SFSB facade.
Having last minute thought on this and get into loop...

-Manju.


Yes I had one SFSB. But it was not a Facade. My Facade was implemented as SLSB. The business tier was client agnostic and therefore I had kept one SFSB.
Ravi Dhanum
Ranch Hand

Joined: Feb 27, 2005
Posts: 46
Congratulations, Deepak!

Thanks for the great contribution to this group!

I have a few questions. I hope you don't mind answering them.

1) is the expected standard EJB 1.1 ?
2) is the transaction id in the rpc-xml calculated by FlyByNight?

Thanks.

-Ravi
Ravi Dhanum
Ranch Hand

Joined: Feb 27, 2005
Posts: 46
Hi Solomon,

Having changed my mind back and forth on this several times in the last month, I decided to stick with Container Managed Security(CMS) finally.

How are you using CMS in the Swing application?

Thanks.

-Ravi
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Originally posted by Ravi Dhanum:
Congratulations, Deepak!

Thanks for the great contribution to this group!

I have a few questions. I hope you don't mind answering them.

1) is the expected standard EJB 1.1 ?
2) is the transaction id in the rpc-xml calculated by FlyByNight?

Thanks.

-Ravi


1. I mentioned CMP/CMR features that are not available in EJB 1.1. I used them and mentioned them in my assignment.

2. No I did not do anything related to TransactionID in my assignment. I left that piece for system design phase. What you worry about is the key design pattern that you should be using to make this a more extensible and easy to maintain interface. Small pieces like using this class or that class can be left out for the detailed design phases. Otherwise you wont be able to finish the architecture.
Vinay Singh
Ranch Hand

Joined: Dec 15, 2004
Posts: 174
Deepak
Congrats on your score. javascript: x() Few queries
1.Since all the sequence/class/componenet diagrams would be shown as images, where would all the documentation of the classes and methods be.. in the Assumptions document ?
2. Did you also show the overall architcture diagram into your doc.. I mean webserver/Application server ,swing/web client etc.
3. Can't a simple java mail client be used instead of JMS for emails ?

Thanks
Vinay


Technical quiz and interview questions   SCJP 6 mock practice test
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Originally posted by Vinays Singhh:
Deepak
Congrats on your score. javascript: x() Few queries
1.Since all the sequence/class/componenet diagrams would be shown as images, where would all the documentation of the classes and methods be.. in the Assumptions document ?
2. Did you also show the overall architcture diagram into your doc.. I mean webserver/Application server ,swing/web client etc.
3. Can't a simple java mail client be used instead of JMS for emails ?

Thanks
Vinay


1. Yes you are correct. I saved all the diagrams as .gif file and linked them thru the HTML file.

2. Yes I did create one deployment diagram to reflect the big picture.

3. Yes simple java mail client can be used. Again it is another form of interface and you should focus on two things: (a) How and using which design pattern is the interface plugged in and (b) Which java technology is used to send the emails out. Using JMS or not is mainly to make the call synchronous or asynchronous.
Manju Karthik
Greenhorn

Joined: Mar 03, 2005
Posts: 21
Originally posted by Deepak Pant:


Yes I had one SFSB. But it was not a Facade. My Facade was implemented as SLSB. The business tier was client agnostic and therefore I had kept one SFSB.


Hi Deepak,

Thanks for your reply. Helped me come out of my last minute doubts.

Manju.
Chee Seng
Greenhorn

Joined: May 30, 2004
Posts: 15
I only get 37 points for the component diagram. How do you prepared your component duagram?
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Originally posted by CS Yee:
I only get 37 points for the component diagram. How do you prepared your component duagram?


My component diagram was based on the Cade's book. I did not do anything fancy. I tried and depicted as many design patterns (GOF + J2EE) in the diagram as was possible.
Goutam Bhattacharjee
Ranch Hand

Joined: Aug 05, 2003
Posts: 44
Hi Deepak,
Congratulations for getting a high score!

Can u shed some light on the reuse of the 'Frequent Flyer System'? As per requirements, it cannot be re-written.

But how can we reuse the CGI & perl codes in the new application?

The oracle database for frequent flyer can be reused, though.
In this context, did u define any entity bean for representing the mileage account? Or access to the frequent flyer database has been only done through a DAO ?


gb
neel architect
Greenhorn

Joined: Mar 26, 2005
Posts: 13
In my design swing client and web client connecting through web tier.In the web tier i am using declarative security .So In the component diagram do i have to show Login ,Logout delegate, AccountManager,AccountDAO.
As per my knowledge ,in declarative authentication,container will do authentication automatically.So i donot need to show in component diagram.
Wating for your suggesstion.
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Originally posted by Goutam Bhattacharjee:
Hi Deepak,
Congratulations for getting a high score!

Can u shed some light on the reuse of the 'Frequent Flyer System'? As per requirements, it cannot be re-written.

But how can we reuse the CGI & perl codes in the new application?

The oracle database for frequent flyer can be reused, though.
In this context, did u define any entity bean for representing the mileage account? Or access to the frequent flyer database has been only done through a DAO ?


I opted for using the screen scraping of the HTML interface. I found it better over accessing the frequent flyer database. But thats my choice. I used a GOF pattern (HINT) to make this interface easier and pluggable.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passed II/III with 95%
 
Similar Threads
Passed SCEA part II/III
Passed SCEA Part-II/III
Passed SCEA II & III
Passed SCEA part II & part III with 98%
Passed SCEA(Part II/III) with 94%