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