Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Is Spring Framework plugin available for WSAD

  1. #1

    Default Is Spring Framework plugin available for WSAD

    Hi,

    I'm looking for a Spring plugin I can use in my Websphere Studio Application Developer 5.1.2

    Is there a working example in WSAD that I can download?

    Thank you

  2. #2
    Join Date
    Aug 2004
    Location
    Frankfurt/Main, Germany
    Posts
    253

    Default

    Spring IDE should work with WSAD too. You only have to use a recent JRE (preferably v1.4.2) instead of IBM's JRE J9 (v1.3) which ships with WSAD.

    Regards,
    Torsten

  3. #3
    Join Date
    Aug 2004
    Location
    London, UK
    Posts
    339

    Default

    How do you get WSAD to actually run under a different JRE? It's simple to select a different JDK for building projects etc, but I thought the IDE itself was hard linked to the IBM JDK..?
    Darren Davison.
    Public Key: 0xE855B3EA

  4. #4

    Default

    To change to different JRE, go to window->preferences->Java->Installed JRE's

  5. #5
    Join Date
    Aug 2004
    Location
    London, UK
    Posts
    339

    Default

    Quote Originally Posted by theone
    To change to different JRE, go to window->preferences->Java->Installed JRE's
    In WSAD that doesn't affect the JRE used to actually run the IDE unless I'm missing something. Dumping config settings (after switching to Sun JDK 1.4 for example and restarting the IDE) shows that J9 is still being used.
    Darren Davison.
    Public Key: 0xE855B3EA

  6. #6
    Join Date
    Aug 2004
    Location
    Frankfurt/Main, Germany
    Posts
    253

    Default

    Quote Originally Posted by davison
    How do you get WSAD to actually run under a different JRE? It's simple to select a different JDK for building projects etc, but I thought the IDE itself was hard linked to the IBM JDK..?
    I don't know WSAD. But if it's similar to Eclipse then the launcher may support an option to specify a JRE. Eclipse's eclipse.exe provides the option "-vm" for this. For details please refer to Eclipse / WSAD online help "Workbench User Guide / Tasks / Running Eclipse").

    Regards,
    Torsten

  7. #7

    Default To get WSAD to run on a different JRE do the following:

    To get WSAD to run on a different JRE do the following (assuming Windows platform):

    1. Create a shortcut

    2. Put this in the target field (adjust path for your system):
    "C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\wsappdev.exe" -vm "C:\j2sdk1.4.2_04\jre\bin\java.exe" -vmargs -Xms90m -Xmx256m

    3. Put your workspace in the Start in field (adjust path for your system):
    "C:\Documents and Settings\2devnull\My Documents\IBM\wsappdev51\spring"

    4. Remove the line VMArgs=-Xj9 from wsappdev.ini (usually found in C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2) (THIS IS THE KEY, OR IT WOULDN'T WORK)

    5. Restart WSAD using the Shortcut

    BTW: Torsten Juergeleit had helped me with this. I have the Spring plugin working just fine.




    *** System properties:
    awt.toolkit=sun.awt.windows.WToolkit
    catalina.base=C:/Program Files/IBM/WebSphere Studio/Application Developer/v5.1.2/eclipse/plugins/org.eclipse.tomcat_4.0.6.2/
    catalina.home=C:/Program Files/IBM/WebSphere Studio/Application Developer/v5.1.2/eclipse/plugins/org.eclipse.tomcat_4.0.6.2/
    catalina.useNaming=true
    file.encoding=Cp1252
    file.encoding.pkg=sun.io
    file.separator=\
    java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironm ent
    java.awt.printerjob=sun.awt.windows.WPrinterJob
    java.class.path=C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\.\eclipse\startup.jar
    java.class.version=48.0
    java.endorsed.dirs=C:\j2sdk1.4.2_04\jre\lib\endors ed
    java.ext.dirs=C:\j2sdk1.4.2_04\jre\lib\ext
    java.home=C:\j2sdk1.4.2_04\jre
    java.io.tmpdir=C:\DOCUME~1\2devnull\LOCALS~1\Temp\
    java.library.path=C:\j2sdk1.4.2_04\jre\bin;
    java.naming.factory.initial=org.apache.naming.java .javaURLContextFactory
    java.naming.factory.url.pkgs=org.apache.naming
    java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version=1.4.2_04-b05
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.4
    java.util.prefs.PreferencesFactory=java.util.prefs .WindowsPreferencesFactory
    java.vendor=Sun Microsystems Inc.
    java.vendor.url=http://java.sun.com/
    java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
    java.version=1.4.2_04
    java.vm.info=mixed mode
    java.vm.name=Java HotSpot(TM) Client VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=Sun Microsystems Inc.
    java.vm.version=1.4.2_04-b05
    line.separator=

  8. #8

    Default

    2devnull,

    Can you help me get Spring working in my WSAD? Examples will be great too.

    Thanks in advance

  9. #9

    Default

    1. Open your Install/Update perspective.

    2. Right click on the 'Features Update' pane and select NEW-> Site Bookmark...

    3. In the Name: put 'Spring IDE'

    4. In the URL put 'http://springframework.sourceforge.net/spring-ide/eclipse/updatesite/'

    5. Leave the rest as defaults

    6. Click Finish

    7. Expand the bookmark (Spring Framework and Spring IDE) and install Spring Framework 1.0.2 and Spring IDE - Beans Configuration Support 1.0.3

    8. Close WSAD and restart using shortcut (the one created to use JRE 1.4 - see post above)

    9. In Web perspective, right click on your project folder and select Add Spring Beans Project Nature

    10. Now you can use it Windows->Show View->Other->Spring IDE->Spring Beans

  10. #10
    Join Date
    Aug 2004
    Location
    Frankfurt/Main, Germany
    Posts
    253

    Default

    Quote Originally Posted by 2devnull
    7. Expand the bookmark (Spring Framework and Spring IDE) and install Spring Framework 1.0.2 and Spring IDE - Beans Configuration Support 1.0.2
    A little typo: "Spring IDE - Beans Configuration Support 1.0.3"

    Regards,
    Torsten

Similar Threads

  1. Spring MVC Web Framework versus Struts
    By biguniverse in forum Web Flow
    Replies: 27
    Last Post: Aug 29th, 2012, 03:57 AM
  2. Replies: 5
    Last Post: Aug 9th, 2008, 05:30 AM
  3. spring as a plugin framework
    By ittay in forum Container
    Replies: 3
    Last Post: Jul 7th, 2005, 01:34 AM
  4. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 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
  •