Results 1 to 5 of 5

Thread: Spring rich client with an applet

  1. #1
    Join Date
    Apr 2005
    Posts
    14

    Default Spring rich client with an applet

    I am new to understanding Spring RCP so forgive me if this question is misguided. I am writing an applet and am interested in discovering how Spring RCP might make my life easier since the general Spring framework has certainly done this in the past. I've reviewed ApplicationLauncher and LifeCycleAdvisor and from what I can tell these work only with a JFrame? Since my outer container is JApplet then I guess they're of no help?

    What parts of Spring RCP can be or are intended to be useful with developing an applet? Anything that helps me manage the MVC pattern is what I am looking for.

  2. #2
    Join Date
    May 2005
    Posts
    394

    Default

    It's a good point that ApplicationLauncher only can work with JFrames, we should take a look at refactoring that, although I fear it's none of the developers priority at this moment. Implementation suggestions/patches are welcome on the dev list of course.

  3. #3

    Lightbulb JFrame...

    You can always embed your JFram inside an Applet. That way the user could choose to keep it embeded in the page or make it its own window. Why would you want an applet instead of an appl launched with web start?

  4. #4
    Join Date
    Aug 2005
    Location
    Austin, TX
    Posts
    425

    Default

    TO be honest, Spring Rich was not designed to assist in the creation of applets, although it probably can be applied to that space. It really depends on how much data management is going on within the applet and how sophisticated you want the user interaction to be. If your applet is really just a thin veneer (simple presentation like a JSP), then you should probably take a look at the other spring projects (especially webflow).

    If, however, your applet is really a "rich" application, you may find pieces of the platform useful. Off hand, I'd say that the form building, data binding and validation would all be very useful in a rich applet. I haven't worked with trying to setup a remote message source (message sources are used heavily in spring rich to allow I18N support), but I think that wouldn't be too hard to setup. Just keep in mind that you'll be shipping a LOT more jar fles over to the client in order to get these benefits and that may not be a good option. As was mentioned above, you might want to consider java web start.

    Larry.

  5. #5
    Join Date
    Jan 2007
    Posts
    6

    Default

    hello, I'm pretty new to JAVA RCP... You have written something like this:

    Quote Originally Posted by mlavwilson2 View Post
    You can always embed your JFram inside an Applet. That way the user could choose to keep it embeded in the page or make it its own window.
    my question: how to do this??

    best regards,

Posting Permissions

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