• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

spring jpa jsf integration

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello friends hope all you are fine.

i am confuse that for web application is it necessary to use maven ? if i am adding all jars that required to develop web application .that scenerio is not good? i didnt get why to use Maven? please help me and also help me for spring jsf jpa integration

i want to integrate spring jsf and jpa.

index.xhtml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">

<h:head>
<title> Spring jsf jpa integration </title>
</h:head>

<h:body>

<h:outputText id="id" value="ID : "/>
<h:message for="txtid"/>
<h:inputText id="txtID" value="#{UserBeanManager.id}"/>

<h:outputText id="txtNAME" value="Name:"/>
<h:inputText id="txtName" value="#{UserBeanManager.name}"/>
<h:outputText id="txtPASSWORD" value="password:"/>
<h:inputText id="txtName" value="#{UserBeanManage.password}"/>

<h:commandButton value="#{UserBeanManager.adduser}"></h:commandButton>
</h:body>



</html>



Model class :


Dao Layer




Dao implementation




//Service Layer


//Service Layer implementation
package org.integration.service;






Please help me

thanks
 
Get off me! Here, read this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic