Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on Assignment

 
Raghavendra Desoju
Ranch Hand
Posts: 95
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I am working on assignment now. I got "Quick Computer" as the assignment.

Does it need knowledge on JSFs?

Thanks, Raghu
 
Anton Golovin
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Raghavendra Desoju wrote:Hi Ranchers,

I am working on assignment now. I got "Quick Computer" as the assignment.

Does it need knowledge on JSFs?

Thanks, Raghu


Hi, Raghu,

It is really up to you. JSF (Java Server Faces) is a component-based UI framework and a standard for the JEE. So the implicit assumption is that you would use it on your assignment. But you could use another presentation-tier framework such as Struts, Spring MVC or what not, there are many. Or you could use Servlets, plain and simple, and show your knowledge about how to roll a presentation-tier framework from scratch by using presentation-tier design patterns (Intercepting Filter, Front Controller, Application Controller; etc.) Read up on it.

I did not use JSF when I did my EA certification but rather went the Servlet route and laid the class structure in terms of the aforementioned design patterns.

Either of the choices presented here - JSF, another presentation-tier framework, or plain, old Servlets - is fine, provided you justify your choice in terms that are correct for the task at hand.

Don't worry too much about your technology choice, worry about solving the problem at hand correctly, and you will do well.

With best regards,

Anton.
 
Raghavendra Desoju
Ranch Hand
Posts: 95
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Anton,

Thank you very much for your suggestion !!

I just cleared Web Component Developer Exam and would feel very much comfortable with Servlets and JSPs.


Regards,
Raghu
 
Anton Golovin
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Raghavendra Desoju wrote:Hi Anton,

Thank you very much for your suggestion !!

I just cleared Web Component Developer Exam and would feel very much comfortable with Servlets and JSPs.


Regards,
Raghu


Hi, Raghu,

You'll do well. If you go the Servlet/JSP route, you basically will have to give them the internals of a framework, which can only enhance your chances of passing because it means you know how to roll one yourself.

In general, don't worry too much about it. Just give them a working solution.

With best regards,

Anton.
 
Anton Golovin
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Raghavendra Desoju wrote:Hi Anton,

Thank you very much for your suggestion !!

I just cleared Web Component Developer Exam and would feel very much comfortable with Servlets and JSPs.


Regards,
Raghu


Raghu,

While we're on the subject, I would recommend you use DI (dependency injection) heavily in your solution. This seems to work well and is a best practice, and JEE now provides CDI for that purpose, so it's a great solution.

For all of your technology choices in general, you get two options, really:

a) Use a reference implementation (such as JSF, JPA, etc).
b) Roll your own solution by using design patterns. (such as DAO, etc.)

Both choices are good, but choice b) is better for you as a professional.

I would use EJB for the business tier, but you are free to use a framework such as Spring if you like.

But - roll your own, show that you know how it is done. Probably the best approach.

With best regards,

Anton.
 
Raghavendra Desoju
Ranch Hand
Posts: 95
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for your valuable insights !!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic