Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: Spring with Eclipse RCP anyone?

  1. #21
    Join Date
    Oct 2004
    Posts
    4

    Default Code

    I too am desperate to see some sample code about using Spring from within Eclipse.

    Something like a Eclipse treeview bound to an Spring model would be excellent

    Even some basic code would be fantastic - has anyone seen any web pages with this sort of code? Any Sourceforge projects?

    Cheers

  2. #22
    Join Date
    Sep 2004
    Location
    Oslo, Norway
    Posts
    3

    Default The code

    Sorry for the wait..

    I have now published what I have done on my webpage. You can find it at: http://folk.uio.no/olepaa/spring/

    Sorry to mjeaslea, I havn't got any code that binds it to a treeview yet, but I don't expect it to be to hard.

    Good luck.

  3. #23
    Join Date
    Oct 2004
    Posts
    4

    Default thanks for the code

    Thank for posting the code, i've just downloaded it and started having a look.

    What i'm wondering is the most approriate way to use the spring ApplicationContext object within my RCP product.

    E.g. is it the Content Provider class in Eclipse that wraps around a set of calls to Spring?

    Do you have any small samples that use the Alternative Classes you've provided?

    Cheers

  4. #24
    Join Date
    Aug 2004
    Posts
    7

    Default

    olepaa,

    The code could successfully load the config files, but all other resources required by the libraries failed to load...

    My RCP is using ibatis and Spring. From the console I saw Spring could not find the SQL error code XML inside its spring.jar; the same problem happened when iBatis finding the DTD from its jar too.

    Is there anyone successfully solved Eclipse's classloader problem with this AlternateClassPathXmlApplicationContext?

    And BTW, I didn't use the Spring plugins; instead I have them placed at my project's lib. Is it the trick that made iBatis and Spring could not find resources from their own jar? :? Could you give me some hints on this?

    TIA,
    Raymond

  5. #25
    Join Date
    Jan 2005
    Location
    Wellington, New Zealand
    Posts
    17

    Default

    I realise that this thread is old, but I thought I'd share a project I found for Eclipse RCP Spring integration: https://sourceforge.net/projects/eclipse-spring/

    I have yet to implement it - just found it an hour ago, but it looks promising. If anyone is using it, or has a found something else, I'd appreciate your comments.

    Cheers

Similar Threads

  1. ¿cómo configuro el Spring IDE Webflow con el eclipse 3.1?
    By iosev in forum SpringSource Tool Suite
    Replies: 9
    Last Post: Nov 28th, 2005, 08:10 AM
  2. eclipse 3.0.2 Spring IDE Problems
    By mkimber1 in forum SpringSource Tool Suite
    Replies: 5
    Last Post: Apr 21st, 2005, 11:01 AM
  3. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 PM
  4. Spring error with embedded Tomcat 5.0.27 in Eclipse 3.0
    By hqfz in forum SpringSource Tool Suite
    Replies: 0
    Last Post: Jan 13th, 2005, 09:35 AM
  5. Replies: 5
    Last Post: Sep 14th, 2004, 03:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •