JPA « Web Service « Spring Q&A





1. What is the best way to use Ext JS as part of Java / Spring / Hibernate based web application?    stackoverflow.com

We want to try Ext JS on new project. Is there any well-known best practice for integrating Ext JS with server side Java (Spring/Hibernate/JS) application? Is DWR a good choice for ...

2. Database replication for redundancy using a free database and a Java with Spring & Hibernate web application    stackoverflow.com

I have this in mind: On each server: (they all are set up identically)

3. Have you found success with a Spring and Hibernate Web Application    stackoverflow.com

I am working on medium sized web application 4-5 tabs, user login for about 100k users. We are completing redesigning the application from scratch and using spring and hibernate, connected ...

4. caching spring/hibernate webapp    stackoverflow.com

I have a website that allows searches for lists of content in various ways, for instance "show stuff created by user 523 ordered by date" or "show a list of the ...

5. Java Web-Application deployment and initialization    stackoverflow.com

I'm developing a web-application for managing and sharing images and more general media-types at all. My technology stack is:

  • Java 6
  • Spring 2.5x
  • JPA 1.0
  • JCR 1.0 with Jackrabbit 1.6.x
  • ACID-able DB like Derby oder MySQL with ...

6. A typical lifecycle of a Hibernate object in a web app -?    stackoverflow.com

Describe please a typical lifecycle of a Hibernate object (that maps to a db table) in a web app. Suppose, you create a new instance of an object and persist in the ...

7. Hibernate overriding database modifications with detached object state    stackoverflow.com

I'm gonna go with this design: create an object and keep it alive during all web-app session. And I need to synchronize its state with database state. What I want to achieve is that ...

8. Problems using Hibernate and Spring in web application    stackoverflow.com

I'm having NullPointerException trying to getCurrentSession()

 java.lang.NullPointerException
 servlets.ControlServlet.doPost(ControlServlet.java:46)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
I use Tomcat 5.5 index.jsp page:
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; ...

9. Spring/hibernate web app - select only works first time    stackoverflow.com

I have a Spring/hibernate app. If I run it directly (i.e. call main() it works as I expect. When deployed in tomcat I get different results. Hopefully the hibernate output below is ...





10. Getting following Error using Spring, Hibernate, and BasicDataSource from Apache    stackoverflow.com

I'm using Spring managed Hibernate and using DataSource from Apache. The problem is when I refresh the page many times because of excessive query execution following error is coming.

ever ...

11. minimum requirements to run a java web application    stackoverflow.com

which are the minimum requirements to run a java web application with spring 2.5 and Hibernate 3? I mean, referred to Tomcat version, Mysql version, and JEE version. I use javaEE ...

12. How to use the LoadableDetachableModel in a Wicket, Spring, Hibernate based web application correctly?    stackoverflow.com

I'm developing a web application based on Hibernate, Spring and Wicket. Until now I implemented the business objects and the persistence layer. The transaction is managed by a transaction interceptor of ...

13. Uploading an image to the server or database?    stackoverflow.com

I am trying to implement the "profile page" for the user of the web application. I want the user to be able to upload the image for their profile. My question is that ...

14. Jetty Spring Web Services sqljdbc_auth.dll conflict    stackoverflow.com

We have created 2 web services from similar code bases that are using Spring and Hibernate and we are wanting to run them in a Jetty Server. Each Web server ...

15. how to save simple CRUD codes in a service, just like GenericDao/JpaRepository?    stackoverflow.com

Our web project uses spring3, Jpa (hibernate). To save CRUD and other commonly used methods, we made our repositories sub-classes of spring JpaRepository. Sometimes I just injected repositories to Controller, it is convenient ...

16. Speed up startup of Java enterprise web application    stackoverflow.com

The project I am currently working on involves Tomcat servlet container hosting an application build of:

  • Hibernate as an ORM framework
  • Spring as middle tier
  • XLST transformations for web tier
Is there any way to ...





17. sharing Hibernate across web applications    forum.springsource.org

sharing Hibernate across web applications Hi All, I have a requirment that single SQL server database need to access from 10 diffrent web applications. I have two option either create hibernate ...

18. Moving generic hibernate webapp to Spring managed app    forum.springsource.org

Moving generic hibernate webapp to Spring managed app Hi All, I am newbie here working on spring framework. I am trying to integrate spring in my web app. I am stuck ...

19. Webservices and Hibernate    forum.springsource.org

Webservices and Hibernate I am working on an application which only exposes Webservices and does not have any view layer.... I created by web services with Spring WS 2.0, annotated the ...

20. Hibernate Spring JSF and Web Services    forum.springsource.org

Hello, i must do an application which will use some differents technologies : Hibernate --> Spring --> Web Services --> JSF It's simple to cerate an application with a databse, hibernate ...

21. Spring - Hibernate - EHCache - Web App    forum.springsource.org

Spring - Hibernate - EHCache - Web App Hello All, I am trying to enable EHCahce for my spring-hibernate app running in a web applicaiton. I am using Spring 1.1.3 and ...

22. spring + hibernate + webservice    forum.springsource.org

spring + hibernate + webservice This one is directed to both axis and xfire-users: I have an Order-bean in which I have several properties which are marked lazy. The thing is ...

23. Hibernate does not work under web application    forum.springsource.org

Nov 24th, 2005, 08:13 PM #1 DanielQ View Profile View Forum Posts Private Message Junior Member Join Date Nov 2004 Posts 25 Hibernate does not work under web application Hi, I ...

24. Advice on using Hibernate with Spring in a non-trivial webapp    forum.springsource.org

Advice on using Hibernate with Spring in a non-trivial webapp I have recently joined a project where we are using Hibernate 3.1, with MySQL 4.1.16 (Connector/J 3.1.12) with the Spring Framework ...

25. Spring+Hibernate with multiple databases on a web application.    forum.springsource.org

Spring+Hibernate with multiple databases on a web application. Hi, I'm familiar with the standard wirring for spring+hibernate using LocalSessionFactoryBean and DriverManagerDataSource. I also wrap my DAO in a TransactionProxyFactoryBean. So far ...

26. Problem inserting into database with hibernate in combination to spring services    forum.springsource.org

Oct 24th, 2006, 07:47 AM #1 gfischer View Profile View Forum Posts Private Message Junior Member Join Date Oct 2006 Posts 2 Problem inserting into database with hibernate in combination to ...

27. Date Problem : Java + SQL + Hibernate + Webservices : Please help me    forum.springsource.org

Date Problem : Java + SQL + Hibernate + Webservices : Please help me Dear Sir, Its related to a Date problem issue. In our project, front end is building in ...

28. Which are the steps to create a simple web app that it's use spring and hibernate?    forum.springsource.org

Which are the steps to create a simple web app that it's use spring and hibernate? Which are the steps to create a simple web app that it's use spring and ...

29. Spring 2.0 with Hibernate Web application Deployment Issue    forum.springsource.org

Hi, I have Spring based web application that uses Spring 2.0 and Hibernate 3.x. It is very simple web application. JDK 1.5 and Jboss 4.0.4 This applications run ok on JBOSS. ...

30. Understanding the directory structure of WEBAPP(Spring + Hibernate)    forum.springsource.org

Understanding the directory structure of WEBAPP(Spring + Hibernate) Problem1) i have an XML file named file1.xml and i placed it in the WEB-INF/classes/hibernate directory. I have Controller Servlet named abc.java in ...

