• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Part 2 implementations

 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all
After a few weeks of thinking and doing, I'm glad that I have almost completed the part 2 assignment. What is left for me is to capture the diagrams as gif and prepare the necessary html pages and jar file.
I realised that I have used only a few EJBs (very few entity beans and a few of session beans for the workflow). The whole design is modeled after the petstore with some of the relevant J2EE core patterns. For some business objects like flight, segment, mileage etc, I have modeled them mainly as DAO, VO and Dependent objects. This is quite different from what I have observed and discussed with some who did them as EJBs.
For those who has taken or is currently doing the part 2, which approach do you think is more appropriate ?
Lastly, I would like to take this opportunity to thank all who has shared his views, comments and experience in this forum. They are very valuable and I would not be able to complete this assignment without help from you guys.
I will share my experience in part3 once I have taken it in 2 weeks time.
Good luck and best wishes to all inspiring SCJEA takers !
 
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kodo,
I notice you have changed your approach you mentioned last month http://www.javaranch.com/ubb/Forum26/HTML/000539.html
Well, your approach follows the Best EJB practice. Mine is similar.
The perfect solution doesn't exist in these assignment....only the perfect coherent argument which lead you to handle the issues ;-)
Good luck for the part II& III
Keep us posted about part 3 details.
herve
 
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kodo,
Please help.
I got my assignment downloaded. I had a quick look. I am thinking to do a quick design and then to refine it. I will start from user cases.
From my quick look, I understand we have to completely re-do the main application (Cobol stuff), then treat other help applications as legacy integration ?
Please comment and correct my understanding.
Thanks in advance
Ruilin
 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Kodo,
You did mention that you followed the design of the pet store. Did you implement that frontController pattern the way it is done in the PetStore with the Main Servlet acting as the Controller??
thanks
 
herve attia
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ruilin,
1)The hierarchical IMS database is migrating to an RDBMS database, which means you are free to modify the structure...and add more flexibility in your design.
2)Transmaster Credit Card is not really an issue to solve. The requirement mentions clearly the system will interface by using Xml-RPC over https.
3)For the Flyer Mileage System, both client (Web client and Travel java-based application) has to deal with and you cannot modify it.

 
ruilin yang
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Herve,
Thanks for your useful information.
Good luck for your assignment
Ruilin
 
Kodo Tan
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kodo,
I notice you have changed your approach you mentioned last month http://www.javaranch.com/ubb/Forum26/HTML/000539.html
Well, your approach follows the Best EJB practice. Mine is similar.
[Kodo] Hi Herve, yes, I have modified my approach after some thoughts. After almost completing the assignment last month, I did a review and modified the design to include some patterns to improve the design.
hi Kodo,
You did mention that you followed the design of the pet store. Did you implement that frontController pattern the way it is done in the PetStore with the Main Servlet acting as the Controller??
[Kodo] Hi Ajit, yes, my front controller is more or less the same as the one in petstore. In fact I modified it after a study of the petstore code.
 
straws are for suckers. tiny ads are for attractive people.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic