Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 10:27 Go to next message
Tom Eugelink is currently offline Tom EugelinkFriend
Messages: 817
Registered: July 2009
Senior Member
Does anyone know how to directly access EJB's from a client (Swing or RIA) by passing any session beans?

Re: Using Eclipselink in a RIA; by passing session beans [message #492777 is a reply to message #492672] Wed, 21 October 2009 17:03 Go to previous message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

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.

James : Wiki : Book : Blog : Twitter
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: Thu Apr 02 17:04:11 GMT 2020

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

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

Back to the top