• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

for part 2 JSF or Struts or Both

 
deepak adlakha
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am currently working on Part 2. I am little confused like what do we need to use like JSF only or Struts only or JSF+ struts in presentation layer ?

I dont have any personal perferences, i can use anything. But my concern is if i only provide struts based solution, is examiner is expecting to see JSF as part of solution and will i lose some marks there ?

Any thoughts on this ?
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's a Sun exam. If for only that reason, I'd stick with Sun sponsored technologies. For the same reason, I wouldn't suggest a .NET solution either.

Both would be flat out wrong.

-Cameron McKenzie
 
deepak adlakha
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes i understand. Well no way .Net based solution.

Yes its sun(which now is oracle ofcourse) exam, i was just thinking what examiner will do when he/she sees the struts used in the solution and not the JSF. Will they cut some marks or not. As in my opinion both solution will work.

But i got my answer, so i think i will stick with JSF.

Thanks once again.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's not a dumb question, so excuse me if my original response sounded a bit snide.

But indeed, both solutions will work, and I can't see Sun deducting marks for using Struts. But seeing that both frameworks address the same issues with regards to the exam criteria, I'd be much more apt to go with the safest option, and that's JSF.

-Cameron McKenzie
 
Dmitri Ericsson
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would suggest JSF too, unless you have certain requirements to which JSF cannot provide a solution.
 
deepak adlakha
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys for your response.
 
guru prasanth
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not consider using simple MVC using servlets,jsp if it's a simple MVC and if you are not going to use some of the features of MVC.
Becuase if you use JSF/Struts/Spring MVC for simple application then it's a overkill.What kind of application is yours?I don't need details.
Also if your application requires high-performance then better to go for MVC using JSP,Servlets.Reason JSF is not a good solution for creating
high performance system.Because for every validations,conversions it hits the server.With struts/spring mvc is little better than JSF in
this aspect but even there it has to handle lots of framework related stuff so unless you are going to do use framework specific features it's
a overkill(performance wise)
 
deepak adlakha
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guru for the response. But for part2 assignment, I can not share details.
 
guru prasanth
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iam not asking you to share details.Iam just asking you what kind of webapplication it's going to be.
For example trade application,online shopping cart,etc like this in high level.Even i don't want you
to share details as it would disqualify you.
 
deepak adlakha
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
web based online bidding
 
Dmitri Ericsson
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that most most (if not all)of the assignments are quite similar, the same requirements and solutions, but with different flavors. It should be something absolutely different so that JSF would not fit. Sun expects to get the knowledge of their technologies, even if it is general level architect exam. If you do not provide it they will think that you do not familiar with it. They think: "Why this guy has chosen Struts over JSF, he does not provide any reasons, perhaps he knows Struts and no JSF, bad, bad..." Yes, if solution is ideal, you'll pass, but why do you need to irritate that person who chesks it?
 
sriky malla
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I thought when we are doing the UML we need not consider the frameworks/design patterns, should we? Shouldn't the importance be given to solve the business requirement? How detailed should be the class/seq diagram?
Are there any examples answering my above question?

Thanks,
Sri
 
sivan jai
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please refer to the SCEA guide book by Mark Cade and Humphrey Sheil - it has a chapter where they explain the assignment. I think that chapter is online somewhere - if you dont have the book refer to that for details regarding how to approach the assignment.
 
sriky malla
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I referred to the Chapter 9 and it does not specify whether to use Struts or JSF. It is just normal MVC pattern with Presentation layer and request going through the controller. When I saw this thread talking about struts and jsf, I kind of got confused. So should I assume that we need not refer to the framework classes in the diagrams?

Thanks,
Sri
 
Dmitri Ericsson
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You do not need to show or refer to any of framework classes on the diagrams but you should suggest a specific framework to be used and to satisfy certain requirements.
This topic is about that Sun's technologies are to be used by default, other technologies or frameworks need to be used only if Sun does not provide a suitable solution.

Imagine you apply for a job in Coca Cola Company and come to the interview wearing Pepsi T-shirt The same here
 
sriky malla
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gotcha...Thank you, as always!
 
sivan jai
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In that chapter it says the assessor should see "JEE" in your solution. Chapter 9 is the most important chapter in that book (atleast for me that was the case). I went back to that more than once during my assignment stage.
 
sriky malla
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the above mentioned book and in chapter 9, one of the requirements is to use JMS for interacting with the Inventory system and Web services to expose the interface to their exchange (co-opetition model). I don't see these mentioned anywhere in the interaction diagrams or component diagrams. Why? If we mention the above requirements as annotations will it suffice? With respect to detailing, if I follow the extent of detail that has been used in chapter 9 will I pass the Part II exam?

Thanks,
Sri
 
sriky malla
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any suggestions please...
Why didn't the "Mark Cade and Humphrey Sheil's book" specify any reference to web services in the 9th chapter?

Thanks!
Sri
 
sivan jai
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my opinion chapter 9 was a case of treading a fine line. They wanted to solve a real exam type assignment at the same time they didnt want to give too many details on how to do it. Otherwise you will just replace some names in the diagram and you will be done with your assignment. It is advisable to use the chapter as a guide and not as a tutorial. I feel it is better to show your own solution. Atleast that is what I attempted - I used the general structure of the diagrams but I made sure I deviated from the actual implementation as much as I can so that my assignment didnt come out as a direct copy of chapter 9.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic