It's not a secret anymore!
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Enlightenment needed Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Reply Bookmark "Enlightenment needed" Watch "Enlightenment needed" New topic
Author

Enlightenment needed

Srinivasan Rengan
Ranch Hand

Joined: Nov 07, 2004
Posts: 122
People,

I have Big Smokes on my desk. From most of the comments posted in the forum, I see references of few frameworks (JSP, Struts etc).

I was wondering if we can use simple servlet controllers (Custom made ) to solve the assignment?

Thanks
Srini.


SCJP, SCWCD, SCBCD (EJB 2.x and EJB 3), OCA, SCDJWS
Heilien Tsui
Greenhorn

Joined: Dec 08, 2008
Posts: 20
Hi Srini,

In my class design diagram, I just use servlet. I remember I read from some source. It mentioned that the design should be independent of any web framework.

In the component diagram, I written a paragraph to discuss about the web framework that can be applied in the project. I choose JSF, and did some comparison with other web framework. Of course, I think not necessary to recommend JSF, you can recommend others. hope this is helpful to you.


-Heilien



SCJP 5, SCJD 5, SCWCD 5, SCDJWS 1.4, SCBCD 5, SCEA 5
Srinivasan Rengan
Ranch Hand

Joined: Nov 07, 2004
Posts: 122
Thanks for that Heilien!

Just correct me if I am wrong. You had just used a servlet controller in your application. Even in your component diagram you did the same, but made a note that even JSF can be used. Right

Also, I have this basic question about the BDM. Few blogs I read say that I should strictly follow the classes given. I know we can add more classes, but can we eliminate classes? For example, assuming classes Red, Orange, Yellow. Instead of having 3 classes entities, I will make a single class called ColorEntity and have an attribute called color: String inside the class. (Simple logic )

If you have had a chance to look into Humphrey Sheils's sample assignment, I found that to be simple and effective :-) Can we take that for granted

Srini
Heilien Tsui
Greenhorn

Joined: Dec 08, 2008
Posts: 20
Hi Srini,

I write some description below the component diagram on the recommendation of the web framework
I didn't put that in class diagram, because I want to make it look simple.

For the BDM, I follow that quite closely. except I add in a super class to group the common behavior of some BDM. Actually, I believe you can change it, but you have to document it down on the reason to change it and how they are related to the requirement.

hope this will help
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Enlightenment needed
 
Similar Threads
Cant use object from another class
Posting to bump up my count...
WA #1.....word association
The x900 effect ?
Text box value is not being completely filled with request attribute