remote « Load « JPA Q&A





1. Lazy/Eager loading strategies in remoting cases (JPA)    stackoverflow.com

I'm running into LazyLoading exceptions like the most people who try remoting with an ORM. In most cases switching to eager fetching solves the problem (Lazy Loading / Non atomic queries ...

2. Java Web Start application gives MARSHAL exception when data loaded from database via remote EJB    stackoverflow.com

I have a Java Web Start application calling remote Java EE 5 EJBs to load in data from a database. When the data is returned from the EJB to the client, ...

3. Remote Lazy Loading in Hibernate    stackoverflow.com

Normally web applications having access to hibernate session use lazy loading to fetch parent entity with multiple child entities. But in case of distributed application where the presentation layer doesn't have ...

4. Hibernate EJB3 + Remote Lazy Loading Best Practices    coderanch.com

Hi Ranchers, For several reasons as indicated here: http://www.hibernate.org/117.html#A36, lazy loading of remote objects is not possible with hibernate. After much research, i have seen solutions people have come up with to solve this, such as http://h3t.sourceforge.net/. I also notice other products such as TopLink offer their own strategy to handle this (e.g. using javaagent with toplink-essentials-agent.jar). I just wondered if ...

5. Hibernate load balancing and remote integration with EJB3?    forum.hibernate.org

Hi everybody, this is the first time I do a question and I ask this as I'm projecting my own architecture. What I've in mind is to do an integration between Stateful/Stateless EJB3 Session Beans + Hibernate, but considering scalability as an important issue. Thus, my thought is to concentrate the Hibernate ORM layer at some host and, considering a growing ...

6. An idea: Lazy load by remote client    forum.hibernate.org

In these days of Gigabit networks would it be silly to have a remote client ask the server to load lazy collections for it. Perhaps the proxy code have some code to recognise its been serialised onto a client and have call-back to a SFSB (or similar) that has the Hibernate session - which does the SQL and returns the details ...

7. Lazy loading on remote objects    forum.hibernate.org

We have a fat client application using hibernate as the persistence layer on the server. The client is talking to the server throught a facade SessionBeans. The objects are loaded by Hibernate on the server, detached from the session and sent to the client. I'm thinking that I could use lazy loading on the objects returned to the client if I ...

8. remote lazy loading    forum.hibernate.org

I tried to follow the example code in Wiki article 377 on remote lazy loading. I need some help in a couple of areas: 1. I assume that this is to solve the general problem that give an object X that has (for example) 1:n relationship with Y, then if X is retreived in a client application (swing based) using say, ...

9. Remote lazy loading    forum.hibernate.org

Hi, all: I am using Hibernate 3.3 and SQL Server 2005 DB. I have developed a web service that returns a User object by user ID. This User object contains a list of assigned RoleS, and this association is implemented by a join table. The web client (also written in Java) later uses this User object to retrieve Role information whenever ...





10. hibernate proxies on remote machine with network ClassLoader    forum.hibernate.org

Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version 3.4.0.GA: I am working on a swing / web application bridge for a swing client. As a communication layer I am using something I would call RMI over HTTP (serialized class data is transfered through HTTP). The swing client needs to be small because it will be invoked using ...