File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes spring jpa jsf integration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "spring jpa jsf integration" Watch "spring jpa jsf integration" New topic
Author

spring jpa jsf integration

nisu pathak
Greenhorn

Joined: Nov 03, 2013
Posts: 29
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>

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

<hutputText id="txtNAME" value="Name:"/>
<h:inputText id="txtName" value="#{UserBeanManager.name}"/>
<hutputText 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
 
Consider Paul's rocket mass heater.
 
subject: spring jpa jsf integration