Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » eclipse rcp + spring + eclipselink
eclipse rcp + spring + eclipselink [message #648963] Sun, 16 January 2011 19:31 Go to next message
Luiz E. is currently offline Luiz E.Friend
Messages: 100
Registered: September 2010
Senior Member
Hi all!
i'm on a new project, and is up to me to decide our system's architecture
i was thinking on eclipse rcp app with eclipselink to do our ORM and all our DAOs managed by spring 3.
will this works?
any thoughts?
Re: eclipse rcp + spring + eclipselink [message #649116 is a reply to message #648963] Mon, 17 January 2011 18:06 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------050902020908020108000809
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

That should work.

You might be interested in using EMF

http://www.eclipse.org/articles/Article-EMF-goes-RCP/rcp.htm l

Teneo provides integration for EMF models with EclipseLink

http://wiki.eclipse.org/Teneo


zorba@live.com wrote:
> Hi all!
> i'm on a new project, and is up to me to decide our system's
> architecture i was thinking on eclipse rcp app with eclipselink to do
> our ORM and all our DAOs managed by spring 3.
> will this works?
> any thoughts?

--------------050902020908020108000809
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
That should work.  <br>
<br>
You might be interested in using EMF<br>
<blockquote><a
href=" http://www.eclipse.org/articles/Article-EMF-goes-RCP/rcp.htm l"> http://www.eclipse.org/articles/Article-EMF-goes-RCP/rcp.htm l</a><br>
</blockquote>
Teneo provides integration for EMF models with EclipseLink<br>
<blockquote><a href="http://wiki.eclipse.org/Teneo">http://wiki.eclipse.org/Teneo</a><br>
</blockquote>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:zorba@live.com">zorba@live.com</a> wrote:
<blockquote cite="mid:igvgnv$l4h$1@news.eclipse.org" type="cite">Hi
all!
<br>
i'm on a new project, and is up to me to decide our system's
architecture i was thinking on eclipse rcp app with eclipselink to do
our ORM and all our DAOs managed by spring 3.
<br>
will this works?
<br>
any thoughts?
<br>
</blockquote>
</body>
</html>

--------------050902020908020108000809--


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: eclipse rcp + spring + eclipselink [message #649239 is a reply to message #649116] Tue, 18 January 2011 10:44 Go to previous messageGo to next message
Luiz E. is currently offline Luiz E.Friend
Messages: 100
Registered: September 2010
Senior Member
HEY!
thanks, i'll check it out Wink
Re: eclipse rcp + spring + eclipselink [message #649245 is a reply to message #649116] Tue, 18 January 2011 11:15 Go to previous messageGo to next message
Luiz E. is currently offline Luiz E.Friend
Messages: 100
Registered: September 2010
Senior Member
why when i'm starting my app, the spring throws this?

Caused by: org.xml.sax.SAXParseException; lineNumber: 9; columnNumber: 73; cvc-elt.1: Cannot find the declaration of element 'beans'.
Re: eclipse rcp + spring + eclipselink [message #649374 is a reply to message #648963] Wed, 19 January 2011 00:18 Go to previous messageGo to next message
Mark is currently offline MarkFriend
Messages: 61
Registered: July 2009
Member
On 1/16/2011 2:31 PM, zorba@live.com wrote:
> Hi all!
> i'm on a new project, and is up to me to decide our system's
> architecture i was thinking on eclipse rcp app with eclipselink to do
> our ORM and all our DAOs managed by spring 3.
> will this works?
> any thoughts?

Yes, this will work. This is how i do my RCP apps (replace EclipseLink
with Hibernate). However, i run my Hibernate on the server and
communicate with it via Spring remoting. (I use a
Domain/Service/Repository architecture) If you are going to do this, you
probably should use Spring DM.

Note: i had issues running Spring/Hibernate inside the RCP but that
could be a few reasons and might be Hibernate and not Spring. I can't
remember because it has been quite a while. Also, I broke all my
"layers" into multiple plugins.
Re: eclipse rcp + spring + eclipselink [message #649378 is a reply to message #649374] Wed, 19 January 2011 00:43 Go to previous message
Luiz E. is currently offline Luiz E.Friend
Messages: 100
Registered: September 2010
Senior Member
nice
but there's a problem. there is no server. we'll use only rcp. all methods are executed on client.
i had some issues too using hibernate (actually, hibernate doesn't support a modular ambient) and we opted for eclipselink.
but i doesn't know how to config. spring to read my DAOs (@Component annotations ) and to export they.
can you provide some code, just to clarify my head, and show me the versions apis you are using?
thanks a lot, i'm really desperate with this, our deadline is short! (i know, everyone got his troubles....)
Previous Topic:add combobox to toolbar and change drop-down list programmatically
Next Topic:Remove Web Browser View
Goto Forum:
  


Current Time: Tue Apr 16 08:29:02 GMT 2024

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

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

Back to the top