Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » Using Eclipselink in a RIA; by passing session beans
Using Eclipselink in a RIA; by passing session beans [message #492672] Wed, 21 October 2009 06:27 Go to next message
Eclipse UserFriend
Does anyone know how to directly access EJB's from a client (Swing or RIA) by passing any session beans?

Tom
Re: Using Eclipselink in a RIA; by passing session beans [message #492777 is a reply to message #492672] Wed, 21 October 2009 13:03 Go to previous message
Eclipse UserFriend
You cannot use JPA / EntityManager directly from a client (unless you connect directly to the database, or use remote driver).

You can use RMI to access a SessionBean's Remote interface to invoke methods on the server. Those methods could serialize Entity objects, but they will be detached. You will need to merge them back on the server to update the database.

Previous Topic:Eclipselink with Apache Felix
Next Topic:JPQL queries with IN operator and sub queries may be converted to incorrect SQL?
Goto Forum:
  


Current Time: Wed Jul 16 19:27:44 EDT 2025

Powered by FUDForum. Page generated in 0.28482 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top