• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Passed II/III with 95%

 
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 !!!
 
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Great job! Congratulations Deepak!

How long it took to get your result?

-Prasad
 
Deepak Pant
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Deepak,

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

Shogo
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could you tell us about Part III ? Was related to part II ? Is there any need for a special preparation ?

Marius
 
Deepak Pant
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratulations Deepak.
Fantastic Score Good Job.
Thanks for the appreciation .

Dhiren
 
Manju Karthik
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My design swing directly connecting to EJB.How then authentication and authorization will be handled.As per my knowledge EJB can not do authentication
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Deepak Pant
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I only get 37 points for the component diagram. How do you prepared your component duagram?
 
Deepak Pant
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ?
 
neel architect
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
No. No. No. No. Changed my mind. Wanna come down. To see this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic