As [art of enterprise application development, it is very common and frequent to use the service like 118 n, validations, exception handling, conversions, tag libraries,
Def 1 - Frame work is a per –fabricated s/w components that developers can reuse , share and customize in order to simplify enterprise application development Def 2 - Frame work is semi implemented application , it will env. To design enterprise application in simplified manner Def 3 - Frame work is a collection of tools and API, which will simplify the enterprise application development. In enterprise application development, frame work will provide the following advantages
There are 2 types of frame works
Q) What is the diff. bet n web frame works and application frame works A) Web frame works will provide very good to design and executed only web appl n. Ex Struts, JSF, XULONK 2 and so on Application frame works will provide very good env to design and execute any type at JAVA/J2EE Application Ex Spring frame works Q) What are the difference bet n struct and JSF? A) 1) Both struts and JSF are based web application frame works, where struts is controller layered frame works but JSF is view layered frame works 2) Struts f/w is very good in the area at data validations Exception handling and layout mechanism, but JSF is not good in these areas. 3) Event handling is very good in JSF F/W but which is not available in struts f/w Note - To get even handling in struts based web application we have to use either java script are Ajax explicitly. 4) JSF Is able to have both client side user interface and server side user interface, but struts, is able to have only client side UI Note - JSF Is able to create a component tree w.r.to the user forms[view j at servers side to represent each and every GUI component available in the respective from. Here component tree is treated as server side user inter face 5) In struts f/w all the GUI Components are state but in JSF F/W all the GUI Components are stateful 6) Component tag library is no good in struts f/w but component tag library is very good in JSF frame works 7) Response Rendering mechanisms are very good in case at JSF. but which are not available in struts frame works 8) Data Conversions are not good in struts f/w, but which are very good in JSF F/W Note - In JSF F/W it is possible to perform customization over data conversions. Q) What are the differences bet n spring f/w and JSF f/w? A 1) Spring f/w is an application f/w, it will provide environment to design and execute any type at Java/j2 EE Applications but JSF f/w will provide exe. To design and execute only web applications. 2) In spring f/w only web module is following MVC design pattern, but, JSF frame works is following MVC design pattern completely. 3) Component tag library is not good n spring f/w but which is very good in JSF f/w 4) Spring f/w has provided inbuilt support to integrate explicit applications like JDBC, Hibernet, EJBs,….But JSF is not providing inbuilt support to integrate the specified explicit application JSF
Q) JSF, IS Technology or frame work? A: JSF 1.0, JSF1.1 version are f/w s, They are not the part of J2EE Technologies. * JSF 1.2 version on wards it was included in J2EE Technologies. *JSF 1.0 AND JSF1.1 are frame work but JSF 1.2 and JSF 2.x are Technologies Java EE5 JSF 1.2… Java EE6 JSF 2.x …
1.SUN RI(Reference implementation)(by sun) 2.My Faces (by Apache)
JSF Services
You liked the article?
Like: 0
Vote for difficulty
Current difficulty (Avg): Medium
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.