31. spring + hibernate + web application    forum.springsource.org

spring + hibernate + web application Hi all, I'm a newbie and trying to get my web app to talk to a jar (that uses spring and hibernate). Is this possible? ...

32. Hibernate Scanning Error in Spring DM Webapp    forum.springsource.org

Hibernate Scanning Error in Spring DM Webapp Hi, I'm having a problem with the Hibernate EntityManagerFactory unable to recognize OSGi resource path. Has anyone ever encountered this problem before? Any help ...

33. Using Spring to integrate JPA and Hibernate in web app    forum.springsource.org

Using Spring to integrate JPA and Hibernate in web app Hi, I have a Struts2 web application. I'm using Spring (for autowiring of dependency injection) to integrate JPA and Hibernate in ...

34. Spring JPA Web App not Persisting    forum.springsource.org

Spring JPA Web App not Persisting Created my own web app in an effort to teach myself Spring w/ JPA and for some reason my web app will not persist properly. ...

35. Intigrating alfresco content management with exhisting spring-hibernate web app    forum.springsource.org

Hi, I have a web application developed in spring - hibernate,aceige security,maven ,Jpa annotations ,my sql etc in eclipse IDE. I want to intigrate alfresco content management for this application. Please ...

36. Spring Web Services and Hibernate    forum.springsource.org

Spring Web Services and Hibernate Hi, I am working on a spring-ws application using the annotations Endpoint and PayloadRoot to define the endpoints. This is what my spring-ws configuration looks like: ...

37. web app + spring + hibernate with more then one schema (databases)    forum.springsource.org

web app + spring + hibernate with more then one schema (databases) I prototype a simple hobby web application where a user can create many companies but each company will have ...

38. Spring JPA & Web App    forum.springsource.org

Nov 13th, 2009, 02:46 AM #1 Coder View Profile View Forum Posts Private Message Junior Member Join Date Oct 2007 Posts 26 Spring JPA & Web App Hi all, I tried ...

39. JPA Acessing Restfull services    forum.springsource.org

JPA Acessing Restfull services I have an application that the entities are managed by JPA with Spring. The application was built with ROO(pretty cool). One Entity has and attribute class, that ...

40. WebServices-Hibernate-LazyInitializationException    forum.springsource.org

Hi, By a customer constraint says that we can't open transactions in the Services Layer. All TX are opened at BusinessObject Layers. So, when i set lazy='proxy' in a many-to-one column ...

41. Web Services in JPA Queries    forum.springsource.org

Hi, I am accessing the databases which are in different servers using web services where as now in jpa queries i am not able to access the tables in different server. ...

42. Spring, hibernate and j2ee web application. propagating an error    forum.springsource.org

Spring, hibernate and j2ee web application. propagating an error i am developing web application using spring, hibernate and J2EE. but i created login interface in index.jsp file and run the application. ...

43. multiple webapps sharing JPA/Eclipselink or Hibernate    forum.springsource.org

multiple webapps sharing JPA/Eclipselink or Hibernate Hi, I've been looking into this for a bit now and maybe someone can shed some light into it here... I have two webapps using ...