Topic
  • 1 reply
  • Latest Post - ‏2012-05-09T21:45:52Z by ClementLloyd
Inamul
Inamul
1 Post

Pinned topic web application using jsf technology within eclipse

‏2012-05-05T10:52:58Z |
Hello,
I m just beginner of jsf technology in eclipse IDE, I immensely need to learn jsf technology ,because a whole job portal project (web application) has been given to me by a company, where I m employed now a days., I m too anxcious to learn same technology in advance pattern, so please help me out..I even downloaded helloworld jsf application, but it is my bad days , that this project is not going to be imported at all. I have many questions regarding jsf technology used for developing application in eclipse as follows:-
1.What jar files I need to configure.
2.What is the directory structure.
3.what are the steps for developing web application using
jsf.
4.how will I configure the mysql database, and even do i need to download extra driver jar files, to be configured, while i have wamp server.
Updated on 2012-05-09T21:45:52Z at 2012-05-09T21:45:52Z by ClementLloyd
  • ClementLloyd
    ClementLloyd
    2 Posts

    Re: web application using jsf technology within eclipse

    ‏2012-05-09T21:45:52Z  
    Hi Inamul,

    For Jsf implementation you need the latest versions of the following jars,

    a) jsf-api.jar
    b) jsf-impl.jar

    You can place them under the web-inf/lib folder of your application or place it in the lib folder of your server if all the apps you host on the server require jsf implementation.

    Please refer the below link for a quick walkthrough,

    http://www.myeclipseide.com/documentation/quickstarts/jsf/

    You can use JPA (Java persistence API) and configure your connection parameters in persistence.xml.

    For Adding JPA Support to your project: Right click your project,in properties, Select Project Facets and check Java Persistence.(Assuming you have Ganymede).

    Please refer the following link to know more about JPA,

    http://docs.oracle.com/javaee/5/tutorial/doc/bnbpz.html

    and this link to integrate it with an JSF application,

    http://wiki.eclipse.org/EclipseLink/Examples/JPA/JSF_Tutorial