1st day in R & D

Omg..hearing stunning words..weird things to implement..

Never heard about JSF bla bla bla.. but need to implement ūüėČ

I am a fresh bee in java..to say frankly..not at all a java bee :P. Now i need to focus on java architecture of my company games and create a interface in JSF along with flash. This is my first task..can this be done??

Yes ofcourse. Lets pin this target and start off with architecture.. ¬†I am on it ūüôā

Anyways i will let you know what is JSF today guys ūüôā

Brief about JSF:

JSF is a¬†component based MVC framework¬†which is built on top of the Servlet API and providescomponents¬†in flavor of¬†taglibs¬†which can be used in JSP or any other Java based view technology such as¬†Facelets. Facelets is¬†much¬†more suited to JSF than JSP. It namely provides great¬†templating capabilities¬†such as¬†composite components, while JSP basically only offers the¬†<jsp:include>¬†for templating, so that you’re forced to create¬†custom components¬†with raw Java code (which is a bit opaque and a lot of tedious work in JSF) when you want to replace a repeated group of components by a single component. If you can, I recommend to drop JSP and go for Facelets when you want to develop with JSF.

As being a MVC (Model-View-Controller) framework, JSF provides the FacesServlet as the sole request-response Controller. It takes all the standard and tedious HTTP request/response work from your hands, such as gathering user input, validating/converting them, putting them in model objects, invoking actions and rendering the response. This way you end up with basically a JSP or Facelets (XHTML) page for View and a Javabean class as Model. The JSF components are been used to bind the view with the model (such as your ASP.NET web control does) and the FacesServlet uses the JSF component tree to do all the work.

 

Advertisements